Fastapi Inspect
БесплатноНе проверенMounts an MCP server onto FastAPI to let AI agents inspect routes, endpoints, and schemas at runtime.
Описание
Mounts an MCP server onto FastAPI to let AI agents inspect routes, endpoints, and schemas at runtime.
README
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-inspect
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 sync
License
MIT
Установить Fastapi Inspect в Claude Desktop, Claude Code, Cursor
unyly install fastapi-mcp-inspectСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add fastapi-mcp-inspect -- uvx fastapi-mcp-inspectFAQ
Fastapi Inspect MCP бесплатный?
Да, Fastapi Inspect MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Fastapi Inspect?
Нет, Fastapi Inspect работает без API-ключей и переменных окружения.
Fastapi Inspect — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Fastapi Inspect в Claude Desktop, Claude Code или Cursor?
Открой Fastapi Inspect на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Fastapi Inspect with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
