Skip to main content
The AgentaOS MCP server gives your AI agent the same operations as the agenta CLI: account status, the Revenue & Pricing Audit, products, checkouts, verification, subscriptions, discount codes, customers, invoices, and the businesses you manage. The CLI commands and the MCP tools come from one catalog, so each tool has a matching command with the same inputs and the same answer.

Connect your agent

Start in the dashboard: open Developers → API keys in the sidebar and click Connect an AI agent. The Set up your AI agent dialog asks “Where does your agent run?” and shows the steps for the client you pick.
The Set up your AI agent dialog in Settings. The Claude Code tab is selected next to Cursor, ChatGPT, Claude.ai and Other. Step 1, Install the plugin, shows two claude plugins commands with copy buttons. Step 2, Approve it here, says to type /mcp, choose agentaos, then Authenticate, and pick Test or Live on the AgentaOS page.

The Set up your AI agent dialog with Claude Code picked: install the plugin, then approve it in AgentaOS.

Every client that can open a browser uses the hosted server at https://mcp.agentaos.ai/mcp. You approve the connection once, on an AgentaOS page, and you pick Test mode or Live mode there. You paste no key.
Install the AgentaOS plugin. It adds the hosted server and a skill that teaches your agent the tools.
In Claude Code, type /mcp, choose agentaos, then Authenticate. An AgentaOS page opens in your browser: pick Test or Live and press Approve.To check the connection, run:
The list shows agentaos: https://mcp.agentaos.ai/mcp (HTTP) - Connected.
Connect Claude.ai or ChatGPT also covers the approval page, how to switch from Test to Live, and how to disconnect. Those steps are the same for every client on the hosted server.

Agents that cannot open a browser

A headless agent or a CI job runs the server on its own machine instead, with an API key. The server needs Node.js 20 or later.
1

Create a test key

With the dashboard in test mode, open Developers → API keys in the sidebar, click Connect an AI agent and choose Other. Click Generate one named Other agent, then Create key. Copy the key: the dashboard shows it only once. It stays under API Keys with the name “Other agent”.
2

Add the server

Add an MCP server named agentaos that runs npx -y agentaos, with the key in AGENTAOS_GATEWAY_KEY:
In Claude Code, one command does the same:
3

Give your agent the guide

Point your agent at https://agentaos.ai/SKILL.md. It teaches the agent the tools and when to use each one.
A test key (sk_test_) sees test data only, so the agent cannot move real money.

Tool answers

Every tool answers twice: a plain sentence written for you, and the same result as JSON for code. The sentence is the one the CLI prints. The JSON is what the CLI prints with --json.

Tools

The server has 31 tools. The CLI column is the same operation in the terminal.

Account and going live

Products and checkouts

Subscriptions and discount codes

Customers and invoices

Businesses you manage

For platforms only.

Act as a business you manage

If you run a platform, every tool takes an optional business input: the id of a business you manage. The tool then acts as that business instead of as you. Leave business out to act as yourself. In the CLI, the same input is --business <id>.

Next steps

Connect Claude.ai or ChatGPT

Approve the connector, switch to Live, and disconnect.

Run your store from an agent

The walkthrough, from the first prompt to a paid checkout.

CLI

The same operations from your terminal.

Platforms

Manage your clients’ businesses.