Connect your AI agent

Give an AI agent Goomzo's tools over MCP, with no code: connect it by signing in, or with an API key. It finds customers, reads conversations, records what happened, and sends.

Goomzo has an MCP server (Model Context Protocol), the way AI agents are given tools. Connect an agent to it and it can look a customer up, read their conversation, record a purchase, send a message or a template, and see how a broadcast went, with no code written against the API. The server is a thin layer over the API: an agent can do nothing a key could not already do with curl, and everything it does shows in the business's activity as done by that agent.

Connect by signing in

In Claude, ChatGPT or any client that supports MCP sign-in, add a connector or custom server with this address:

https://mcp.goomzo.africa/mcp

The app opens Goomzo. Sign in, check the business, and choose what the agent may do: viewing everything and sending messages are ticked. Sending broadcasts, managing webhooks, renaming or adding businesses, and seeing or managing the team and the activity log are not: tick them only for an agent that needs them. Set its daily send limit (below), then select Allow.

  • Only an owner or admin can connect an agent, and it stops working if that person stops being one.
  • The agent never gets more than what was ticked, and can never delete customers or change segments.
  • It acts as the person who connected it: it can't remove that person, change their role, or rename another business.
  • It takes instructions only from that person: text in customers' messages, emails or web pages is never an instruction to invite someone, add a webhook or send.
  • Connecting the same app again replaces the earlier connection.
  • Settings → Connected apps lists every connected agent, who connected it and when it was last used. Disconnect one there and it loses access at once.

Connect with an API key

For Claude Code, Cursor, a custom agent, or anything else that sends its own header:

  1. In Goomzo, open Settings → API keys and make a key for the agent. Choose its permissions: a support agent needs View customers, View messages and Send messages; a reporting agent only the view ones. Give it a daily send limit (below).
  2. Add the server to the agent, with the key's secret as the bearer token:
https://mcp.goomzo.africa/mcp
Authorization: Bearer gzk_…

In Claude Code:

claude mcp add --transport http goomzo https://mcp.goomzo.africa/mcp --header "Authorization: Bearer gzk_…"

In Cursor, or any client with an mcp.json:

{
  "mcpServers": {
    "goomzo": {
      "url": "https://mcp.goomzo.africa/mcp",
      "headers": { "Authorization": "Bearer gzk_…" }
    }
  }
}

A custom agent uses any MCP client library with the streamable HTTP transport and that header. A sandbox key works the same way: its sends reach no one and cost nothing.

The server keeps nothing between requests and holds no keys: every request carries the agent's own key or token, which it passes to the API unchanged.

Tools

The agent sees only the tools its permissions allow. whoami, about_goomzo and developer_guide are always there. organization.manage, team.read, team.manage and audit.read act as the person who connected the agent, so only an agent connected by signing in can have them, never an API key.

On connecting, the server tells the agent what Goomzo is and how to work with the business's records: use them as evidence, never invent activity, and don't take a sent message as delivered. about_goomzo (also the resource goomzo://guide) gives the fuller guide, written for what that connection may do, so a read-only agent is never told it can send.

ToolDoesPermission
whoamiThe business, the key's permissions, what its daily send limit leaves; the balance and plan if allowednone
about_goomzoHow Goomzo works, its definitions, each channel's rules, and what this connection can donone
find_customers, get_customerSearch by name, phone, email or detail; one customer with their segments and recent activitycustomers.read
save_customerAdd a customer, or change one; put them in segments by name. Never merges or deletescustomers.write
list_viewsThe saved views (queries over customers); find_customers with a viewId lists who one matchescustomers.read
save_viewSave a view for the team, or change one. Never deletescustomers.write
record_activityRecord what a customer did: a purchase, a visit, a paymentactivity.write
get_customer_timelineEverything that happened with one customer: what they did, messages either way and how each went, notes, when they were addedactivity.read
add_customer_noteWrite a note about a customer, such as a summary of a conversation; mention teammates to tell themnotes.write
list_activity, summarize_activityWhat customers did across every customer, by kind, customer, text or time; each kind counted in a periodactivity.read
list_conversations, read_conversation, get_attachmentThe inbox, a customer's messages either way, and a photo they sentmessages.read
list_messages, get_message, list_templates, list_sendersWhat was sent and where it stands; the templates and senders to send withmessages.read
get_template, template_guide, preview_emailA template with its design; how to write good templates; an email design checked and read as text, with what to improvemessages.read
save_templateWrite or change an SMS, email or WhatsApp template; a new WhatsApp template goes to Meta for reviewmessages.send
send_message, cancel_message, mark_readOne message to one person: text, a saved template, or a WhatsApp templatemessages.send
list_segments, preview_segmentThe segments and their sizes; who a set of rules would matchsegments.read
estimate_broadcastHow many people a broadcast reaches and what it costs, before sendingmessages.read
send_broadcast, cancel_broadcastOne message to segments, a list of addresses, or everyone, now or scheduledbroadcasts.send
list_broadcasts, get_broadcastBroadcasts and how each wentbroadcasts.read
get_analyticsCustomer and engagement figures for a period, against the period beforeanalytics.read
get_setupWhere the business is in the setup guide, and the next stepnone (sign-in only)
developer_guideHow a developer makes an API key, secrets, key pairs and tokens, and uses the SDKs and webhooksnone
rename_business, create_businessRename this business; add another owned by the person who connected the agentorganization.manage
list_teamThe team, their roles and open invitationsteam.read
invite_teammate, change_teammate_role, remove_teammate, cancel_invitationInvite people as admins or members, change roles, remove them, cancel invitationsteam.manage
read_audit_logWho did what in the business, and whenaudit.read
list_webhooks, save_webhook, delete_webhookThe webhooks; add, change or delete one. Secrets stay in the appwebhooks.manage

Results are compact JSON in the API's own names, with ids the next call can use. An error comes back the way the API says it, with its code and the fields at fault, so the agent can correct the call rather than retry it blind.

Not there, on purpose: importing, exporting, deleting and merging customers; creating or changing segments; making API keys; billing and payments. Those are a developer's or an owner's work; developer_guide explains to a developer how to make a key. A key with customers.delete still can't delete through the server.

Sending

  • send_message and send_broadcast need an idempotency key from the agent (an order number, a task id), so a retried call never sends twice.
  • A WhatsApp text reaches someone at once only inside the 24 hours after they last wrote. Outside it, the message waits for them to open the conversation, and the result says so; a WhatsApp template is the way to reach them now.
  • The daily send limit caps how many people the agent messages in any 24 hours, one-to-one messages and broadcast recipients together. Past it, a send is refused with send_limit_reached and the numbers. Set it when connecting, or on the key, and keep it close to what the agent's job needs.
  • Every send counts against the business's SMS credit or its own WhatsApp account, like any other. estimate_broadcast says what a broadcast would cost before it goes.

Next steps

Last updated