What is FastMCP?
FastMCP is a simplified API from the MCP Python SDK that allows creating an MCP server with minimal boilerplate, using decorators to define tools.
@0shimax
基本信息
暂无概览
工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
Python Mcp Server Sample is a minimal example MCP server built using the FastMCP class from the MCP Python SDK. It demonstrates how to create a simple tool (adding two integers) and run the server over the stdio transport. The project is intended for developers learning to build and register MCP servers with clients like Cline.
Install uv, then create a new Python project with uv init mcp-server-demo, install the MCP CLI SDK (uv add "mcp[cli]"), and write the provided server code in server.py. To run, use the command uv run server.py from the project directory, or register the server in Cline’s MCP configuration by specifying the uv command with the --directory and run arguments.
add tool that sums two integers.FastMCP is a simplified API from the MCP Python SDK that allows creating an MCP server with minimal boilerplate, using decorators to define tools.
Use `uv add "mcp[cli]"` after initializing the project with `uv init`. The `[cli]` extra includes the MCP command‑line interface.
The server runs in stdio transport mode by calling `mcp.run(transport="stdio")`.
Edit the Cline project’s MCP JSON file (e.g., `.vscode/mcp.json`) and add an entry under `mcpServers` with the command `uv` and arguments pointing to the project directory and `server.py`.
It provides one tool named `add` that takes two integers `a` and `b` and returns their sum.
A curated list of references for MLOps
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Painless E2E Automation for Mobile and Web
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

Model Context Protocol Servers
评论