Developer builds MCP server to unify Asterisk and FreeSWITCH command interfaces
A developer who manages both Asterisk and FreeSWITCH PBX systems built an open-source tool called pbx-mcp to eliminate the need to memorise two separate command syntaxes for the same tasks. The MCP server presents a single interface to an AI assistant, which automatically selects the correct commands for whichever PBX is configured. A key feature is chained diagnostic queries, where the assistant can autonomously run multiple commands across both systems to troubleshoot issues like failing outbound calls without the user needing to recall the sequence. The tool connects directly to both platforms via their native protocols — AMI for Asterisk and ESL for FreeSWITCH — with no third-party dependencies beyond the MCP SDK and Zod. Safety is built in by default, with the server operating in read-only mode and using word-level command scanning to block state-changing operations from being executed accidentally.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in