Back to skills
SKILL.md
Expose Fastapi Routes As Mcp Tools With Fastapi Mcp
ASecurityMount FastAPI-MCP on an existing FastAPI app so agents can call authenticated route-backed MCP tools with preserved schemas.
- 36 stars
- 0 votes
- 0 copies
- 0 views
- Added June 8, 2026
Works with
Security analysis
92/100- Installs packages at runtime which could introduce malicious dependencies
npx -y skills add agentskillexchange/skills --skill expose-fastapi-routes-as-mcp-tools-with-fastapi-mcp --agent claude-codeAre you the author of Expose Fastapi Routes As Mcp Tools With Fastapi Mcp?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/agentskillexchange-expose-fastapi-routes-as-mcp-tools-with-fastapi-mc)---
name: "Expose FastAPI routes as MCP tools with FastAPI-MCP"
slug: "expose-fastapi-routes-as-mcp-tools-with-fastapi-mcp"
description: "Mount FastAPI-MCP on an existing FastAPI app so agents can call authenticated route-backed MCP tools with preserved schemas."
github_stars: 11836
verification: "security_reviewed"
source: "https://github.com/tadata-org/fastapi_mcp"
author: "Tadata"
publisher_type: "organization"
category: "Integrations & Connectors"
framework: "MCP"
tool_ecosystem:
github_repo: "tadata-org/fastapi_mcp"
github_stars: 11836
---
# Expose FastAPI routes as MCP tools with FastAPI-MCP
Mount FastAPI-MCP on an existing FastAPI app so agents can call authenticated route-backed MCP tools with preserved schemas.
## Prerequisites
Python 3.10+, FastAPI application, fastapi-mcp package, MCP-capable client
## Installation
Use the upstream install or setup path that matches your environment:
- uv add fastapi-mcp
- Alternatively, you can install with pip:
- pip install fastapi-mcp
Requirements and caveats from upstream:
- [](https://pypi.org/project/fastapi-mcp/)
- We recommend using [uv](https://docs.astral.sh/uv/), a fast Python package installer:
- python
Basic usage or getting-started notes:
- <p align="center"><a href="https://github.com/tadata-org/fastapi_mcp"><img src="https://github.com/user-attachments/assets/b205adc6-28c0-4e3c-a68b-9c1a80eb7d0c" alt="fastapi-mcp-usage" height="400"/></a></p>
- bash
- ## Basic Usage
- Source: https://github.com/tadata-org/fastapi_mcp
- Extracted from upstream docs: https://raw.githubusercontent.com/tadata-org/fastapi_mcp/HEAD/README.md
## Documentation
- https://fastapi-mcp.tadata.com/
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/expose-fastapi-routes-as-mcp-tools-with-fastapi-mcp/)
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.