CLI
The whole API, from your terminal
A command for every resource, events forwarded to localhost, audio piped into calls, agent skills and a local MCP server.
- Command groups
- 40+
- Agent skills included
- 2
- Tunnels to test webhooks locally
- 0
- Shells with tab completion
- 3
Local development
Build and test without a tunnel.
Forward events to localhost, pipe audio into a call and search the docs from the shell.
For agents
Your agent drives the CLI too.
Load the bundled skills and add the CLI's own MCP server, without touching the hosted one.
Set up
From install to first event.
Four commands cover a setup check, any API call, local events and your agent.
terminal
Install$npm install -g @polymorfa/cli@0.1.0-dev.0
polymorfa auth login # stores your key in the system keyring
polymorfa link --project my-app # this folder now uses my-app
polymorfa doctorAPI surface
Commands worth knowing.
A few favorites. Every command uses your profile or key, and the API still enforces its scopes.
Start
- $
polymorfa initWrite a Node.js and TypeScript starter in this folder - $
polymorfa link --project my-appBind a folder to a project, safe to commit - $
polymorfa completion zshTab completion for bash, zsh and fish - $
polymorfa docs open api/Open any docs page from the shellrate-limits
Test
- $
polymorfa trigger message.receivedFire a signed test event at a Test number - $
polymorfa listenForward events to your local handler - $
polymorfa webhook test <id>Send a test delivery to a webhook - $
polymorfa event replay <id>Deliver a past event again
Run
- $
polymorfa calls media --place <number>Pipe raw audio into and out of a WhatsApp call - $
polymorfa calls watch --jsonStream call updates for a number - $
polymorfa operation watch <id>Print each status change of a campaign or job - $
polymorfa api <path> --paginateCall any endpoint and follow every page
Agents
- $
polymorfa mcp install claudeAdd the local MCP server to Claude or Codex - $
polymorfa mcp toolsList the local MCP tools
Start with a free number
Your first real number is free. Add more numbers on Pay-As-You-Go.