fastapi-mcp-inspect
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@fastapi-mcp-inspectshow all routes"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
fastapi-mcp-inspect
Mount an MCP server onto your FastAPI application to let AI agents inspect your routes, endpoints, and schemas at runtime.
Installation
uv add fastapi-mcp-inspect
# or using pip: pip install fastapi-mcp-inspectRelated MCP server: FastAPI-MCP
Quick Start
from fastapi import FastAPI
from fastapi_mcp_inspect import FastAPIInspect
app = FastAPI()
FastAPIInspect(app, mount_path="/mcp")Any LLM with MCP support can now connect to your app's /mcp endpoint and
inspect all registered routes.
MCP Tools
show_all_routes()
Lists every registered route with its HTTP methods, summary, description, and total count.
show_endpoint_details(method, endpoint)
Shows detailed information for a specific endpoint, including request/response schemas and any referenced Pydantic models.
search_routes(query, method=None, search_in_summary=False, tags=None)
Searches routes by path (case-insensitive) with optional filters:
method— filter by HTTP method (e.g. GET, POST).search_in_summary— when True, also matches against summaries and descriptions.tags— filter by tag names (OR logic — any match).
list_all_tags()
Lists every unique tag used across API routes with route counts.
get_schema_definition(schema_name)
Returns the full field-level definition of a Pydantic schema used by any endpoint. Lookup is case-insensitive.
Development
git clone https://github.com/inclinedadarsh/fastapi-mcp-inspect.git
cd fastapi-mcp-inspect
uv syncLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/inclinedadarsh/fastapi-mcp-inspect'
If you have feedback or need assistance with the MCP directory API, please join our Discord server