Build the agent
Agentmatica connector for Claude
The Agentmatica connector lets you set up and train your store's chat agent from Claude. Give Claude your website address and it creates the agent and hands you the install code. Tell it how shoppers should be handled and it writes the rules, checks them and saves them once you agree.
What can Claude do with Agentmatica?
- Create an agent for your website, tell you when it has finished reading the site, and give you the code to install it. On a connected Shopify store you get the app embed steps instead.
- Show the agents you can edit and the rules each one already has.
- Turn plain instructions into training rules. Before saving, Claude checks them against your saved rules for gaps, duplicates and clashes.
- Rewrite a rule instead of adding a near copy, switch rules off, or delete them. Claude asks you before switching off or deleting.
How do I connect Claude to Agentmatica?
Use this server URL:
https://agentmatica.com/api/mcp/trainClaude on the web and desktop
- Open Settings → Connectors and choose Add custom connector.
- Name it Agentmatica and paste the server URL. Leave the advanced OAuth fields empty.
- Choose Connect. An Agentmatica sign-in page opens. Sign in, check that the request names Claude, and approve it.
- In a new chat, check that Agentmatica is switched on in the tools menu, then ask "show me my agent's rules" to start.
Claude Code
claude mcp add --transport http agentmatica https://agentmatica.com/api/mcp/trainRun /mcp, pick agentmatica and sign in in the browser window that opens. You don't need an API key.
If you don't have an Agentmatica account yet, the sign-in page creates one on the Free plan and brings you back to approve the connection.
Example prompts
- "Set up an Agentmatica agent for https://example.com and tell me when it's ready to install."
- "What training rules does my agent have right now?"
- "When someone buys the harness, suggest the matching leash. Check this against my existing rules before saving."
- "Never promise delivery dates. Point shoppers to the shipping page instead."
- "Switch off the rule about the summer sale, it's over."
Which tools does the connector have?
Read tools run as soon as Claude calls them. Claude may ask you to approve the tools that change your agent before they run.
| Tool | What it does | Changes data |
|---|---|---|
list_agents | Agents you can edit, with their website and workspace. | No |
create_agent | Creates an agent for a website and starts reading the site. If that website already has an agent, returns it instead. | Yes |
get_agent_status | Whether the site has been read, how many pages it has, whether the chat is on, and whether it has been seen on the website. | No |
get_install_code | The install snippet, or the Shopify app embed steps. | No |
get_training_guide | The rule format and the workflow Claude follows. | No |
list_rules | An agent's saved rules, newest first. | No |
check_rules | Dry run. Validates rules and reports clashes and likely duplicates without saving anything. | No |
save_rules | Adds new rules, which go live straight away. | Yes |
update_rule | Rewrites one saved rule. | Yes |
set_rules_enabled | Switches rules on or off. | Yes |
delete_rules | Deletes rules. | Yes |
Saved rules show under Knowledge sources → Training with an Added from assistant label. You can edit, switch off or delete them there like any other rule.
What can the connector access?
- It works as you. It reaches only the agents you can edit, and workspace viewers stay read-only.
- Every rule goes through the same checks as rules saved in the dashboard, including the limit of 100 rules per agent. A rule that clashes with one you already have is refused unless you confirm it.
- It has no tools for chats, customers, orders, billing or settings.
- You sign in on Agentmatica's own page, so Claude never sees your password.
Our privacy policy covers how we handle your data.
How do I disconnect Claude?
Go to Account → Connected assistants and choose Disconnect. Claude loses access at once. Rules it already saved stay until you remove them. You can also remove the connector from Claude's settings.
Troubleshooting
- If Claude can't find any agents, you may have signed in with a different email from the one your agent belongs to. Disconnect, then connect again with that account.
- If the chat stops just before saving, Claude is probably waiting for you to approve the tool. Look for the approval prompt in the chat.
- If Claude asks you to sign in again, the connection was removed or its sign-in ran out. Reconnect from Claude's connector settings.
Common questions
What does the Agentmatica connector for Claude do?
It lets you set up and train your Agentmatica chat agent from Claude. Claude can create an agent for your website, tell you when it has read the site, give you the install code, and turn your instructions into training rules that go live once you agree.
Does the Claude connector cost extra?
No. It works on every Agentmatica plan, including Free. Agents it creates count toward your plan's agent limit, the same as agents made in the dashboard.
Can Claude see my shoppers' chats, customers or orders?
No. The connector has no tools for chats, customers, orders, billing or settings. It can reach your agents, their setup status and their training rules, and only for agents you can edit.
Do rules saved from Claude go live straight away?
Yes. Saved rules apply to your live agent at once and show under Knowledge sources, Training with an Added from assistant label, where you can edit, switch off or delete them.
Does it work in Claude Code?
Yes. Add https://agentmatica.com/api/mcp/train as a remote HTTP server, then sign in from the /mcp menu. No API key is needed.