/v1 API as MCP tools. AI agents and LLM clients can use it to send messages, query conversations, manage numbers, templates, webhooks, groups, and voice calls — directly from the model context.
Hosted connector
The server speaks the streamable HTTP transport and runs as a hosted connector at:ps_* key in the x-api-key header:
Authentication
| Method | How |
|---|---|
| OAuth 2.1 | Authorization: Bearer <token> — handled automatically by the hosted Claude connector |
| API key | x-api-key header with a ps_* key |
api_keys_list and numbers_list.
Self-hosted
The server is published as@pilot-status/mcp-server on npm and can be run locally:
ps_* API key via the x-api-key header (HTTP mode) or environment configuration, depending on your MCP client.
Available tools (54)
| Area | Tools |
|---|---|
| Messaging | messages_send, message_get, messages_cancel, messages_group, messages_unread, conversations_list |
| Webhooks | webhooks_list, webhook_get, webhooks_create, webhooks_update, webhooks_delete, webhook_events |
| Groups | groups_list, groups_create, group_info, group_participants_add/remove/promote/demote, group_invite, group_pin |
| Channels | newsletters_list |
| Numbers | numbers_list, numbers_get, numbers_create, numbers_status, numbers_connect, numbers_delete, numbers_remote_pairing, numbers_check |
| Templates | templates_list, templates_get, templates_create, templates_update, templates_delete |
| Voice calls (Meta only) | call_initiate, calls_list, call_get, call_accept, call_reject, call_terminate, call_settings_get/update, call_permission_get/request |
| Account | api_keys_list, api_keys_regenerate_number, subscription_extra_numbers_get/add, billing_checkout, branding_get/upsert, analytics_dashboard, media_get |
templates_create/templates_updaterequire theexamplesobject (one real sample per variable; missing →400 TEMPLATE_EXAMPLES_REQUIRED) and accept media headers by URL only — base64 is REST-only.messages_sendsupports the three send modes:templateId,text, or direct media (media+mediaType; audio is delivered as a voice note).- Inbound media: on META numbers feed
media.idtomedia_get; on Evolution numbers usemedia.urldirectly. - Token-based routes (remote-pairing public endpoints, embed session minting) are excluded from the tool list because they use a different auth flow.
Example tool call
Common errors
401— missing or invalid API key.403— tenant-scoped key on a number-scoped tool (or vice versa), or a tool outside a per-number grant.400— invalid tool arguments (validated against the underlying API schema).