pbx-mcp
Inspect and control Asterisk (AMI) and FreeSWITCH (ESL) PBX servers from your AI assistant.
Documentation & Preview
{ "mcpServers": { "mcp-pbx-mcp": { "command": "npx", "args": [ "-y", "--package", "pbx-mcp@0.1.3", "pbx-mcp" ], "env": { "ASTERISK_AMI_HOST": "${ENV_ASTERISK_AMI_HOST}", "ASTERISK_AMI_PORT": "${ENV_ASTERISK_AMI_PORT}", "ASTERISK_AMI_USERNAME": "${ENV_ASTERISK_AMI_USERNAME}", "ASTERISK_AMI_PASSWORD": "${ENV_ASTERISK_AMI_PASSWORD}", "ASTERISK_AMI_TLS": "${ENV_ASTERISK_AMI_TLS}", "FREESWITCH_ESL_HOST": "${ENV_FREESWITCH_ESL_HOST}", "FREESWITCH_ESL_PORT": "${ENV_FREESWITCH_ESL_PORT}", "FREESWITCH_ESL_PASSWORD": "${ENV_FREESWITCH_ESL_PASSWORD}", "PBX_MCP_ALLOW_WRITE": "${ENV_PBX_MCP_ALLOW_WRITE}", "PBX_MCP_TIMEOUT_MS": "${ENV_PBX_MCP_TIMEOUT_MS}" } } }, "setup": { "fields": [ { "id": "ENV_ASTERISK_AMI_HOST", "label": "ASTERISK_AMI_HOST", "description": "Hostname or IP of the Asterisk server. Set this to enable the Asterisk tools.", "required": false, "secret": false, "default": "" }, { "id": "ENV_ASTERISK_AMI_PORT", "label": "ASTERISK_AMI_PORT", "description": "Asterisk Manager Interface port. Defaults to 5038.", "required": false, "secret": false, "default": "5038" }, { "id": "ENV_ASTERISK_AMI_USERNAME", "label": "ASTERISK_AMI_USERNAME", "description": "AMI username from manager.conf.", "required": false, "secret": false, "default": "" }, { "id": "ENV_ASTERISK_AMI_PASSWORD", "label": "ASTERISK_AMI_PASSWORD", "description": "AMI secret from manager.conf.", "required": false, "secret": true, "default": "" }, { "id": "ENV_ASTERISK_AMI_TLS", "label": "ASTERISK_AMI_TLS", "description": "Connect to AMI over TLS. Set true if tlsenable=yes in manager.conf.", "required": false, "secret": false, "default": "false" }, { "id": "ENV_FREESWITCH_ESL_HOST", "label": "FREESWITCH_ESL_HOST", "description": "Hostname or IP of the FreeSWITCH server. Set this to enable the FreeSWITCH tools.", "required": false, "secret": false, "default": "" }, { "id": "ENV_FREESWITCH_ESL_PORT", "label": "FREESWITCH_ESL_PORT", "description": "FreeSWITCH inbound event socket port. Defaults to 8021.", "required": false, "secret": false, "default": "8021" }, { "id": "ENV_FREESWITCH_ESL_PASSWORD", "label": "FREESWITCH_ESL_PASSWORD", "description": "Event socket password from event_socket.conf.xml. Defaults to ClueCon, which you should change.", "required": false, "secret": true, "default": "" }, { "id": "ENV_PBX_MCP_ALLOW_WRITE", "label": "PBX_MCP_ALLOW_WRITE", "description": "Unlocks call control. When false the server is read-only and the originate and hangup tools are not registered at all. Placing a call on a live trunk costs real money, so leave this off unless you mean it.", "required": false, "secret": false, "default": "false" }, { "id": "ENV_PBX_MCP_TIMEOUT_MS", "label": "PBX_MCP_TIMEOUT_MS", "description": "Per command timeout in milliseconds. Defaults to 10000.", "required": false, "secret": false, "default": "10000" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.ictinnovations/pbx-mcp", "registryVersion": "0.1.3", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.ictinnovations%2Fpbx-mcp/versions/0.1.3", "repository": "ictinnovations/pbx-mcp", "sourceCommit": "f356cc492baf76e6aa6fd66fef1370a2b885cf5c", "namespaceRepositoryOwnerMatched": true, "package": { "registry": "npm", "identifier": "pbx-mcp", "version": "0.1.3", "integrity": "sha512-12xuRSMkrt2fwnDCeYOY5jPYMnCjgbWL+b9hSStjLBODI4ZJzNYdfUBOckiIPN/GeceeqSXnu+ExuCmLxjgacg==", "packageRepositoryMatched": true, "checkedAt": "2026-10-21T01:06:23.334Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }