apifox-mcp
by iwen-conf·★ 33·Score 43
MCP server enabling AI assistants to manage Apifox API projects through natural language commands.
Overview
This MCP server connects AI assistants directly to Apifox API management projects. It provides comprehensive tooling for API endpoint and schema management, allowing creation, updates, audits, and deletions through natural language interactions. The server supports both uv and pip installation methods and integrates seamlessly with Claude Desktop via Docker or local execution.
Try asking AI
After installing, here are 6 things you can ask your AI assistant:
When to choose this
Choose this MCP server if you're already using Apifox for API management and want to integrate AI assistants into your workflow for documentation and API creation.
When NOT to choose this
Avoid this if you need API management functionality outside of Apifox, or if you're concerned about vendor lock-in to a specific API documentation platform.
Tools this server exposes
12 tools extracted from the READMElist_api_endpointsList all API endpoints in the Apifox project
get_api_endpoint_detailGet detailed information about a specific API endpoint
create_api_endpointCreate a new API endpoint in the project
update_api_endpointUpdate an existing API endpoint in the project
delete_api_endpointDelete an API endpoint from the project
check_api_responsesCheck API responses for completeness and correctness
list_schemasList all data schemas in the Apifox project
get_schema_detailGet detailed information about a specific schema
create_schemaCreate a new data schema in the project
update_schemaUpdate an existing data schema in the project
list_foldersList all folders in the Apifox project
create_folderCreate a new folder in the Apifox project
Comparable tools
Installation
Installation
- **Clone the repository**
``bash git clone <repository_url> cd <repository_name> ``
- **Create and activate virtual environment (optional but recommended)**
``bash uv venv # Activate virtual environment # Windows .venv\Scripts\activate # macOS/Linux source .venv/bin/activate ``
- **Install dependencies**
```bash # Using uv (recommended for local development) uv sync
# Using pip (traditional way) pip install mcp[cli] requests ```
- **Configure environment variables**
``bash export APIFOX_TOKEN="your_token_here" export APIFOX_PROJECT_ID="your_project_id_here" ``
- **Run the MCP server**
``bash uv run python -m apifox_mcp.main # or python -m apifox_mcp.main ``
- **Configure Claude Desktop**
Add to your claude_desktop_config.json: ``json { "mcpServers": { "apifox": { "command": "uv", "args": [ "run", "--directory", "/path/to/apifox-mcp", "python", "-m", "apifox_mcp.main" ], "env": { "APIFOX_TOKEN": "your_token_here", "APIFOX_PROJECT_ID": "your_project_id_here" } } } } ``
FAQ
- How do I get the APIFOX_TOKEN?
- You can obtain it from the Apifox client: Account Settings → API Access Token
- What are the system requirements?
- Python 3.10+ and an Apifox account with API access permissions
- Can I use this with AI assistants other than Claude?
- Yes, any MCP-compatible AI assistant should be able to connect to this server
Compare apifox-mcp with
Last updated · Auto-generated from public README + GitHub signals.