🚀 Apifox MCP 伺服器 - 支援 uvx 安裝的 Python 實現,將 Apifox API 文檔暴露給 MCP 客戶端
Overview
what is Apifox MCP Server?
Apifox MCP Server is a Python implementation that exposes Apifox API documentation to MCP clients like Cursor and Claude Desktop, supporting installation via uvx.
how to use Apifox MCP Server?
To use Apifox MCP Server, install it using uvx or pip, configure the necessary environment variables, and run the server to access the API documentation.
key features of Apifox MCP Server?
- Easy installation with
uvxorpip - Environment variable configuration for API access
- Comprehensive API access to all endpoints and structures
- Built-in caching mechanism with configurable TTL
- Search functionality for APIs by name, description, path, or tags
- Resource browsing for project structure
- Robust error handling and logging
use cases of Apifox MCP Server?
- Generating code from API documentation.
- Searching for specific APIs related to user authentication.
- Generating API client code for user login APIs.
FAQ from Apifox MCP Server?
- What are the prerequisites for using Apifox MCP Server?
You need Python 3.10 or higher and an Apifox account with API access.
- How do I configure the environment variables?
Set
APIFOX_ACCESS_TOKENandAPIFOX_PROJECT_IDin your environment.
- What should I do if I encounter caching issues?
Use the
refresh_cachetool to clear outdated data.