apifox-mcp-xxx
v1.0.1
Published
Enhanced MCP Server for Apifox API documentation — supports endpoint lookup by method+path
Downloads
21
Maintainers
Readme
apifox-mcp-xxx
Enhanced MCP Server for Apifox API documentation — supports endpoint lookup by HTTP method + path.
Usage
Add to your MCP client configuration (e.g. Claude Desktop, Cursor, etc.):
{
"mcpServers": {
"apifox": {
"command": "npx",
"args": ["-y", "apifox-mcp-xxx@latest", "--project-id=<project-id>"],
"env": {
"APIFOX_ACCESS_TOKEN": "<access-token>"
}
}
}
}Replace <project-id> with your Apifox project ID and <access-token> with your Apifox Access Token.
Available Tools
| Tool | Description |
| ----------------------------- | ------------------------------------------------------- |
| list_api_endpoints | List all API endpoints (method, path, summary, tags) |
| get_endpoint_by_method_path | Get endpoint detail by HTTP method + path (recommended) |
| get_api_endpoint_detail | Get endpoint detail by Apifox endpoint ID |
| get_api_by_tags | Get endpoints filtered by tags |
| get_api_by_folder | Get endpoints filtered by folder IDs |
| export_all_api_docs | Export the complete OpenAPI specification |
Environment Variables
| Variable | Required | Description |
| --------------------- | -------- | --------------------------------- |
| APIFOX_ACCESS_TOKEN | Yes | Your Apifox personal access token |
CLI Arguments
| Argument | Description |
| ------------------- | ------------------------------------------------------------ |
| --project-id=<id> | Default Apifox project ID (can also be passed per-tool call) |
License
MIT
