ApiFox MCP Server
@wangmhaha
About ApiFox MCP Server
基于MCP协议的获取ApiFox接口信息的服务
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is ApiFox MCP Server?
ApiFox MCP Server is a server built on the Model Context Protocol (MCP) for fetching and managing API interface information from ApiFox. It is designed for developers using Cursor; by configuring the MCP service, the server retrieves interface module data and returns it to the large language model, enabling Cursor to implement business logic based on the interface details.
How to use ApiFox MCP Server?
Install and run via npx with your ApiFox API key and project ID: npx @wangmhaha/apifox-mcp-server@latest --apifox-api-key=<your-apifox-api-key> --project=<your-project-id>. Configure the MCP service in Cursor using either SSE mode (pointing to http://localhost:3000/sse) or a local JSON configuration with the --local flag and environment variables APIFOX_API_KEY and PROJECT_ID. Alternatively, clone the repository, run pnpm install and pnpm build, then start with pnpm start:http.
Key features of ApiFox MCP Server
- Fetches ApiFox interface information via the MCP protocol
- Supports both HTTP service and CLI command-line usage
- Developed in TypeScript for type safety
- Configurable through environment variables
Use cases of ApiFox MCP Server
- Integrate ApiFox interface data into Cursor for AI-assisted development
- Automate retrieval of API spec details to power business logic in code generation
- Manage and organize ApiFox project interfaces programmatically
FAQ from ApiFox MCP Server
How do I obtain my ApiFox API key?
Provide your ApiFox API key through the --apifox-api-key command-line argument or the APIFOX_API_KEY environment variable.
How do I specify the project?
Set the project ID via the --project command-line argument or the PROJECT_ID environment variable.
What runtime environments are supported?
The server can be run in HTTP service mode (started via npx or local build) or in CLI mode (using the --local flag). It requires Node.js and TypeScript.
Can I change the default listening port?
Yes. Set the PORT environment variable; the default is 3000.
Does the server depend on any external services?
It depends on the ApiFox platform for API keys and project data. No database is required locally.
Frequently asked questions
How do I obtain my ApiFox API key?
Provide your ApiFox API key through the `--apifox-api-key` command-line argument or the `APIFOX_API_KEY` environment variable.
How do I specify the project?
Set the project ID via the `--project` command-line argument or the `PROJECT_ID` environment variable.
What runtime environments are supported?
The server can be run in HTTP service mode (started via npx or local build) or in CLI mode (using the `--local` flag). It requires Node.js and TypeScript.
Can I change the default listening port?
Yes. Set the `PORT` environment variable; the default is 3000.
Does the server depend on any external services?
It depends on the ApiFox platform for API keys and project data. No database is required locally.
Basic information
More Other MCP servers
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser

DeepMark
DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
Comments