Skip to main content
Glama

YApi MCP Server

English δΈ­ζ–‡

A MCP (Model Context Protocol) server for accessing YApi interface documentation.

Features

  • πŸ“ Get interface details by ID

  • πŸ”— Support YApi URL auto-parsing

Claude Desktop Configuration

{
  "mcpServers": {
    "yapi": {
      "command": "npx",
      "args": ["-y", "yapi-mcp-server@latest"],
      "env": {
        "YAPI_BASE_URL": "http://your-yapi-server.com",
        "YAPI_TOKEN": "your-yapi-token"
      }
    }
  }
}

Environment Variables

  • YAPI_BASE_URL: Your YApi server URL

  • YAPI_TOKEN: YApi access token

How to Get Token

Login to YApi β†’ Profile Settings β†’ Copy Token

Usage

Direct URL

Please get the information for this interface: http://localhost:40001/project/11/interface/api/23

Tool Name

Please use yapi-get-interface tool to get details for interface ID 789

License

MIT

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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/abeixiaolu/yapi-mcp'

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