Yapi MCP 服务
yapi mcp 服务器,用于管理和操作 YApi 接口。
- 克隆项目:
git clone https://github.com/lzsheng/Yapi-MCP.git - 安装依赖:
pnpm install - 配置环境变量:在项目根目录创建
.env文件,并添加以下内容:YAPI_TOKEN=your_yapi_token_here YAPI_BASE_URL=your_yapi_base_url_here PORT=3334 - 启动开发服务器:
pnpm run dev - 工具使用:支持
get_api_desc方法,获取指定的 YApi 接口信息(参数:apiId)。
