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.

Get Started

Install Litestar MCP, add the plugin, and mark your first route as an MCP tool or resource in a few lines.

Getting Started
Usage Guides

Configure the plugin, mark routes, expose prompts, wire authentication, and deploy across replicas.

Usage Guide
Marking Routes

Expose handlers as tools, resources, and prompts with mcp_tool / mcp_resource / mcp_prompt kwargs or the dedicated decorators.

Marking Routes
API Reference

Browse the generated API reference for the plugin, configuration, handlers, and types.

API Reference
Contributing

Set up the development environment, run the quality gates, and add coverage for new features.

Contribution Guide