YApi

by kales0202

Not rated
GitHub

About

Interact with the YApi platform using natural language for automated interface management.

Details

Author
kales0202
Categories
Developer Tools

Setup

Install YApi in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/kales0202/mcp-server-yapi

Follow the installation instructions in the repository README, then restart your MCP client.

mcp-server-yapi 是一个为YApi设计的 MCP 服务器。它将 YApi 的常用功能封装为一系列工具,允许大语言模型(LLM)通过自然语言与你的 YApi 平台进行交互,实现接口管理自动化。

- 项目管理: 获取项目基本信息。
- 接口管理: 创建、保存、更新、获取接口信息。
- 接口分类: 创建分类、获取分类菜单。
- 数据导入: 导入接口数据。
- 接口列表: 获取项目或分类下的接口列表。

- Node.js >= v18.0.0
- Cursor, Windsurf, Claude Desktop 或者其它支持 MCP 协议的客户端

YAPI 的项目 TOKEN:在"项目->设置->token 配置"中

{ "mcpServers": { "mcp-server-yapi": { "command": "npx", "args": ["-y", "mcp-server-yapi"], "env": { "YAPI_BASE_URL": "YAPI服务地址,例:https://xxx.yyy.com", "YAPI_TOKEN": "项目TOKEN", "MCP_DEBUG_CONSOLE": "false" } } } }
# 克隆仓库 git clone https://github.com/kales0202/mcp-server-yapi.git # 进入项目目录 cd mcp-server-yapi # 安装依赖 npm install # 编译生成dist/index.js npm run build

你可以将此服务集成到支持 MCP 协议的 AI Agent 客户端中,将以下配置添加到你的客户端配置文件中

YAPI 的项目 TOKEN:在"项目->设置->toekn 配置"中

{ "mcpServers": { "mcp-server-yapi": { "command": "node", "args": ["/absolute/path/to/your/mcp-server-yapi/dist/index.js"], "env": { "YAPI_BASE_URL": "YAPI服务地址", "YAPI_TOKEN": "项目TOKEN", "MCP_DEBUG_CONSOLE": "false" } } } }

- get_project: 获取项目基本信息
- add_cat: 新增接口分类
- get_cat_menu: 获取菜单列表
- list_cat: 获取某个分类下接口列表
- list_menu: 获取接口菜单列表
- get_interface: 获取接口数据
- list_interface: 获取接口列表数据
- save_interface: 新增或者更新接口
- add_interface: 新增接口
- up_interface: 更新接口
- import_data: 服务端数据导入

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Create crafted UI components inspired by the best 21st.dev design engineers.

Bring agent evaluations, observability, and synthetic test set generation directly into your IDE for free with Galileo's new MCP server

An MCP server to help AI assistants to answer questions and generate AccelByte Extend SDK code more effectively .

MCP server for AI Diagram Maker — generate beautiful software engineering diagrams directly inside Cursor, Claude Desktop, Claude Code, or any MCP-compatible AI agent

ALAPI MCP Tools,Call hundreds of API interfaces via MCP

AI-powered SVG animation generator that transforms static files into animated SVG components using the Allyson platform

MCP server that gives AI assistants on-demand access to 1,500+ amCharts docs, ~300 code examples, and 1000+ class API references.

APIMatic MCP Server is used to validate OpenAPI specifications using APIMatic. The server processes OpenAPI files and returns validation summaries by leveraging APIMatic’s API.

One shared context layer for AI agents and humans — live API specs, DB schemas, and versioned contracts across repos so every agent and teammate works from the same source of truth.

Build and deploy full-stack Next.js apps with 98 tools for React, AWS, and MongoDB

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.