aiagent.club
English
PyPI 包

fastapi-mcp

更新于 2026-09-12 查看源 ↗

在全部 PyPI 包 中按月下载量排名第 28(共 54)

4.0M 月下载量

Automatic MCP server generator for FastAPI applications - converts FastAPI endpoints to MCP tools for LLM integration

项目介绍

Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!

If you prefer a managed hosted solution check out tadata.com.

We recommend using uv, a fast Python package installer:

The simplest way to use FastAPI-MCP is to add an MCP server directly to your FastAPI application:

That's it! Your auto-generated MCP server is now available at

FastAPI-MCP provides comprehensive documentation. Additionaly, check out the examples directory for code samples demonstrating these features in action.

FastAPI-MCP is designed as a native extension of FastAPI, not just a converter that generates MCP tools from your API. This approach offers several key advantages:

This design…

摘自 pypi.org/project/fastapi-mcp/

最新指标

月下载量 4.0M 2026-09-12
周下载量 782.6k 2026-09-12
日下载量 240.6k 2026-09-12