Stars0
Forks0
Open Issues0
协议stdio
Overview服务介绍
核心功能
构建 MCP 服务器的 Python 框架,主张用最少样板和装饰器把普通函数变成 MCP 工具。提供 FastMCP 类与 @mcp.tool() 装饰器来定义工具、资源与提示词,并用 fastmcp install 一键接入 Claude 等客户端。
适用场景
快速构建 MCP 服务器、Python 工具与资源定义、本地调试接入。
适用职业
系统集成工程师、平台开发者。
Setup安装与配置
【快速安装与运行】
```
fastmcp install demo.py
```
【Claude Desktop / Cursor 客户端配置】
在 Claude Desktop 配置文件(MacOS: `~/Library/Application Support/Claude/claude_desktop_config.json`,Windows: `%APPDATA%\Claude\claude_desktop_config.json`)的 `mcpServers` 字段下添加:
```json
{
"mcpServers": {
"fastmcp": {
"command": "fastmcp",
"args": [
"install",
"demo.py"
]
}
}
}
```
保存配置后重启客户端,即可在会话面板中检测到该 MCP 工具。
Client config客户端配置
把这段加到客户端配置文件的 mcpServers 字段下,保存后重启客户端即可识别。
{
"mcpServers": {
"fastmcp": {
"command": "fastmcp",
"args": [
"install",
"demo.py"
]
}
}
}
Repository仓库信息
| 服务 ID | 588 |
|---|---|
| 仓库全名 | wulixx/fastmcp |
| 数据来源 | Gitee |
| 所属分类 | 开发者工具与基础设施 / 通用适配器与集成工具 / 标准化协议扩展服务 |
| 通信协议 | stdio |
| 主要语言 | Python |
| 开源协议 | Apache License 2.0 |
| 榜单排名 | #188 (来源榜单内名次) |
| 全站热度排名 | #587 (按 Stars 实时计算,共 588 条) |
GrowthStar / Fork 增长
数据还在累积
首次记录于 ,要攒够两天的记录才画得出趋势。
Timeline时间线
仓库创建2025-04-10 00:00:002025-04-10
资料最后更新2025-08-01 00:00:002025-08-01
最近一次代码推送2025-08-01 00:00:002025-08-01