litestar-mcp
OfficialBuild MCP integrations for Litestar routes.
Software Engineering#mcp#model context protocol#litestar#ai agent integration#streamable http#route marking#mcp auth
Authorlitestar-org
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Litestar developers face manual, error-prone work when building Model Context Protocol (MCP) integrations for their web applications, requiring custom boilerplate for route exposure, transport handling, and authentication that duplicates existing Litestar functionality.
Core Features & Use Cases
- Opt-in Route Marking: Expose Litestar route handlers as MCP tools, resources, or prompts with simple decorator arguments, no extra wrapper code required.
- Multi-Transport Support: Serve MCP primitives over Streamable HTTP, stdio, or SSE transports for compatibility with all major AI coding agents and IDEs.
- Production-Ready Guardrails: Built-in pagination, OIDC auth support, tool call observability callbacks, and route filtering to secure and scale MCP deployments. Use case example: An e-commerce team can expose product listing as an MCP resource and add-to-cart as a tool, allowing AI shopping assistants to interact with their store while keeping internal metrics routes hidden from MCP clients.
Quick Start
Use the litestar-mcp skill to configure your existing Litestar application to expose selected route handlers as MCP tools and resources for AI client access.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: litestar-mcp Download link: https://github.com/litestar-org/litestar-skills/archive/main.zip#litestar-mcp Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.