PlugWiki

Apifox MCP servers: which one to use

Use Apifox's official MCP: the new hosted beta to read and edit, or the older local one to pull API docs into your editor.

Servers
3
active
Official
1
by Apifox
Local
3
runs on your machine

Apifox makes two official MCP servers. The new hosted one is in beta: you add its address and an Apifox access token, and it has 18 tools to read, edit, add and delete endpoints, data models and docs. The older local one gives your editor the API docs of one project and is the simple choice for generating code. Community servers add features like project switching or 80+ tools, and some READMEs, including the older official one, are in Chinese.

Good for

  • Developers who want Cursor or Claude Code to write code from their API docs
  • Teams who want an assistant to edit Apifox endpoints, models and test cases
  • Developers with large projects who want to pull only the endpoints they need
  • QA engineers who want to review test cases and coverage in plain English

Which Apifox MCP server to use

Use Apifox's own MCP: the hosted beta if you want edits, or the older local server if you only need Cursor to read your docs. Pick lingpfeng1-ux for project switching and full create, edit and delete, or Apifox Filter to keep large projects from flooding the assistant.

ServerOfficialRunsSign-inToolsGitHub stars
For Apifox
Apifox MCP (new, beta)This pageOfficialHostedAccess token18–
Apifox MCP ServerOfficialLocalAccess token395
Other tools for the same job
lingpfeng1-uxCommunityLocalAccess token198
Apifox FilterCommunityLocalToken or none–6
Apifox MCP CommunityCommunityLocalAccess token80+3

All Apifox MCP servers

3 active · 1 official · official first, then by GitHub stars

Questions

Is there an official Apifox MCP server?

Yes. Apifox's help center describes a new hosted MCP server in beta and the older local apifox-mcp-server, which gives AI editors a project's API docs.

What is the Apifox MCP server URL?

The beta's help page shows https://api.apifox.com/mcp for Claude Code and Codex, with an Apifox access token in the Authorization header. It shows https://apifox.com/api/v1/mcp for Cursor and Trae.

How do I get the access token?

In Apifox, open Settings, then API access token, and create a new token. The help center and the local server's README both use this token.

What is the difference between the new and old official servers?

Per the help center, the new one is hosted and has 18 tools, up from 3, with query, edit, add and delete for endpoints, models, docs and test cases. The old one runs on your machine through Node and caches your project's docs locally.

Does it work in Claude?

Yes, in Claude Code. The Apifox help center gives a Claude Code and Codex setup for the new MCP. It also lists Cursor, Trae and OpenCode.

Can an Apifox MCP server delete my endpoints?

The new official MCP lists delete among its operations, per the help center. So does lingpfeng1-ux, whose README has an endpoint delete tool. Use a token with only the access you want the assistant to have.

Why does the assistant read stale docs?

The older server caches your project's docs on your computer. Its README says to ask the AI to refresh the data after you change the docs in Apifox.

What is Apifox Filter for?

It fetches only the endpoints that match a URL pattern, keyword or folder, to avoid loading the whole project into the assistant. Its README says it can also read from any OpenAPI URL without Apifox sign-in.

Are the Apifox MCP servers free?

The older official server is ISC licensed and the lingpfeng1-ux and community servers are MIT. The hosted beta needs an Apifox account to create the access token, and the help center calls it a beta.

Server facts from the official MCP registry, GitHub, npm, PyPI and the Docker catalog. Archived servers are not listed.