get_api_endpoint_info
Returns an Apifox endpoint's definition conforming to OpenAPI 3.1, taking the projectId and endpointId parsed out of an app.apifox.com endpoint link.
Paste an Apifox endpoint link and get that endpoint's definition back as OpenAPI 3.1, with the project and endpoint ids read out of the URL itself.
LABSCO SUMMARY
One tool doing one thing: a project and endpoint pair goes in and a specification fragment comes out, with nothing here that lists projects, searches endpoints or writes anything back into Apifox. What it removes is the transcription step, because the ids are parsed straight out of the link someone pasted into the conversation.
A single-tool Apifox reader: a project id and an endpoint id return that endpoint's definition conforming to OpenAPI 3.1.
An Apifox API access token in APIFOX_AUTH, plus access to the Apifox project the endpoint belongs to.
One command plus credentials — npx @juzi965/apifox-mcp-server, then supply credentials
USE CASES
The project and endpoint ids are parsed out of the Apifox URL itself, so the definition comes back in OpenAPI 3.1 form without anyone opening the project first.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
get_api_endpoint_infoReturns an Apifox endpoint's definition conforming to OpenAPI 3.1, taking the projectId and endpointId parsed out of an app.apifox.com endpoint link.
BEFORE YOU INSTALL
1 tool when we connected. projectId and endpointId are parameters of get_api_endpoint_info, not tools.
The documented client runs the server on your machine.
CONTEXT COST
Rated by the size of the one tool definition that rides along on every turn
INSTALLATION
npx @juzi965/apifox-mcp-server{
"mcpServers": {
"Apifox-MCP": {
"command": "npx",
"args": [
"@juzi965/apifox-mcp-server"
],
"env": {
"APIFOX_AUTH": "<YOUR_APIFOX_AUTH>"
}
}
}
}In Apifox, hover over your avatar, open Account Settings → API Access Token and create one — it is shown only once. The server sends it to api.apifox.com as a Bearer token.