Enables seamless integration of Apifox API documentation with AI assistants supporting Model Context Protocol by extracting project and API IDs to fetch detailed OpenAPI specifications for enhanced API understanding and development efficiency.
Unlock the full potential of Apifox MCP through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.
Free tier available • No credit card required
一个用于将 Apifox API 文档与 AI 助手集成的 Model Context Protocol (MCP) 服务器。
本项目为 Apifox(一个 API 开发和测试平台)和支持 Model Context Protocol 的 AI 助手之间提供了桥梁。它允许 AI 助手从 Apifox API 文档中提取信息,使开发过程中理解和使用 API 变得更加容易。
# 全局安装 npm install -g mcp-apifox # 或使用 pnpm pnpm add -g mcp-apifox
{ "mcpServers": { "apifox": { "command": "npx", "args": [ "-y", "mcp-apifox@latest" ], "env": { "APIFOX_ACCESS_TOKEN": "" } } } }
{ "mcpServers": { "apifox": { "command": "npx", "args": [ "-y", "mcp-apifox@latest", "--token=xxxx" ] } } }
通过下面这种协作链接就可以获取接口信息,需要维护者权限
https://app.apifox.com/link/project/${projectId}/apis/api-${apiId}
从 Apifox URL 中提取项目 ID 和 API ID。
输入:
text
:包含 Apifox URL 或路径的字符串输出:
projectId
和 apiId
的 JSON 对象从 Apifox 获取详细的 API 信息。
输入:
projectId
:Apifox 项目 IDapiId
:Apifox API ID输出:
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!