ApiFox MCP Server

基于MCP协议的获取ApiFox接口信息的服务

Local serverstdioTypeScript

What is the ApiFox MCP Server?

基于MCP协议的获取ApiFox接口信息的服务

What you get

这是一个基于 Model Context Protocol (MCP) 的 ApiFox 接口服务器,用于获取和管理 ApiFox 的接口信息。通过在 Cursor 中配置 MCP 服务,获取对应接口模块信息返回给大模型,让 Cursor 通过接口信息帮助你实现业务逻辑。

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the ApiFox MCP Server

{
  "mcpServers": {
    "apifox-mcp-server-wangmhaha": {
      "command": "npx",
      "args": ["-y", "@wangmhaha/apifox-mcp-server"],
      "env": {
        "APIFOX_API_KEY": "your-value",
        "PROJECT_ID": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
APIFOX_API_KEYCredential the server authenticates with.Yes
PROJECT_IDConfiguration value read at startup.Optional

Frequently asked questions

Provide your ApiFox API key through the `--apifox-api-key` command-line argument or the `APIFOX_API_KEY` environment variable.