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.
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.createCreate a workflow in any sub-account that you have access to
workflows.updateChange the triggers, steps and branches of a draft
workflows.export / workflows.importCopy the full definition of a workflow from one client to another
workflows.publishValidate a draft and publish it as a new version
workflows.versions.compareSee what changed between two versions
workflows.rollbackGo 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.
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
Add your brand’s MCP address to the assistant.
2
Sign in on the connect screen. It shows your brand.
3
Choose the sub-accounts, tools and rights for the assistant. Set a spending cap and an expiry date.
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.
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.