emcee
by mattt·★ 321·综合分 47
emcee 将 OpenAPI 规范转换为 MCP 服务器,使 Claude Desktop 和其他应用能够连接到 Web API。
概述
emcee 是一个基于 Go 的 MCP 服务器生成器,可将 OpenAPI 规范转换为功能完善的 MCP 服务器。它提供了一种标准化方法,使 AI 模型能够连接到任何公开 OpenAPI 规范的 Web 服务,无需为每个 API 构建自定义 MCP 实现。该工具支持多种认证方法,并允许在通过 MCP 将规范作为工具公开之前进行转换。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您需要快速将 Claude Desktop 连接到具有 OpenAPI 规范的现有 API,而无需编写自定义 MCP 服务器实现时,请选择 emcee。
什么时候不要选它
如果您需要暴露需要身份验证才能访问其规范的 API,或者需要尚未支持的高级功能(如资源、提示和采样),请不要选择 emcee。
此 server 暴露的工具
从 README 抽取出 1 个工具tafsReturns Terminal Aerodrome Forecasts for the specified airport station.
说明:Only one tool was explicitly documented in the README JSON-RPC example. The server dynamically generates tools from OpenAPI specifications, but specific tool names aren't listed beyond this example.
可对比工具
安装
使用 Homebrew 安装 emcee:
brew install mattt/tap/emcee配置 Claude Desktop:
{
"mcpServers": {
"my-api": {
"command": "emcee",
"args": ["https://api.example.com/openapi.json"]
}
}
}FAQ
- emcee 支持哪些认证方法?
- emcee 支持 Bearer 令牌、Basic 认证和原始授权标头,包括 1Password 密钥引用。
- emcee 能否处理需要认证的私有 OpenAPI 规范?
- 不能,emcee 从 URL 下载规范时不使用认证。请先下载私有规范到本地,然后提供文件路径。
emcee 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。