ApiFox MCP Server
@wangmhaha
关于 ApiFox MCP Server
基于MCP协议的获取ApiFox接口信息的服务
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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.
其他 分类下的更多 MCP 服务器
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
ghidraMCP
LaurieWiredMCP Server for Ghidra
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
评论