词元之母TOK.MOM - 平台充值汇率 1:1 即 1 人民币充值到账 1 美元,支持一个 Key 调用近 600+ 海内外模型,限时特价模型低至 1 折,欢迎上岸!
| 来源 | 可选 — 通过 hermes skills install official/mcp/fastmcp 安装 |
| 路径 | optional-skills/mcp/fastmcp |
| 版本 | 1.0.0 |
| 作者 | Hermes Agent |
| 许可证 | MIT |
| 平台 | linux, macos, windows |
| 标签 | MCP, FastMCP, Python, Tools, Resources, Prompts, Deployment |
| 相关 skill | native-mcp, mcporter |
native-mcp。若目标是对现有 MCP 服务器进行临时 CLI 访问而非构建新服务器,请使用 mcporter。httpx 尚未安装,请先安装:templates/api_wrapper.py - 支持 auth header 的 REST API 封装templates/database_server.py - 只读 SQLite 查询服务器templates/file_processor.py - 文本文件检查与搜索服务器scripts/scaffold_fastmcp.py - 复制入门模板并替换服务器名称占位符references/fastmcp-cli.md - FastMCP CLI 工作流、安装目标及部署检查__SERVER_NAME__ 替换为实际服务器名称。@mcp.tool 函数。get_customersearch_ticketsdescribe_tablesummarize_text_filerunprocessdo_thing@mcp.resource。@mcp.prompt。fastmcp call。fastmcp discover 检查机器上已配置的命名 MCP 服务器。native-mcp skill,在 ~/.hermes/config.yaml 中配置服务器,或requirements.txt 或 pyproject.tomltemplates/api_wrapper.py 开始。list_tablesdescribe_tableSELECT SQLtemplates/database_server.py 开始。templates/file_processor.py 开始。fastmcp inspect <file.py:mcp> 成功fastmcp list <server spec> --json 成功fastmcp callfastmcp inspect 失败<file.py:object> 中命名正确native-mcp skill 并在 ~/.hermes/config.yaml 中配置服务器,然后重启 Hermes。references/fastmcp-cli.md。