- Home
- MCP servers
- Apifox MCP Pro Server
Apifox MCP Pro Server
- javascript
2
GitHub Stars
javascript
Language
4 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"guocong-bincai-apifox_mcp_pro": {
"command": "npx",
"args": [
"apifox-mcp-pro"
],
"env": {
"LOG_LEVEL": "info",
"APIFOX_BASE_URL": "https://api.apifox.com",
"APIFOX_ACCESS_TOKEN": "YOUR_APIFOX_ACCESS_TOKEN"
}
}
}
}Apifox MCP Pro is an enhanced MCP service that provides basic diagnostic and information tools to help you understand Apifox API limits and project access from Claude Desktop and Cursor. It focuses on safe, practical checks and guidance when working with Apifox, especially given the Open API constraints.
How to use
You will interact with the MCP server through a command line interface or your MCP-enabled client. Start the MCP server with the CLI, configure it for Cursor or Claude Desktop, and then run the available diagnostic tools to verify your access, token validity, and project information. Use the provided tools to understand what is supported by Apifox Open API and to verify your setup before attempting any API operations.
How to install
Prerequisites you need before installing:
- Node.js and npm installed on your system
- Access token from Apifox with API access permissions
- A command line environment (Terminal on macOS/Linux, PowerShell or CMD on Windows)
# Option A: Install globally (recommended)
npm install -g apifox-mcp-pro
# Option B: Local development (if you prefer to run from source)
# Ensure dependencies are installed after cloning the repo
# npm install
Additional setup and configuration
Set your Apifox access token and required environment variables. Store tokens securely and avoid hard-coding them in your code.
# Set the access token in your environment
export APIFOX_ACCESS_TOKEN="your_apifox_access_token_here"
# Optional base URL for the API (default is the Apifox API)
export APIFOX_BASE_URL="https://api.apifox.com"
# You can also set log level
export LOG_LEVEL=info
Cursor and Claude Desktop configuration
Configure the MCP server for Cursor or Claude Desktop using JSON configuration snippets. These blocks show how to register the MCP server within your clients.
{
"mcpServers": {
"apifox-mcp-pro": {
"command": "apifox-mcp-pro",
"args": [],
"env": {
"APIFOX_ACCESS_TOKEN": "your_apifox_access_token_here"
}
}
}
}
Available tools and how to run them
You can run the following diagnostic and information tools to understand the capabilities and limitations of your Apifox setup.
// Example usage in Claude or Cursor prompts
apifox_project_info()
apifox_check_access()
apifox_api_info()
apifox_check_project_access()
Available tools
apifox_project_info
Get MCP functionality overview and limitations
apifox_check_access
Check token validity and access permissions
apifox_api_info
Get API management limitations explanation
apifox_check_project_access
Check specific project access
apifox_folder_info
Folder management limitations
apifox_environment_info
Environment management limitations
apifox_schema_info
Data model management limitations
apifox_test_info
Test case management limitations
apifox_import_export_info
Import/export functionality information