MCP.so
登录

MCP Server Development Framework

@mlzoo

基本信息

分类

开发工具

许可证

MIT

传输方式

stdio

作者

mlzoo

关于 MCP Server Development Framework

这是一个专为开发企业级MCP server而设计的通用开发框架

MCP Server Development Framework 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

MCP Server Development Framework 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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

常见问题

1

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.

2

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.

3

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`.

4

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 服务器