How does this server differ from yapi-cli?
The recommended yapi-cli supports CLI, MCP, skill, multiple YApi projects and spaces, and uses yapiopenapi to reduce context size and token usage.
@tiandashu
基本信息
暂无概览
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"yapi-mcp-server": {
"command": "npx",
"args": [
"-y",
"@vtian/yapi-mcp-server",
"--stdio"
]
}
}
}Yapi Mcp Server is a Model Context Protocol (MCP) server that integrates with the YApi API management platform. It automatically generates TypeScript type definitions, mock data, and API request code for frontend developers.
Install the server via npx -y @vtian/yapi-mcp-server --stdio in your MCP client (e.g., Cursor). Create a yapi.config.json file in your project root with the required remoteUrl and type fields. Then use the five provided tools — read_config, get_yapi_data, generate_types, generate_mock_from_yapi, and generate_api_code — through natural language prompts.
The recommended yapi-cli supports CLI, MCP, skill, multiple YApi projects and spaces, and uses yapiopenapi to reduce context size and token usage.
Create a `yapi.config.json` file with `remoteUrl` (YApi export URL) and `type` (“yapi”). Optional fields include `dataKey`, `mockPath`, `typePath`, and `apiPath`.
YApi data is cached for 30 minutes to reduce network requests.
The server uses stdio transport, as shown in the example Cursor configuration with `--stdio`.
Five tools: `read_config`, `get_yapi_data`, `generate_types`, `generate_mock_from_yapi`, and `generate_api_code`.
Hindsight: Agent Memory That Learns
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Open-source MCP to use Blender with any LLM

A good sequence diagram can solve almost any communication problem in engineering. Volley lets your agent write them as plain text, with the real request and response payloads on every arrow. It checks its own syntax wi
PickFu MCP is a Model Context Protocol (MCP) server that connects AI assistants, developers, marketers, product managers, and AI agents to PickFu's consumer research platform. It enables users to create surveys, conduct
评论