{"id":"d4bd96db-afc9-4f1a-a64c-f8d776563c22","shortId":"EGCRnE","kind":"skill","title":"Expose FastAPI routes as MCP tools with FastAPI-MCP","tagline":"Mount FastAPI-MCP on an existing FastAPI app so agents can call authenticated route-backed MCP tools with preserved schemas.","description":"# Expose FastAPI routes as MCP tools with FastAPI-MCP\n\nMount FastAPI-MCP on an existing FastAPI app so agents can call authenticated route-backed MCP tools with preserved schemas.\n\n## Prerequisites\n\nPython 3.10+, FastAPI application, fastapi-mcp package, MCP-capable client\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- uv add fastapi-mcp\n- Alternatively, you can install with pip:\n- pip install fastapi-mcp\n\nRequirements and caveats from upstream:\n- [![Python Versions](https://img.shields.io/pypi/pyversions/fastapi-mcp.svg)](https://pypi.org/project/fastapi-mcp/)\n- We recommend using [uv](https://docs.astral.sh/uv/), a fast Python package installer:\n- python\n\nBasic usage or getting-started notes:\n- <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>\n- bash\n- ## Basic Usage\n\n- Source: https://github.com/tadata-org/fastapi_mcp\n- Extracted from upstream docs: https://raw.githubusercontent.com/tadata-org/fastapi_mcp/HEAD/README.md\n\n## Documentation\n\n- https://fastapi-mcp.tadata.com/\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/expose-fastapi-routes-as-mcp-tools-with-fastapi-mcp/)","tags":["expose","fastapi","routes","mcp","tools","with","skills","agentskillexchange","agent-skills","ai-agents","ai-tools","awesome-list"],"capabilities":["skill","source-agentskillexchange","skill-expose-fastapi-routes-as-mcp-tools-with-fastapi-mcp","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/expose-fastapi-routes-as-mcp-tools-with-fastapi-mcp","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,319 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:10:23.867Z","embedding":null,"createdAt":"2026-05-18T13:16:28.031Z","updatedAt":"2026-05-18T19:10:23.867Z","lastSeenAt":"2026-05-18T19:10:23.867Z","tsv":"'/pypi/pyversions/fastapi-mcp.svg)](https://pypi.org/project/fastapi-mcp/)':115 '/skills/expose-fastapi-routes-as-mcp-tools-with-fastapi-mcp/)':158 '/tadata-org/fastapi_mcp':142 '/tadata-org/fastapi_mcp/head/readme.md':149 '/uv/),':122 '3.10':67 'add':91 'agent':21,53,153 'agentskillexchange.com':157 'agentskillexchange.com/skills/expose-fastapi-routes-as-mcp-tools-with-fastapi-mcp/)':156 'altern':95 'app':19,51 'applic':69 'authent':24,56 'back':27,59 'bash':136 'basic':129,137 'call':23,55 'capabl':76 'caveat':108 'client':77 'doc':146 'docs.astral.sh':121 'docs.astral.sh/uv/),':120 'document':150 'environ':89 'exchang':155 'exist':17,49 'expos':1,33 'extract':143 'fast':124 'fastapi':2,9,13,18,34,41,45,50,68,71,93,104 'fastapi-mcp':8,12,40,44,70,92,103 'fastapi-mcp.tadata.com':151 'get':133 'getting-start':132 'github.com':141 'github.com/tadata-org/fastapi_mcp':140 'img.shields.io':114 'img.shields.io/pypi/pyversions/fastapi-mcp.svg)](https://pypi.org/project/fastapi-mcp/)':113 'instal':78,82,98,102,127 'match':87 'mcp':5,10,14,28,37,42,46,60,72,75,94,105 'mcp-capabl':74 'mount':11,43 'note':135 'packag':73,126 'path':85 'pip':100,101 'prerequisit':65 'preserv':31,63 'python':66,111,125,128 'raw.githubusercontent.com':148 'raw.githubusercontent.com/tadata-org/fastapi_mcp/head/readme.md':147 'recommend':117 'requir':106 'rout':3,26,35,58 'route-back':25,57 'schema':32,64 'setup':84 'skill':154 'skill-expose-fastapi-routes-as-mcp-tools-with-fastapi-mcp' 'sourc':139,152 'source-agentskillexchange' 'start':134 'tool':6,29,38,61 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'upstream':81,110,145 'usag':130,138 'use':79,118 'uv':90,119 'version':112","prices":[{"id":"af712e2f-cf6c-48b5-ab3b-6a791c0a9cbe","listingId":"d4bd96db-afc9-4f1a-a64c-f8d776563c22","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:16:28.031Z"}],"sources":[{"listingId":"d4bd96db-afc9-4f1a-a64c-f8d776563c22","source":"github","sourceId":"agentskillexchange/skills/expose-fastapi-routes-as-mcp-tools-with-fastapi-mcp","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/expose-fastapi-routes-as-mcp-tools-with-fastapi-mcp","isPrimary":false,"firstSeenAt":"2026-05-18T13:16:28.031Z","lastSeenAt":"2026-05-18T19:10:23.867Z"}],"details":{"listingId":"d4bd96db-afc9-4f1a-a64c-f8d776563c22","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"expose-fastapi-routes-as-mcp-tools-with-fastapi-mcp","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"d097b668e7c42fb83f16df83e8ba72b0541c5c2e","skill_md_path":"skills/expose-fastapi-routes-as-mcp-tools-with-fastapi-mcp/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/expose-fastapi-routes-as-mcp-tools-with-fastapi-mcp"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"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."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/expose-fastapi-routes-as-mcp-tools-with-fastapi-mcp"},"updatedAt":"2026-05-18T19:10:23.867Z"}}