MCP.so
登录

apifox-mcp MCP 服务器

@Juzisuan965

关于 apifox-mcp MCP 服务器

apifox mcp server

基本信息

分类

其他

许可证

MIT license

运行时

node

传输方式

stdio

发布者

Juzisuan965

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "Apifox-MCP": {
      "command": "npx",
      "args": [
        "@juzi965/apifox-mcp-server"
      ],
      "env": {
        "APIFOX_AUTH": "..."
      }
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is apifox-mcp?

apifox-mcp is a TypeScript implementation of the Model Context Protocol (MCP) that runs over stdio and provides access to Apifox API data. It allows AI assistants to fetch detailed API endpoint definitions directly from the Apifox platform.

How to use apifox-mcp?

Install the npm package (@juzi965/apifox-mcp-server) and configure it as an MCP server in your environment (e.g., Cursor). Set the required APIFOX_AUTH environment variable with your Apifox authentication token. The server exposes a single tool, get_api_endpoint_info, which accepts projectId and endpointId as parameters.

Key features of apifox-mcp

  • Exposes one tool: get_api_endpoint_info
  • Retrieves full API endpoint definitions from Apifox
  • Returns request headers, method, request/response parameters, and response headers
  • Communicates via stdio (standard input/output)
  • Requires only an Apifox authentication token for setup

Use cases of apifox-mcp

  • AI assistant queries an API’s endpoint details to generate client code
  • Developer asks for the request/response structure of an Apifox-managed API
  • Automating documentation updates by fetching API definitions on demand

FAQ from apifox-mcp

What does the server do?

It provides a Model Context Protocol server that retrieves detailed information about API endpoints stored in Apifox, including request parameters, headers, and response structure.

What tool does the server expose?

The server exposes one tool called get_api_endpoint_info, which requires projectId and endpointId as mandatory parameters.

How do I set up authentication?

Set the APIFOX_AUTH environment variable with your Apifox authentication token. This token is required for the server to access Apifox API data.

How can I debug the server?

Because the MCP server communicates over stdio, debugging can be tricky. The README recommends using the MCP Inspector via npm run inspector, which provides a browser-based debugging interface.

What are the runtime requirements?

The server is a Node.js TypeScript project. You need Node.js installed, and you run it with npx or after building the project locally with npm run build. No other third-party dependencies beyond the MCP protocol libraries are mentioned.

评论

其他 分类下的更多 MCP 服务器