Docs

Build with your AI assistant (MCP)

Connect Claude, ChatGPT, Codex, VS Code or any assistant that supports MCP to Magnetly, then ask it to build, change, publish and follow your tools.

On this page
  1. What the MCP server does
  2. Connect your assistant
  3. Build a tool
  4. Follow what it changes
  5. Credits and plans
  6. What your assistant can reach
  7. Disconnect an assistant

What the MCP server does

Magnetly has an MCP server: with the Model Context Protocol, an AI assistant you already use works in Magnetly on your behalf. Once connected, it can create tools, write their questions, their result and their look, add products, publish them, and read how they do.

It follows the same rules as Magnetly's own agent: each change is checked before it is saved, saved as a new version of the tool, and named after your assistant in Version history.

On the Connect plan, this is how you build: the editor has no chat, and the Dashboard's Copy prompt gives you a prompt for your assistant. On the other plans, your assistant works alongside Magnetly's chat.

Server URL
https://v2.magnetly.co/api/mcp

Connect your assistant

  1. In Magnetly, open Settings > MCP. Under Connect an assistant, copy the server URL, or open your assistant's card for its steps.
  2. Add the server in your assistant, as shown below.
  3. When your assistant asks, sign in to Magnetly and select Allow.

Your assistant then acts as you, in every workspace you're a member of. You connect it once for all of them.

Claude

  1. In Claude, open Customize > Connectors.
  2. Select Add, then Add custom connector.
  3. Paste the server URL, select Continue, then Add.
  4. Select Connect and sign in to Magnetly.

Claude Code

In your terminal
claude mcp add --transport http magnetly https://v2.magnetly.co/api/mcp

Then run /mcp in Claude Code, choose magnetly and sign in to Magnetly.

ChatGPT

  1. In the ChatGPT desktop app, open Settings > MCP servers, then Add server.
  2. Name it magnetly, choose Streamable HTTP and paste the server URL.
  3. Save, select Restart, then Authenticate and sign in to Magnetly.

Codex

In your terminal
codex mcp add magnetly --url https://v2.magnetly.co/api/mcp
codex mcp login magnetly

The second command signs you in to Magnetly.

VS Code

  1. Run MCP: Add Server from the Command Palette, then choose HTTP.
  2. Paste the server URL, name it magnetly and choose Global.
  3. When asked, sign in to Magnetly.

Other assistants

Any assistant that supports MCP servers by URL: add a custom MCP server, or connector, with the server URL, then sign in to Magnetly when asked.

Settings > MCP: the server URL with Copy, and a card per assistant with its setup steps.
Settings > MCP.

Build a tool

Ask in your own words, and name the workspace if you have several. Your assistant reads Magnetly's format reference, then:

  • creates the tool and saves its parts: the questions, what its AI knows, what the result holds, and how the result and the screens look;
  • reviews it with Magnetly's checks, which list what to fix;
  • publishes it, and gives you its link or the code to paste on your site.
Create a tool

In my Magnetly workspace, create a quiz for https://example.com that asks 5 questions about skin type and recommends 3 products from my shop. Ask for an email before the result, then give me the preview link.

Match a brand

Read the brand of https://example.com and apply it to my quiz.

Publish and share

Publish my quiz and give me the code of a popup that opens after 5 seconds.

Follow the results

How did my quiz do this month? Which screen loses the most visitors?

On Connect, Copy prompt on the Dashboard and Ask your assistant in a tool copy a prompt that already names your workspace and the tool, ready to paste. For what makes a tool convert, see Create a good magnet.

Follow what it changes

  • Each change is a new version of the tool. Version history shows "Changed by" your assistant, and you can restore an earlier version there.
  • A tool open in Magnetly updates by itself, with Updated by followed by your assistant's name and the version.
  • Until the tool is published, or while it has unpublished changes, each change comes with a preview link. Anyone can open it without an account for 24 hours, and its sessions stay out of Analytics.
  • Visitors keep seeing the published version until your assistant, or you, publish the changes.

Credits and plans

  • Reading is free: tools, versions, products, analytics and responses.
  • On plans with build credits, each change uses one build credit, and so does reading a website's brand. A change that changes nothing, or that Magnetly refuses, costs nothing.
  • Creating a tool and deleting are free, even at zero credits. At zero credits, other changes are refused until credits come back.
  • On Connect, your assistant's changes use no credits. A limit on changes per hour protects your workspace from a runaway loop.
  • Your plan's features apply as in Magnetly: a change that needs a feature your plan lacks, branching for instance, is refused with the plan or add-on that unlocks it.
  • Settings > Billing shows your assistant's changes on one MCP line.

What your assistant can reach

  • Every workspace you're a member of, with your rights there. It can't open your billing or delete your account; as owner, it can transfer a workspace to another member, which hands its billing over.
  • Never your visitors' contact details: analytics, answers and responses reach it without email, name, phone or LinkedIn.
  • Publishing, unpublishing, restoring a version, transferring a workspace, removing a member and every deletion are marked as destructive, so that your assistant can ask you first. Deleting a workspace also takes its exact name.
  • A read-only workspace, once a trial or a subscription has ended, refuses changes to its tools.

Disconnect an assistant

Settings > MCP lists the assistants connected to your account, with the date each was connected. In an assistant's menu, Disconnect removes its access at once. To use it again, connect it again.