1. Conduid
  2. Developer Tools
  3. Apifox MCP
MCP server · Developer Tools

Apifox MCP

Apifox MCP Server是一个MCP工具,它使 AI 助手能够直接、实时地解析 Apifox 中的 API 定义,从而实现 TypeScript 类型、接口和调用函数的自动化生成

Unclaimed MIT last commit a year ago devtools
34Low

Scored 11 days ago · breakdown

About Apifox MCP

Apifox MCP is an MCP server published by Juzisuan965 in the Developer Tools category: apifox MCP Server是一个MCP工具,它使 AI 助手能够直接、实时地解析 Apifox 中的 API 定义,从而实现 TypeScript 类型、接口和调用函数的自动化生成.

The repository has 5 stars and 2 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/Juzisuan965/apifox-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Apifox MCP

Powered by Claude · Grounded in docs

I know everything about Apifox MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 7 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.

1 check has not been run yet.

Releases

v0.1.3prompt优化 · 6 Sep 2025优化了tool提示语,更新了readme
v0.1.2v0.1.2 · 1 Aug 2025🎉 apifox-mcp-server v0.1.2: 首次发布! 我们非常激动地宣布 `apifox-mcp-server` 的第一个正式版本!此工具旨在彻底改变开发者与 API 文档的交互方式,通过建立一个 AI 助手 (如 Cursor) 与 Apifox 平台之间的无缝桥梁,将繁琐的“阅读文档 -> 编写代码”流程自动化。 作为开发者,我们深知在多个工具间切换的低效。`apifox-mcp-server` 的诞生就是为了解决这一痛点,让 AI 直接理解您的 API…

README

Apifox MCP Server

npm version

一个基于 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)

🚀 安装配置

要在 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,可在浏览器中访问调试工具。

README fetched from the repository 7 days ago. The original is authoritative.

Questions

About Apifox MCP

How do I install Apifox MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Apifox MCP safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 4 of the 5 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Apifox MCP still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.