Skip to guide
Macaron Docs

Set up and run Macaron from your agent

Connect Claude Code, Codex, Cursor, VS Code, Claude or ChatGPT, and let it set up Macaron, change your site and analyze how it does.

Connect Claude Code

Run the command, then use /mcp inside Claude Code and sign in.

claude mcp add --transport http macaron https://macaron.sh/api/mcp/account

Connect Codex

Add the server, then sign in.

codex mcp add macaron --url https://macaron.sh/api/mcp/account
codex mcp login macaron

Connect Cursor

Add this to .cursor/mcp.json, then sign in from Settings, MCP.

{
  "mcpServers": {
    "macaron": { "url": "https://macaron.sh/api/mcp/account" }
  }
}

Connect VS Code

Run the command, then start the server and sign in.

code --add-mcp '{"name":"macaron","type":"http","url":"https://macaron.sh/api/mcp/account"}'

Connect Claude or ChatGPT

Add a custom connector with the address https://macaron.sh/api/mcp/account and sign in. The approval page shows where access goes; the name on it is whatever the app calls itself, so continue only if you started the connection.

Set up a project

In your project, ask: use the Macaron MCP to set up Macaron here. The agent adds your app, gets the install code for your framework, puts it in your project, checks that it works once deployed, turns on measuring, and chooses a goal and funnels. It can also turn on customer chat, Watch and nightly problem checks. In Claude Code this is the set_up prompt.

Improve it

Ask what to improve next. The agent ranks what is worth doing with its numbers, reads your pages, and changes one thing, best as an A/B test so you know whether it worked. The improve and weekly_review prompts do this.

Choose what it may do

Start from Read only, Ask me first or Full control, then change any one permission. For banners, words on pages, A/B tests, surveys and flags, choose Off, Ask me (a draft you approve) or Right away. Goals and funnels, checks and issues, draft replies, and adding apps or turning measuring and chat on are separate. Reading and changing are separate too: an agent can read every app and change only some. Your agent’s own permission prompts still apply.

What it can never do

See your keys, passwords or secrets, change billing, spend money, use your AI key, or start a run or test customers. A reply to a customer is always a draft you send yourself, because an agent reads messages from strangers and one of them may try to give it instructions.

Plans

Setting up, measuring and reports work on every plan, for your first app or website on Free. Banners, flags, surveys, text changes and experiments are part of Pro, as they are in Macaron.

Use a key instead

For a script, or an agent that cannot sign in, open Settings, Agents and choose New key. The key is shown once. Send it as a Bearer token.

claude mcp add --transport http macaron https://macaron.sh/api/mcp/account --header "Authorization: Bearer mck_…"

Disconnect and review

Settings, Agents lists every connection, what it may do, when it was last used and the tools it called. Site changes name the agent that made them. Disconnect ends access immediately.