ApiFox MCP Server
@wangmhaha
About ApiFox MCP Server
基于MCP协议的获取ApiFox接口信息的服务
Basic information
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.
More Other MCP servers
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
Comments