MCP Server
MCP
io.github.ictinnovations/pbx-mcp
Inspect and control Asterisk (AMI) and FreeSWITCH (ESL) PBX servers from your AI assistant.
Install
npx -y [email protected]
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "npm",
"identifier": "pbx-mcp",
"version": "0.1.2",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "Hostname or IP of the Asterisk server. Set this to enable the Asterisk tools.",
"format": "string",
"name": "ASTERISK_AMI_HOST"
},
{
"description": "Asterisk Manager Interface port. Defaults to 5038.",
"format": "number",
"default": "5038",
"name": "ASTERISK_AMI_PORT"
},
{
"description": "AMI username from manager.conf.",
"format": "string",
"name": "ASTERISK_AMI_USERNAME"
},
{
"description": "AMI secret from manager.conf.",
"format": "string",
"isSecret": true,
"name": "ASTERISK_AMI_PASSWORD"
},
{
"description": "Connect to AMI over TLS. Set true if tlsenable=yes in manager.conf.",
"format": "boolean",
"default": "false",
"name": "ASTERISK_AMI_TLS"
},
{
"description": "Hostname or IP of the FreeSWITCH server. Set this to enable the FreeSWITCH tools.",
"format": "string",
"name": "FREESWITCH_ESL_HOST"
},
{
"description": "FreeSWITCH inbound event socket port. Defaults to 8021.",
"format": "number",
"default": "8021",
"name": "FREESWITCH_ESL_PORT"
},
{
"description": "Event socket password from event_socket.conf.xml. Defaults to ClueCon, which you should change.",
"format": "string",
"isSecret": true,
"name": "FREESWITCH_ESL_PASSWORD"
},
{
"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.",
"format": "boolean",
"default": "false",
"name": "PBX_MCP_ALLOW_WRITE"
},
{
"description": "Per command timeout in milliseconds. Defaults to 10000.",
"format": "number",
"default": "10000",
"name": "PBX_MCP_TIMEOUT_MS"
}
]
}
]
}
mcp
model-context-protocol
npm
By
Comments
Sign in to leave a comment