MCP directory
PM

Pbx Mcp

by github.com/ictinnovations · v0.1.4 · updated Oct 26, 2026

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

npm

Run it locally

Install the package and point your AI client at it.

Environment variables

  • ASTERISK_AMI_HOST

    Hostname or IP of the Asterisk server. Set this to enable the Asterisk tools.

  • ASTERISK_AMI_PORT

    Asterisk Manager Interface port. Defaults to 5038.

  • ASTERISK_AMI_USERNAME

    AMI username from manager.conf.

  • ASTERISK_AMI_PASSWORDsecret

    AMI secret from manager.conf.

  • ASTERISK_AMI_TLS

    Connect to AMI over TLS. Set true if tlsenable=yes in manager.conf.

  • FREESWITCH_ESL_HOST

    Hostname or IP of the FreeSWITCH server. Set this to enable the FreeSWITCH tools.

  • FREESWITCH_ESL_PORT

    FreeSWITCH inbound event socket port. Defaults to 8021.

  • FREESWITCH_ESL_PASSWORDsecret

    Event socket password from event_socket.conf.xml. Defaults to ClueCon, which you should change.

  • PBX_MCP_ALLOW_WRITE

    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.

  • PBX_MCP_TIMEOUT_MS

    Per command timeout in milliseconds. Defaults to 10000.

More from github.com/ictinnovations

More MCP servers