Litestar MCP
Litestar MCP integrates Litestar web applications with the Model Context Protocol: mark routes with simple kwargs to expose them as MCP tools, resources, and prompts that AI models can discover and call over MCP Streamable HTTP and JSON-RPC — with automatic OpenAPI exposure and optional bearer-token authentication.
Install Litestar MCP, add the plugin, and mark your first route as an MCP tool or resource in a few lines.
Configure the plugin, mark routes, expose prompts, wire authentication, and deploy across replicas.
Expose handlers as tools, resources, and prompts with mcp_tool /
mcp_resource / mcp_prompt kwargs or the dedicated decorators.
Browse the generated API reference for the plugin, configuration, handlers, and types.
Set up the development environment, run the quality gates, and add coverage for new features.