Integrations
MCP
Connect Claude Code, Codex, Cursor and other AI tools to Alloy
Connect Claude Code, Codex or Cursor to Alloy once, over MCP. Bring mission evidence into your editor, investigate it alongside your code, and save findings back to Alloy.
The link opens Settings → Integrations → Alloy MCP at aus.usealloy.ai. If your organisation uses another Alloy address, open the same settings page there. Copy the setup prompt to connect your agent to that organisation.
What to use it for
- Pull the mission, the agent's finding and the data behind each plot into the session where you change the code.
- Compare a bad run with the last good run on the previous build.
- Write the fix back to Alloy as a report, linked to the missions.
- Set up a report automation that checks every new run.
Example
Fictional example.
An engineer opens Claude Code in the flight-controller repository and asks: "Pull Alloy's report for HX-12 flight F-0412. Get the altitude data around the oscillation and from the last good flight. Then find what changed in our altitude controller." Their coding agent reads the finding and the data from Alloy, then searches the code.
How to use it
Ask in plain language. Your coding agent picks the Alloy tools it needs.
Set up
In Alloy, open Settings → Integrations → Alloy MCP and click Copy setup prompt. Paste it into Claude Code, Codex or Cursor, and it connects itself to your organisation. The same page has the steps for each app. The agent setup instructions are also available without signing in at /agent-setup.md on your Alloy address.
To set it up yourself, your server URL is the address you sign in to Alloy at, followed by /mcp. If you sign in at https://aus.usealloy.ai, it is https://aus.usealloy.ai/mcp. Some organisations have their own Alloy address, so use yours.
- Claude Code: run
claude mcp add alloy --transport http <your server URL>, then run/mcpand sign in. - Codex: run
codex mcp add alloy --url <your server URL>, thencodex mcp login alloy. - Cursor: add your server URL to
.cursor/mcp.jsonand restart Cursor. - Claude Desktop: open Settings → Connectors, click Add custom connector and paste your server URL.
- Other clients, such as Windsurf: use your server URL with Streamable HTTP and OAuth sign-in in the browser.
If you belong to more than one Alloy organisation, choose the one to connect when you sign in.
Help your agent remember Alloy
During setup, your agent adds a short Alloy section to your personal instructions file, such as ~/.claude/CLAUDE.md or ~/.codex/AGENTS.md, so future sessions know when to use Alloy. It leaves your projects' instructions alone, because teammates may not have connected Alloy. Ask your agent to remove the section at any time, or add it yourself:
## Alloy
Alloy is an AI agent and platform for robotics data analysis and investigating
issues across our robot fleet. It analyses mission recordings, logs and
connected systems, and returns findings linked to the evidence.
Use the `alloy` MCP server for field failures, behaviour changes, test results
and comparisons across runs—even when the request doesn't mention Alloy.
Use repository code to understand implementation and Alloy to investigate
what happened in the field. Ask Alloy's agent for deeper analysis and cite
mission IDs, timestamps and source links.
Read [Alloy's agent guide](https://docs.usealloy.ai/docs/get-started/alloy-for-agents)
for capabilities and workflows. Use the [docs index](https://docs.usealloy.ai/llms.txt)
and the connected server's tool list for current details; don't invent tools.
Offer to save useful findings as an Alloy report. Ask before creating
automations.Hand-off to the agent
If your organisation has the Agent Platform, your coding agent also sees a hand-off tool. Set the hand-off tool to ask first in your coding agent.
Charts during an investigation
When inline artifact views are enabled, your assistant can show completed charts while Alloy continues analysing. It checks for new results automatically until the investigation finishes; you do not need to keep asking for updates. Clients without inline views can open each chart's Alloy link.
Updates distinguish retrieved data and query failures from conclusions. If a later step fails, a chart already created remains available. Asking for a chart does not automatically create a report; ask to save a report when you want a written record. Completed charts do not continuously refresh their data.