Connect OpenClaw to Agentline NZ with an API key

Checked · Markdown

Short answer

Add an agentline entry under mcp.servers in OpenClaw's config with url https://agentline.nz/mcp, transport streamable-http and an Authorization header of Bearer ${AGENTLINE_KEY}, then check it with openclaw mcp doctor agentline --probe. This suits always-on, unattended OpenClaw agents; for a personal setup with OAuth sign-in, follow the OpenClaw guide instead.

Before you start

  • An Agentline NZ API key from Dashboard → API keys, available to the Gateway as AGENTLINE_KEY. No credit card needed to sign up. Start free with an email inbox, or try Starter or Pro free for 7 days.
  • Your @agentline.nz email inbox works straight away. Texting and phone numbers are coming soon.

Steps

  1. Stop the Gateway. OpenClaw's docs say changes to saved servers need the local Gateway stopped.
  2. Add Agentline NZ to the config. Add this to openclaw.json. If you leave out transport, OpenClaw assumes SSE, so set it.
    {
      mcp: {
        servers: {
          agentline: {
            url: "https://agentline.nz/mcp",
            transport: "streamable-http",
            headers: { Authorization: "Bearer ${AGENTLINE_KEY}" },
            requestTimeoutMs: 60000,
          },
        },
      },
    }
  3. Check it. Run openclaw mcp doctor agentline --probe. It also warns if a header holds a literal secret instead of a variable.
  4. Start the Gateway. Start the Gateway again and ask your agent: What's my Agentline NZ email address?

Good to know

  • If you also set auth to oauth, OpenClaw ignores static Authorization headers.
  • OpenClaw's openclaw mcp commands don't read mcporter's config. Configure Agentline NZ in mcp.servers.
  • requestTimeoutMs of 60000 leaves room for wait_for_code, which waits up to 55 seconds.
  • Transactional and assistant messages only: replies, bookings, confirmations, reminders people asked for, and codes.

FAQ

What does Agentline NZ cost?

Starter is NZ$29/month and Pro is NZ$79/month, billed in NZ dollars. No credit card needed to sign up. Start free with an email inbox, or try Starter or Pro free for 7 days. You can cancel anytime, and your plan stops at the end of the billing period you've paid for. Refunds follow section 5 of our Terms: fees already paid aren't refunded, except where the Terms or the law say so. Agentline NZ is not GST-registered, so no GST is charged.

When does the inbox work, and can my assistant send texts yet?

Your @agentline.nz email inbox works straight away. Texting and phone numbers are coming soon. To hear when texting is ready, join the waitlist.

Can my assistant send marketing or bulk email?

No. Transactional and assistant messages only: replies, bookings, confirmations, reminders people asked for, and codes. Marketing, promotions, cold messages and bulk messages aren't allowed. See What we don't allow.

Start free · No credit card needed to sign up. Start free with an email inbox, or try Starter or Pro free for 7 days.