dani-mcp-sse-server
FastAPI-MCP is a tool for automatically exposing FastAPI endpoints as MCP (Model Context Protocol) tools without configuration.
dani-mcp-sse MCP server
FastAPI-MCP๋FastAPI ์๋ํฌ์ธํธ๋ฅผ MCP(Model Context Protocol) ๋๊ตฌ๋ก ์๋ ๋ ธ์ถํ๊ธฐ ์ํ ๊ตฌ์ฑ์ด ํ์ ์๋ ๋๊ตฌ์ ๋๋ค. FastAPI๋ฅผ MCP ์๋ฒ๋ก ์ฌ์ฉํ๋ ๋ฐฉ๋ฒ์ ์ค๋ช ํฉ๋๋ค.
FastAPI MCP ์๋ฒ ํ ์คํธ์ฉ ํ๋ก์ ํธ ๊ตฌ์กฐ๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.
.
โโ README.md
โโ pyproject.toml
โโ src
โโ dani_mcp_sse_server
โโ __init__.py
โโ server.py
1. ์ค์น
FastAPI๋ฅผ MCP Server๋ก ์ฌ์ฉํ๊ธฐ ์ํด์๋ ํด๋ผ์ด์ธํธ์์ mcp-proxy๋ฅผ ์ฌ์ฉํด์ผ ํฉ๋๋ค.
# fastapi-mcp ์ค์น
uv add fastapi-mcp
# mcp-proxy ์ค์น
# Option 1: With uv (recommended)
uv tool install mcp-proxy
2. cluade_desktop_config.json
claude_desktop_config.json์ ๋ค์์ ์ถ๊ฐํฉ๋๋ค.
{
"mcpServers": {
"my-api-mcp-proxy": {
"command": "mcp-proxy",
"args": ["http://127.0.0.1:8000/mcp"]
}
}
}
3. Server ์คํ
uvicorn์ ์ฌ์ฉํ์ฌ server๋ฅผ ๋ฐ๋ก ์คํํด์ผ ํฉ๋๋ค. pyproject.toml์ scripts๋ฅผ ๋ฑ๋กํฉ๋๋ค.
[project.scripts]
dani-mcp-sse-server = "dani_mcp_sse_server:main"
๋ค์์ ์คํํฉ๋๋ค.
uv run dani-mcp-sse-server
4. ์ฐธ๊ณ
Related MCP Servers
View all cloud_platforms servers โedgeone-pages-mcp
by TencentEdgeOne
An MCP service for deploying HTML content, folder, and zip file to EdgeOne Pages and obtaining a publicly accessible URL.
HubSpot
by PipedreamHQ
Pipedream MCP Server is a reference implementation that allows you to run your own MCP server for over 2,500 apps and APIs, powered by Pipedream Connect.
Nx MCP Server
by nrwl
A Model Context Protocol server implementation for Nx, providing LLMs with deep access to monorepo structures.
mcp-atlassian
by sooperset
Model Context Protocol (MCP) server for Atlassian products (Confluence and Jira). This integration supports both Confluence & Jira Cloud and Server/Data Center deployments.
mcp-grafana
by grafana
A Model Context Protocol (MCP) server for Grafana providing access to your Grafana instance and its ecosystem.
firecrawl-mcp-server
by mendableai
Firecrawl MCP Server is a Model Context Protocol server implementation that integrates with Firecrawl for web scraping capabilities.
Figma-Context-MCP
by GLips
Framelink Figma MCP Server allows AI-powered coding tools to access Figma design data, enhancing design implementation accuracy.