Apifox MCP Server

Apifox project interface documentation enables AI to generate and refine code.

Data last scanned last week · Reviewed last month

1092Dockerfile

Overview

Apifox MCP Server provides AI assistants with read access to your Apifox project documentation. By configuring the server with your project ID and access token, you enable IDEs like Cursor or VS Code with the Cline plugin to query API schemas directly within your development workflow. The server caches documentation locally to facilitate tasks such as generating DTO models, adding code comments based on field definitions, or scaffolding MVC code for API endpoints. It also supports direct integration with Swagger or OpenAPI specification files via command-line arguments.

Our verdict

This server carries a high-risk rating with a security score of 10/100. The repository has not been updated in over 491 days, lacks an explicit license, and is maintained by a single contributor, suggesting a potential lack of long-term support or community oversight. Due to these factors, it is recommended only for users willing to independently vet the code and handle security risks associated with stale, unmaintained tooling.

  • Supports direct Swagger and OpenAPI file ingestion
  • Works with both local and private Apifox deployments
  • Provides clear CLI installation and configuration documentation
  • High security risk score of 10/100
  • Last commit occurred over 491 days ago
  • No open-source license detected for usage
  • Maintenance depends on a single contributor

Compatibility

No compatibility data yet.

Frequently asked questions

How do I ensure the AI uses the latest data from Apifox?

The server caches API documentation data locally. If your data changes in Apifox, you must explicitly instruct the AI to refresh the documentation data.

Can I use this server for projects other than those hosted on Apifox?

Yes, you can read Swagger or OpenAPI Specification (OAS) files directly. Replace the project-id argument with the --oas parameter followed by the URL or local file path to the specification.

How should I handle authentication tokens to avoid security risks in shared repositories?

Instead of hardcoding your API token in the configuration file, you can define an environment variable named APIFOX_ACCESS_TOKEN on each developer's machine.

Does this server support private or on-premise Apifox deployments?

Yes, you can support private deployments by adding the --apifox-api-base-url argument to your configuration, specifying your server's API address.

Can I connect multiple Apifox projects to my IDE?

Yes, you can add multiple MCP server entries to your configuration file, assigning each one a unique project ID.

Does the naming of the MCP server in the configuration affect performance?

Using names like 'API 文档' helps the AI correctly identify the server's purpose. Avoid using generic names like 'Apifox' or 'Apifox MCP', as these make it harder for the AI to recognize the server's function.

Badge

Apifox MCP Server security score, rated on RepoAI

Maintain this server? Add the live badge to your README.