Connect an AI assistant to Amiril
Add Amiril's MCP server to Claude Code, the Claude app, Cursor, VS Code or ChatGPT. Sign in with your Amiril account, then ask about your agents.
Your AI assistant connects to Amiril's MCP server over HTTP and signs in as you. It can then answer questions about your agents from the runs and traces in your workspace.
Pick a server URL
The server has two URLs. Use the first unless the assistant should only read.
| Server URL | What the assistant can do |
|---|---|
https://api.amiril.ai/mcp | Every tool, including the ones that save rules and upload trace files |
https://api.amiril.ai/mcp/readonly | Read only. It offers no tool that changes anything |
The app shows both under MCP server, at the foot of the sidebar.
Add it to your assistant
The steps below use the first URL. For read-only access, paste https://api.amiril.ai/mcp/readonly in its place.
Run this in a terminal:
claude mcp add --transport http amiril https://api.amiril.ai/mcpThen type /mcp in Claude Code and choose Amiril to sign in.
Sign in
Claude Code opens the Amiril sign-in page when you choose Amiril under /mcp. Other assistants open it the first time they connect, or show a button that does. Sign in with your Amiril account. If you belong to more than one workspace, pick the one the assistant should work in. To switch later, remove the server from your assistant and add it again.
Try it
Ask your assistant about your own agents. If your workspace has no runs yet, send your first trace first.
Which runs of my agents stood out most this week, and why?The assistant finds the runs with the highest rarity, which is how unusual a run is for its agent. For each run, it reads what made the run unusual and then the steps of its trace.
Upload trace files
Ask the assistant to import a Langfuse export. It gets an upload URL from Amiril and sends the file there with curl, so the file never passes through the conversation.
The assistant needs a shell to run curl. Claude Code, Cursor and VS Code use your terminal. In Claude on the web or the desktop app, first allow storage.googleapis.com in Settings under Capabilities. ChatGPT has no shell for this, so upload the file on the Data page instead.
Check what the assistant can change
The assistant acts as you, with your role. A member can read, review runs and build dashboards. Saving a rule, uploading a trace file and most other changes need the admin role, and Members and roles lists them all. API keys, members, invitations and workspace settings stay in the web app. No tool reaches them.
For the riskier changes, such as publishing a rule or deleting a dashboard, the tool's description tells the assistant to ask you first. That is an instruction to the assistant, not a check Amiril makes. If the assistant should never change anything, use the read-only URL. Amiril MCP server tools lists the changes that ask first.
Anyone who uses your agent can type instructions into it, and that text ends up in your traces. Amiril sends trace content to the assistant in a field marked untrusted, and its instructions say never to follow instructions found there.
Next steps
Amiril MCP server tools
Every tool on Amiril's MCP server, grouped by what it is for. See which tools change data and which changes the assistant asks you about first.
Give your AI assistant Amiril's docs with llms.txt
Every page of Amiril's docs is Markdown, listed in llms.txt. Your AI assistant can fetch or search them, and a note you add to your AGENTS.md tells it where.
Amiril MCP server for AI assistants
Connect Claude Code, Cursor or another AI assistant to Amiril's MCP server. The assistant can then read your traces, draft rules and search these docs.
Get help with Amiril
Ask a question in the Amiril Discord server, or email support when it is private. See what to include so the first answer is a useful one.
Last updated on