What is ApiFox MCP Server: Secure API Access & Dev Reliability Boost?
ApiFox MCP Server is a dedicated interface management tool built on the Model Context Protocol (MCP). It acts as a bridge between your development environment and ApiFox, enabling secure access to API definitions while boosting developer productivity through reliable workflows. Whether you’re working on a small project or scaling a team, this server ensures your API data stays protected and always up-to-date.
How to Use ApiFox MCP Server: Secure API Access & Dev Reliability Boost?
Getting started is straightforward:
- Quick Start: Run the CLI command with your ApiFox API key and project ID:
npx @wangmhaha/apifox-mcp-server --apifox-api-key=YOUR_KEY --project=YOUR_ID
- Configure via SSE: Point your tool (e.g., Cursor) to the server’s SSE endpoint:
"apifox-mcp-server": { "url": "http://localhost:3000/sse" }
- Advanced Setup: Use a JSON config file for complex scenarios, like environment variable management:
"apifox-mcp-server": { "command": "node", "args": ["path/to/index.js", "--local"], "env": { "APIFOX_API_KEY": "YOUR_KEY" } }