feat(apifox-mcp): 添加 apifox 项目实时导出功能#6
Merged
Conversation
aceHubert
commented
May 21, 2026
Owner
- 【功能】新增 project 命令与 read_apifox_project 工具,支持绕过 OAS 缓存直接导出项目数据
- 【功能】支持按标签、目录或接口 ID 筛选导出范围,并支持排除标签
- 【功能】支持 YAML/JSON 格式、OAS 版本、分支、模块及环境 ID 等导出选项
- 【功能】新增 locale 配置参数,支持国际化请求
- 【重构】拆分 CLI 选项解析逻辑,区分连接、来源与缓存选项
- 【重构】提取请求头构建逻辑,新增 requestBody 方法支持文本与 JSON 响应
- 【修复】更正请求头字段为 X-Apifox-Api-Version,调整项目导出接口路径
- 【文档】更新 CLI 与 MCP 技能文档,添加版本检查与 project 命令说明
- 【testlink-cli】新增 version-check.md,指导自动检测已安装版本与线上最新版本
- 【zentao-cli】新增 version-check.md,指导自动检测已安装版本与线上最新版本
- 【testlink-cli】更新 SKILL.md,在设置与调试流程中增加版本对比与更新提示
- 【zentao-cli】更新 SKILL.md,在设置与调试流程中增加版本对比与更新提示
added 2 commits
May 21, 2026 11:21
- 【功能】新增 project 命令与 read_apifox_project 工具,支持绕过 OAS 缓存直接导出项目数据 - 【功能】支持按标签、目录或接口 ID 筛选导出范围,并支持排除标签 - 【功能】支持 YAML/JSON 格式、OAS 版本、分支、模块及环境 ID 等导出选项 - 【功能】新增 locale 配置参数,支持国际化请求 - 【重构】拆分 CLI 选项解析逻辑,区分连接、来源与缓存选项 - 【重构】提取请求头构建逻辑,新增 requestBody 方法支持文本与 JSON 响应 - 【修复】更正请求头字段为 X-Apifox-Api-Version,调整项目导出接口路径 - 【文档】更新 CLI 与 MCP 技能文档,添加版本检查与 project 命令说明
- 【testlink-cli】新增 version-check.md,指导自动检测已安装版本与线上最新版本 - 【zentao-cli】新增 version-check.md,指导自动检测已安装版本与线上最新版本 - 【testlink-cli】更新 SKILL.md,在设置与调试流程中增加版本对比与更新提示 - 【zentao-cli】更新 SKILL.md,在设置与调试流程中增加版本对比与更新提示 - 统一调整 setup 说明格式,移除斜体注释样式并重新编号工作流 - 避免用户因旧版本 cli 导致命令缺失或行为异常,确保操作前环境为最新
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.