REST API · MCP server · CLI

Every action is an API call, an MCP tool and a CLI command

Set up each new client with a script or an AI assistant, instead of the same clicks every time. Claude, ChatGPT, Cursor or your own code can build, publish and roll back workflows, send messages and book appointments. They act only within the rights you give them.

MCP Harbor Dental · read and write, cap $5 a day

Build a missed-call text-back for Harbor Dental. Only text during opening hours

  1. workflows.create “Missed call text-back” draft
  2. workflows.update missed call → wait 1 min → SMS 3 steps
  3. workflows.send-windows.update 8:00–20:00, clinic time saved
  4. workflows.validate draft no problems
  5. workflows.publish Harbor Dental version 1, live

Published as version 1. If anything looks wrong, workflows.rollback brings back the previous version.

Coverage

Actions in madOS
760
On the REST API
722
On the MCP server
714
On the CLI
711

A person does the other actions in the app, such as a voice chat with the assistant or a sign-in to the team app.

Workflows you can build from code

Copy one client’s automations to the next client with a script. Or ask an assistant to fix and publish them. A draft does not change the live version until you publish it.

  • workflows.create Create a workflow in any sub-account that you have access to
  • workflows.update Change the triggers, steps and branches of a draft
  • workflows.export / workflows.import Copy the full definition of a workflow from one client to another
  • workflows.publish Validate a draft and publish it as a new version
  • workflows.versions.compare See what changed between two versions
  • workflows.rollback Go back to an earlier version with one call

One tool definition, three ways in

We generate the API, the MCP server and the CLI from the same tool definitions. The three stay in step, and each one checks the same permissions.

REST API

  • Each action is a REST call with the same permission check as the MCP server and the CLI
  • Dated API versions. You pin a version for each key and each app
  • One error format, cursor pagination, and a result for each item in a bulk call
  • Each change has an operation ID. A retry returns the saved result and does not act twice
  • We generate the docs and show them under your brand

MCP server

  • Each brand has one MCP address on its own domain. Clients connect to your domain
  • An assistant signs in on a connect screen. By default, it gets read and draft rights. A person must choose full access
  • Each grant sets the sub-accounts, the tools, a spending cap, an expiry date and an optional send limit
  • Core tools search, read, create, update and delete records, send messages and book appointments. Discovery tools find and call every other action

CLI

  • We generate it from the same tools as the API and the MCP server
  • Sign in with a code from the web app. Keep sessions for several accounts at the same time
  • Output as plain text or JSON
  • The same permissions, approvals and operation IDs as the API and the MCP server

MCP coverage by module

The number of actions on the MCP server in each module, with example tools.

Module On MCP Example tools
Workflows 94 of 101 workflows.create, workflows.publish, workflows.enrol
Sites, funnels and blogs 70 of 71 links.create, payments.checkouts.create
Marketing and ads 42 of 42 ad-campaigns.create, ad-audiences.create
Contacts 34 of 34 contacts.create
Conversations 32 of 32 conversations.send
Payments 32 of 34 payments.coupons.create, payments.cards.charge
Phone and A2P 30 of 30 a2p-brands.create, a2p-campaigns.create
Calendars 27 of 27 calendars.bookings.create, calendars.bookings.reschedule
Reputation 26 of 26 review-requests.send
Agency and clients 26 of 28 clients.create
Opportunities 16 of 16 opportunities.upsert
Snapshots 6 of 6 snapshots.apply.preview, snapshots.apply
Brands 6 of 6 brands.create
Wallet 15 of 17 wallet.get, wallet.usage.list

Agents work within the rights you give

An assistant, a script or an installed app can never do more than the person who connected it. The activity log names the agent on each change it makes.

  • Roles and scoped keys

    Custom roles set what each person can view, create, edit, send or publish in each module. A scoped key reaches only the sub-accounts and permissions that you choose. It never gets more rights than the person who made it.

  • Approvals

    A person must approve each new key and each app that an agent installs. A call that needs approval returns a link, and a person approves it there.

  • Preview-only mode

    Turn it on for a client or a user. The in-app assistant then shows a preview card before each send, and a person must click it.

  • Workflows act as their publisher

    A workflow runs with the rights of the person who published its live version. madOS checks those rights again at each step.

  • Outside MCP servers

    Connect reviewed MCP servers to the assistant and to AI agents. Choose which of their tools each agent can use. Their results are data only and never add rights.

Connect Claude, ChatGPT or Cursor

Any assistant that supports MCP connects the same way, through your brand’s own MCP address.

  1. 1

    Add your brand’s MCP address to the assistant.

  2. 2

    Sign in on the connect screen. It shows your brand.

  3. 3

    Choose the sub-accounts, tools and rights for the assistant. Set a spending cap and an expiry date.

  4. 4

    Ask the assistant to do the work. If an action needs approval, you get a link to approve it.

Events, webhooks and routines

Your code reacts to changes in a client account as they happen. You do not need to poll.

  • Webhooks

    Subscribe to versioned events, such as a new contact or a received message. madOS signs each delivery. Each event has an ID, so your code can find repeats. Failed deliveries retry for up to 24 hours, and a log shows each attempt.

  • Routines

    Run an AI routine on a schedule, or start it from a record event, such as a new tag on a contact. A signed request to its own webhook address can also start it.

  • Zapier and n8n

    Connect them as apps with approved scopes. Their triggers are webhook subscriptions, and their actions are ordinary tool calls.

Compared with GoHighLevel’s API

GoHighLevel figures come from its published API spec, rate limit docs and API help article, checked 16 November 2026.

madOS GoHighLevel
Create and edit workflows Yes: create, update, import, publish, roll back No. One endpoint lists workflows by name, status and version
Add a contact to a workflow Yes Yes
Create a sub-account Yes Founder plan only, $497 a month
MCP server 714 of 760 actions, on your brand’s domain Yes. Users report gaps
Rate limits Quotas for each key, each user or app, and each sub-account 100 requests per 10 seconds and 200,000 a day
Source code Open, AGPL-3.0 Closed

GoHighLevel’s workflow endpoint returns the ID, name, status and version of each workflow. Users on HighLevel’s ideas board report the same gap in its MCP server. For the full comparison, see madOS as a GoHighLevel alternative.

Questions

Does madOS have an MCP server?

Yes. Each brand has its own MCP address on its own domain. 714 of the 760 madOS actions are MCP tools. An assistant connects through a screen where you choose its sub-accounts, tools, rights, spending cap and expiry date.

Can I create workflows through the API?

Yes. Through the REST API, the MCP server or the CLI, you can create a workflow and edit its steps. You can also import and export its full definition, publish it as a new version and roll it back.

Can an AI agent send messages without a person checking?

Only if you allow it. By default, a grant gives read and draft rights, and it can set a send limit and a spending cap. In preview-only mode, the in-app assistant sends nothing until a person clicks a preview card.

Does madOS have webhooks?

Yes. Apps subscribe to versioned events, such as a new contact or a received message. madOS signs each delivery and retries failed deliveries for up to 24 hours. A delivery log shows each attempt.

Can I connect Zapier or n8n?

Yes. They connect as apps with approved scopes. Their triggers are webhook subscriptions, and their actions are ordinary tool calls. They follow the same permissions and the same activity log as everything else.

How does this compare with the GoHighLevel API?

GoHighLevel’s published API has one workflow endpoint, and it only lists workflows. It also limits apps to 100 requests every 10 seconds and 200,000 a day. In madOS, every workflow action is in the API, the MCP server and the CLI.

Get API access at launch

Every plan, Free included, gets the API, the MCP server and the CLI.

Join the waitlist

We’re opening madOS to agencies in batches. The first 100 keep launch pricing.