Developers

Agentline NZ for developers

Connect Agentline NZ to Cursor, VS Code, Claude Code, Codex or any MCP client, and your agent gets its own NZ 028 number and @agentline.nz inbox.

For AI assistants and developers: llms.txt · llms-full.txt · /agents · OpenAPI · server card · /kb · /help · /integrations

mcp

  • server https://agentline.nz/mcp
  • transport streamable-http
  • auth oauth2.1 (CIMD, DCR) | bearer al_live_…
  • keyless https://agentline.nz/public/mcp
  • registry nz.agentline/agentline-nz

first calls

  • signup // no account yet
  • get_my_number // number, inbox, limits
  • wait_for_code // SMS or email OTP, 55s

read me

Connect

Add Agentline NZ to your MCP client

MCP server https://agentline.nz/mcp (Streamable HTTP, OAuth or API key). MCP Registry: nz.agentline/agentline-nz. You sign in to Agentline the first time a tool needs it.

Cursor

Click Add to Cursor and confirm the install prompt.

VS Code (GitHub Copilot)

Click Add to VS Code. If VS Code doesn't open, see other ways to install.

Claude (claude.ai and Claude Desktop)

Click Add to Claude. Claude opens the Add custom connector dialog with the name and URL filled in.

Claude Code

Run the command, then type /mcp in Claude Code and choose agentline → Authenticate.

claude mcp add --transport http agentline https://agentline.nz/mcp

Codex CLI

Run the command; codex mcp login opens the Agentline sign-in.

codex mcp add agentline --url https://agentline.nz/mcp && codex mcp login agentline

ChatGPT

In ChatGPT, go to Plugins, select the plus button, then Add custom MCP server (account and workspace policies apply).

Windsurf, Cline, Goose, Zed, Gemini CLI, n8n and any other MCP client →

What your agent gets

A real identity your agent can use, with guardrails built in

wait_for_code

One call waits for a one-time code by SMS or email and hands it back, up to 55 s. No polling loop to write.

Every major agent

One-click installs for Claude, Cursor, VS Code and Goose; one-line installs for Claude Code, Codex and Gemini CLI.

Voice on Pro

Forward calls to a SIP or ElevenLabs voice agent, a wss:// stream or a phone, play a greeting, or take voicemail with transcription.

Safe by default

Transactional SMS only, STOP handling, spam and phishing checks, rate limits and a full audit log. Built for NZ's anti-spam law.

Tools

What you can call

Authenticated server: https://agentline.nz/mcp. Every tool is annotated read-only or not, and anything that sends needs the messages:send scope.

ToolScopeWhat it does
get_my_numberreadYour number(s), inbox(es), plan, allowances and any sending restriction. Call first.
wait_for_codereadWait up to 55s for a one-time code by SMS or email; each code returned once.
send_smssendText a NZ mobile from your number. Transactional only; marketing is blocked.
list_messagesreadRecent SMS, newest first (filter by direction, contact, unread_only, since).
read_messagereadOne SMS by id.
send_emailsendEmail from your @agentline.nz address (up to 5 recipients).
list_emailsreadRecent emails, newest first (filter by direction, unread_only, since).
read_emailreadFull email text by id. Reading never changes read state.
mark_readreadMark SMS and emails read (or unread with read=false), up to 100 ids.
list_callsreadCalls and voicemail transcripts.
get_voice_settingsreadCall handling for each number.
update_voice_settingssendReplace call handling: greeting/voicemail, or forward to SIP (e.g. ElevenLabs), wss:// stream or a phone.
list_api_keysreadAPI keys (prefix, name, last used).
create_api_keysendNew API key; secret shown once.
revoke_api_keysendRevoke a key (destructive).
start_owner_phone_verificationsendGet a code the owner texts from their mobile to verify it (replaces any verified mobile).
verify_ownersendSubmit the SMS code Agentline texted your owner at signup to confirm their mobile.
list_audit_logreadRecent account events.
get_billingreadPlan, status, trial end, allowances.
get_checkout_linksendStripe Checkout link to start a plan, emailed to the owner and returned.
get_billing_portal_linksendStripe Customer Portal link (card, plan, cancel), also emailed to the owner.
get_profilereadWhich account is connected.
No account yet

Sign yourself up

The keyless server https://agentline.nz/public/mcp needs no credentials and can't send anything for you. Its tools: get_pricing, check_number_availability, get_docs, get_install_instructions, signup.

You get an API key, an inbox and an MCP config straight away, with no approval step. We email your human a verification link; until they click it, you can message only them. Free and trial accounts send only to the owner's verified email and mobile.

The full agent docs, including a summary to pass on to your human, are at /agents.

curl -X POST https://agentline.nz/api/v1/signup \
  -H 'Content-Type: application/json' \
  -d '{"owner_email":"you@example.nz","agent_name":"Ari"}'