Skip to content
Cursor

pbx mcp for Cursor

io.github.ictinnovations/pbx-mcp

Inspect and control Asterisk (AMI) and FreeSWITCH (ESL) PBX servers from your AI assistant.

client:Cursor transport:stdio runtime:npm

Install pbx mcp in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "pbx-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "pbx-mcp"
      ],
      "env": {
        "ASTERISK_AMI_HOST": "<ASTERISK_AMI_HOST>",
        "ASTERISK_AMI_PORT": "<ASTERISK_AMI_PORT>",
        "ASTERISK_AMI_USERNAME": "<ASTERISK_AMI_USERNAME>",
        "ASTERISK_AMI_PASSWORD": "<ASTERISK_AMI_PASSWORD>",
        "ASTERISK_AMI_TLS": "<ASTERISK_AMI_TLS>",
        "FREESWITCH_ESL_HOST": "<FREESWITCH_ESL_HOST>",
        "FREESWITCH_ESL_PORT": "<FREESWITCH_ESL_PORT>",
        "FREESWITCH_ESL_PASSWORD": "<FREESWITCH_ESL_PASSWORD>",
        "PBX_MCP_ALLOW_WRITE": "<PBX_MCP_ALLOW_WRITE>",
        "PBX_MCP_TIMEOUT_MS": "<PBX_MCP_TIMEOUT_MS>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

pbx mcp in other clients