Feedback

Apifox MCP Server — by juzisuan965

@juzisuan965 Claim

Basic information

Runtime
JavaScript
Version
1.0.0
Category
License
MIT
Transports
stdio
Author
juzisuan965
Submitted by
Community
Quality
10
Stars
4

About Apifox MCP Server

Apifox offers powerful API testing like Postman with customizable HTTP requests, making it easy to validate endpoints and streamline workflows.

Apifox is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by juzisuan965. It exposes 1 tool, including get_api_endpoint_info. Supported transport: stdio. Runtime: JavaScript. License: MIT. The repository has 4 GitHub stars. Source code is hosted on github.com. Related topics: api-server, apifox, community, developer-tools, mcp.

Setup

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

Apifox MCP Server — by juzisuan965 config

Add this server to your MCP-compatible client using the configuration below.

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

Apifox MCP Server — by juzisuan965 tools

  • get_api_endpoint_info — 获取apifox的接口定义信息,数据符合OpenAPI 3.1规范。遇到例如:https://app.apifox.com/link/project/{projectId}/apis/api-{endpointId}的链接,请解析出projectId和endpointId,并调用本工具获取接口定义信息。
    projectId:number*, endpointId:number*

Overview

What is Apifox?

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?

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

  • 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

  • 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

Frequently asked questions

1 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.

2 What tool does the server expose?

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

3 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.

4 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.

5 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.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬