MCP Server Development Framework
@mlzoo
关于 MCP Server Development Framework
这是一个专为开发企业级MCP server而设计的通用开发框架
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Server Development Framework?
A professional framework for enterprise-level Model Context Protocol (MCP) tool development, integrating FastAPI and FastAPI-MCP to automate converting traditional APIs into AI-callable MCP tools.
How to use MCP Server Development Framework?
Use uv as package manager; run make install to set up the environment and make dev to start the example service. Connect to the MCP endpoint at http://localhost:5000/mcp with an MCP client.
Key features of MCP Server Development Framework
- Automatically converts FastAPI endpoints into MCP tools
- Supports interface-implementation separation for testing and environment switching
- Leverages FastAPI’s dependency injection for flexible component decoupling
- Provides complete development pipeline from development to deployment
- Includes example-driven documentation and multi-level testing support
Use cases of MCP Server Development Framework
- Teams building AI tools that need to expose existing APIs as MCP endpoints
- Developers transforming FastAPI-based APIs into standardized AI-callable tools
- Organizations adopting a standardized, interface‑based microservice architecture
FAQ from MCP Server Development Framework
What runtime does it require?
Python 3.10 or later, with FastAPI and FastAPI-MCP as core dependencies. The framework uses uv for package management.
How does dependency injection work in this framework?
FastAPI’s Depends function injects service implementations into API endpoints. It supports function, class, and nested dependencies, enabling environment-based switching between mock and real implementations.
Can I use existing FastAPI endpoints without modification?
Yes. FastAPI-MCP automatically exposes any FastAPI endpoint as an MCP tool. You only need to mount the MCP service via mcp.mount(mount_path="/mcp") and optionally set an explicit operation_id.
Where can I find example code and best practices?
The README provides a full service interface example, dependency injection configurations, and recommended MCP tool naming conventions (e.g., predict_sentiment, find_nearby_parking).
开发工具 分类下的更多 MCP 服务器
MCP Unity Editor (Game Engine)
CoderGamesterModel Context Protocol (MCP) plugin to connect with Unity Editor — designed for Cursor, Claude Code, Codex, Windsurf and other IDEs
FastAPI-MCP
tadata-orgExpose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
mcp-excalidraw
yctimlinMCP server and Claude Code skill for Excalidraw — programmatic canvas toolkit to create, edit, and export diagrams via AI agents with real-time canvas sync.
MCP Containers
metorialConnect any AI model to 1200+ integrations (MCP, CLI, API)
nuxt-mcp / vite-plugin-mcp
antfuMCP server helping models to understand your Vite/Nuxt app better.
评论