Apifox
A TypeScript MCP server to access Apifox API data via Stdio.
Apifox MCP Server
一个基于 Stdio 实现的模型上下文协议 (Model Context Protocol) 服务器,旨在无缝桥接 AI 助手与 Apifox 平台的 API 数据。
允许 AI 助手通过标准化的协议直接、实时地获取和理解您在 Apifox 项目中定义的 API 接口详情,从而显著提升开发效率和代码生成质量。
✨ 功能特性
工具
get_api_endpoint_info- 获取 Apifox 的接口定义信息- 请求参数
projectId: Apifox 项目的唯一标识符。endpointId: 目标 API 端点的唯一标识符。
- 返回数据
- 一个结构化的 JSON 对象,包含完整的 API 规约 (Specification),例如:
- HTTP 请求方法 (Method)
- 求头 (Request Headers)
- 路径、查询及请求体参数 (Parameters: Path, Query, Body)
- 响应体结构 (Response Body Schema)
- 响应头 (Response Headers)
- 一个结构化的 JSON 对象,包含完整的 API 规约 (Specification),例如:
- 请求参数
🚀 安装配置
要在 Cursor 中使用此服务器,请添加以下服务器配置:
{
"mcpServers": {
"Apifox-MCP": {
"command": "npx",
"args": ["@juzi965/apifox-mcp-server"],
"env": {
"APIFOX_AUTH": "..."
}
}
}
}
环境变量
该服务器需要以下环境变量:
APIFOX_AUTH: Apifox 的认证令牌
💡 使用方法
复制协作链接到 Cursor 中,让它帮你完成
- 入参的 TS 类型定义
- 出参的 TS 类型定义
- 接口调用方法的定义
🛠️ 调试
由于 MCP 服务器通过标准输入输出(stdio)通信,调试可能比较困难。我们推荐使用MCP Inspector,可通过以下命令启动:
npm run inspector
Inspector 将提供一个 URL,可在浏览器中访问调试工具。
Server Terkait
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Reports MCP Server
Manages penetration testing reports and vulnerabilities via a REST API.
MCP Code Crosscheck
A server for bias-resistant AI code review using cross-model evaluation.
SACL MCP Server
A framework for bias-aware code retrieval using semantic-augmented reranking and localization.
MCP WordPress Post Server
Manage WordPress posts and upload images directly from file paths.
Cyberlink MCP Server
Interact with the CW-Social smart contract on Cosmos-based blockchains.
GoPeak
The most comprehensive MCP server for Godot Engine. 95+ tools for scene management, GDScript LSP, DAP debugging, screenshot capture, input injection, and CC0 asset library.
MCP Rules Enforcer Zero
An MCP server that enforces rules from markdown files for AI agents. This is a zero-tool version that requires an external rules file.
s&box MCP Server
Enables AI assistants to interact with s&box game objects and components via WebSocket communication.
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers, without authentication.
REPL MCP Server
A universal REPL session manager supporting Python, Node.js, Ruby, and more, with session management and LLM-assisted recovery.