Skip to main content
Glama
cursor-config-example.json875 B
{ "mcpServers": { "yapi": { "_comment": "推荐方式: 本地安装后使用", "command": "node", "args": ["./node_modules/mcp-yapi-server/dist/index.js"], "env": { "YAPI_BASE_URL": "https://yapi.example.com", "YAPI_TOKEN": "your_token_here" } }, "yapi-global": { "_comment": "全局安装方式 (npm install -g mcp-yapi-server)", "command": "mcp-yapi-server", "env": { "YAPI_BASE_URL": "https://yapi.example.com", "YAPI_TOKEN": "your_token_here" } }, "yapi-npx": { "_comment": "⚠️ 不推荐: npx 方式可能有依赖解析问题", "command": "npx", "args": [ "-y", "mcp-yapi-server@latest" ], "env": { "YAPI_BASE_URL": "https://yapi.example.com", "YAPI_TOKEN": "your_token_here" } } } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TStoneLee/mcp-yapi-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server