.apifox/ 下结构索引,也可以人工调整项目结构数据。<access_token> :{
"mcpServers": {
"apifox-new-mcp": {
"url": "https://apifox.com/api/v1/mcp",
"headers": {
"Authorization": "Bearer <access_token>",
"X-Apifox-Api-Version": "2025-09-01"
}
}
}
}"mcpServers": {
"apifox-new-mcp": {
"headers": {
"Authorization": "Bearer <access_token>",
"X-Apifox-Api-Version": "2025-09-01"
},
"type": "http",
"url": "https://api.apifox.com/mcp"
}
}{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"apifox-new-mcp": {
"headers": {
"Authorization": "Bearer <access_token>",
"X-Apifox-Api-Version": "2025-09-01"
},
"type": "remote",
"enabled": true,
"url": "https://api.apifox.com/mcp"
}
}
}<access_token> ,在 Apifox 「设置」>「API 访问令牌」 页面新建一个令牌即可获取,替换上述占位。/user/login 相关的接口定义和实现”。