AI agents
Give your AI agent a Canadian messaging API
The HonkIO MCP server lets Claude, Cursor, VS Code and other MCP clients send texts, email and push notifications, verify phone numbers, buy Canadian numbers and check CASL consent, with your approval and in test mode first.
claude mcp add --transport http honkio https://mcp.honkio.ca/mcpWhat it is for
Jobs an agent can take off your hands, in test mode first.
- Building your integration
- A coding agent sends test messages, reads the results and checks error codes while it writes your integration.
- Day-to-day operations
- Ask for delivery status, usage or your daily sending limit, and replay webhook deliveries that failed, from the chat you already work in.
- Compliance checks
- Check CASL consent and opt-outs before a send, or run a compliance audit with a guided prompt.
- Numbers and setup
- Search for a Canadian number in the area code you want, see what it costs, and buy it once you approve.
What an agent can do
The tools follow the API, so an agent can do what your code can.
- Send SMS, list messages and read delivery status
- Send email, schedule sends, and manage domains, suppressions and templates
- Send, read, cancel and reschedule push notifications, and list push apps and devices
- Send a notification that tries push, then SMS, then email, read it back, and read or save a recipient profile
- Start a verification code, check it and list attempts
- Manage HonkIO Auth sign-in apps: domains, client secrets, users, organizations, plans and security settings (accounts with HonkIO Auth, on an API key)
- Search, buy and release Canadian phone numbers
- Record and check CASL consent, and handle opt-outs
- Manage webhooks and replay failed deliveries
- Read account details, usage and the daily sending limit, and manage API keys
Five guided prompts walk an agent through common jobs: a compliant send, buying a Canadian number, setting up webhooks, a compliance audit and an erasure request.
Then ask in plain language
- “Find an available 416 number, tell me what it costs, and don't buy anything yet.”
- “Check whether this customer has CASL consent on file before we text them.”
- “Set up a webhook for delivery receipts and replay any deliveries that failed.”
Plugins
Install HonkIO into your agent, then sign in on honkio.ca. No key to paste.
Claude Code
Add the HonkIO marketplace and install the plugin, then run /mcp and pick honkio to sign in. It connects to the hosted endpoint and adds skills that guide Claude through CASL-compliant sends.
/plugin marketplace add somecorp-dev/honkio-agents
/plugin install honkio@honkioGoogle Antigravity
Install the plugin from GitHub, then open Agent settings, go to Customizations and press Authenticate next to honkio to sign in. It connects to the hosted endpoint and adds the same skills.
agy plugin install https://github.com/somecorp-dev/honkio-agentsChatGPT and Codex
Add the hosted endpoint as a custom MCP connector and sign in on honkio.ca when asked. A ChatGPT or Codex connection leaves out checking verification codes and buying numbers: buy numbers in the dashboard.
https://mcp.honkio.ca/mcpConnect your client
Hosted, or on your own machine.
The hosted endpoint needs nothing installed. Add it by URL and sign in: a page on honkio.ca asks you to approve the connection and choose test or live mode. You can send an API key in a header instead.
claude mcp add --transport http honkio https://mcp.honkio.ca/mcpPrefer to run it yourself? The same server is on npm as @honkio/mcp, and npx fetches it on first use.
{
"mcpServers": {
"honkio": {
"command": "npx",
"args": ["-y", "@honkio/mcp"],
"env": { "HONKIO_API_KEY": "mk_test_YOUR_KEY" }
}
}
}It works with Claude Code, Claude Desktop, claude.ai connectors, the Claude Messages API, ChatGPT, Codex, Google Antigravity, Cursor, VS Code and any other client that speaks MCP over HTTP or stdio.
Read the MCP setup guideBuilt for agents that can get it wrong
An agent acts on instructions that can be vaguer than you meant.
- Test keys simulate sends and verifications for free, and work before your first top-up.
- Signing in shows what the agent may do, and a live connection also asks for your account password. Each connection is listed with your API keys and can be revoked there.
- API keys carry permissions per resource, so you can give an agent a key that reads messages but cannot buy numbers.
- Buying or releasing numbers, changing webhooks and running erasure need a live key.
- Every tool says whether it only reads or can change or delete something, so clients that support it can ask you first.
- Text someone else wrote, such as an SMS sent to your number or a received email, comes back marked as untrusted content: the agent is told to read it as data and never to follow it as instructions. Reading received email stays off until you turn it on.
- An agent's sends go through the same API as your code's: the same CASL consent checks, STOP handling and sending limits apply.
Docs an agent can read
For coding agents that build your integration.
llms.txt indexes the docs in the format language models read, llms-full.txt holds every endpoint, error code and limit in one file, and the OpenAPI document describes every request and response. Every error has a stable code and a message in English and French.
What it costs
The server is free. What the agent does is billed as usual.
Actions are billed from your prepaid CAD balance at the usual prices: SMS at $0.03 per segment, $0.0025 per email ($2.50 per 1,000), $0.0005 per push ($0.50 per 1,000), $0.25 per verification plus its SMS ($0.28 for a one-segment code), and $2.50 a month for a local number. Nothing is billed in test mode.
See every priceMCP docs
Each page is in English and French.
Questions
- Is the HonkIO MCP server free?
- Yes. The server costs nothing to use. The messages, verifications and numbers an agent uses are billed at the usual prices, and nothing is billed in test mode.
- Which AI clients does it work with?
- Claude Code and Google Antigravity have plugins that sign you in on honkio.ca. ChatGPT, Codex, Claude Desktop, claude.ai connectors, the Claude Messages API, Cursor and VS Code connect to the hosted endpoint by URL. Any other MCP client can use the hosted endpoint over HTTP, or run the npm package over stdio.
- Can an agent spend money on my account?
- Only on a live connection. Explore with a test key, where sends are simulated and nothing is charged. On a live key, texts and numbers cost real money, so give the agent a key with only the permissions it needs.
- Can a text message trick my agent?
- The server marks text written by someone else, such as an incoming SMS, as untrusted content, and tells the agent to treat it as data, never as instructions. Narrow key permissions are a second line of defence.
- Where is my data stored?
- In Canada, as for every HonkIO request, and requests are processed there too. What you type into your AI client, and what the tools return to it, is handled by that client's provider under its own terms.
- Does an agent have to follow CASL?
- An agent uses the same API as your code, so the same rules apply: a commercial text needs CASL consent on file, a STOP reply opts the person out, and sending limits hold. A guided prompt checks consent before it sends.
- What licence is the npm package under?
- The npm package, @honkio/mcp, is published under the MIT licence.
Related
- SMS API
Send and receive SMS with Canadian local and toll-free numbers, with CASL consent and STOP replies enforced in the API.
- Verify
One-time codes by text message, to confirm that a Canadian phone number belongs to your user.
- Email API
Send transactional email from your own domain and receive replies over the API, with CASL checks and data stored in Canada.
- Push notifications
Push to iOS, Android and browsers from one API, with optional encrypted content and an SMS fallback in one call.
- Notify
One call reaches a user by push, SMS or email, in your order, and stops at the first channel that delivers.
- HonkIO Auth
Hosted passwordless sign-in on your own domain, over standard OpenID Connect, with your users' data stored in Canada.
- CASL for developers
What Canada’s anti-spam law asks of the code that sends texts and email: consent, identification, unsubscribes and records.
Try it in test mode first
Test keys work right after sign-up, with no card and no charges.
HonkIO