Skip to content
VS Code

Yeastar P-Series PBX for VS Code

io.github.wyre-ai/yeastar-mcp

MCP server for Yeastar P-Series PBX System API (read-only).

client:VS Code transport:stdio runtime:oci

Install Yeastar P-Series PBX in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "yeastar-pbx-domain",
      "description": "YEASTAR_PBX_DOMAIN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yeastar-client-id",
      "description": "YEASTAR_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yeastar-client-secret",
      "description": "YEASTAR_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-transport",
      "description": "MCP_TRANSPORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "auth-mode",
      "description": "AUTH_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "log-level",
      "description": "LOG_LEVEL",
      "password": true
    }
  ],
  "servers": {
    "yeastar-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/wyre-ai/yeastar-mcp:v1.0.2"
      ],
      "env": {
        "YEASTAR_PBX_DOMAIN": "${input:yeastar-pbx-domain}",
        "YEASTAR_CLIENT_ID": "${input:yeastar-client-id}",
        "YEASTAR_CLIENT_SECRET": "${input:yeastar-client-secret}",
        "MCP_TRANSPORT": "${input:mcp-transport}",
        "AUTH_MODE": "${input:auth-mode}",
        "LOG_LEVEL": "${input:log-level}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Yeastar P-Series PBX in other clients