Docs · MCP server
Connect AI agents to CoreAutomata (MCP)
CoreAutomata runs a remote Model Context Protocol (MCP) server. Connect Claude or another MCP client and it can list your projects, look at builds and the captured screen map, run your test cases or natural-language checks on your own real Android and iOS devices, read failure evidence, and save a passed check as a draft test case for review.
CoreAutomata is a proprietary, commercial service. You need a CoreAutomata account and at least one paired Android or iOS device to run tests.
| Server URL | https://api.coreautomata.com/mcp |
|---|---|
| Transport | Streamable HTTP |
| Sign-in | OAuth in your browser, or a scoped CoreAutomata API key |
| Tools | 13: 9 read-only, 4 that start, cancel or save something |
| Support | support@coreautomata.com |
What it does
- Ask about your app. List projects, open the latest build, search the captured screen map, find the path to a screen, compare two builds.
- Run on real devices. Start a run of library test cases (by ids, tag, folder or the smoke set) or check 1-10 plain-English intents on one of your paired devices. Every start can be estimated first with a dry run.
- Triage. Read the run summary and the failure report: failing step, evidence links, the compare bucket (newly failing, flaky, ...) and a suggested triage.
- Save. Save a passed intent as a draft library case. Drafts are not run as automated tests until a person on your team approves them.
The server cannot read files on your computer. To upload a local .apk, .xapk or .ipa from an agent, use the CoreAutomata CLI (npx @coreautomata/cli@0.2.0 upload) or its local MCP server, which adds an upload_build tool. Uploads use the REST API, so they need a scoped API key even if you connected with OAuth.
Connect
Claude (web, desktop and mobile apps): OAuth
- In Claude, open Settings → Connectors → Add custom connector.
- Paste
https://api.coreautomata.com/mcpand choose Connect. - Sign in to CoreAutomata if you are signed out (you can create an account here too), review the request and approve it.
The connector then appears in Claude Desktop and the Claude mobile apps on the same Claude account. Custom connectors need a Claude plan that allows them.
Claude Code: OAuth or an API key
With OAuth, add the server without a key, then authenticate from inside Claude Code:
claude mcp add --transport http coreautomata https://api.coreautomata.com/mcpRun /mcp, pick coreautomata and choose Authenticate. Your browser opens the CoreAutomata sign-in page, which shows Claude Code as Verified · runs on your computer and sends you back to localhost.
With an API key, create a scoped key on the Integrations page of the web app, add export COREAUTOMATA_API_KEY=cai_... to your shell profile with an editor (so the key stays out of shell history), open a new terminal, then:
claude mcp add --transport http coreautomata https://api.coreautomata.com/mcp --header 'Authorization: Bearer ${COREAUTOMATA_API_KEY}'Use one of the two commands, not both: they share the name coreautomata.
Cursor, VS Code and other MCP clients: API key
OAuth sign-in is tested with Claude (web and desktop) and Claude Code. Other clients that support MCP OAuth may work but are not tested yet, so connect them with a scoped API key in an Authorization: Bearer header. The Integrations → Connect page in the web app shows the exact configuration for Cursor, VS Code, Codex, Gemini CLI and Claude Code. For example, Cursor (~/.cursor/mcp.json, reading the key from your environment):
{
"mcpServers": {
"coreautomata": {
"url": "https://api.coreautomata.com/mcp",
"headers": { "Authorization": "Bearer ${env:COREAUTOMATA_API_KEY}" }
}
}
}Never put a key in a file inside a repository or paste it into a shared screen.
Signing in with OAuth
When a client connects without a key, CoreAutomata opens a sign-in and approval page in your browser. Signing in this way is open to every CoreAutomata account. Nothing is shared until you approve.
- Who is asking. The page names the app by its web address (for example
claude.ai), not by the name the app gives itself. Apps CoreAutomata recognizes are marked Verified; every other app is marked Unverified app and shows where it will send you back. If you did not just start a connection from that app, deny. - What it may do. Pick the permissions (below). Read is always included. Verified apps and apps that send you back to your own computer (Claude Code, Claude Desktop) start with the permissions they asked for ticked, usually Read and Run tests and intent checks. An unverified app that sends you back to a website starts read-only: Run tests and intent checks and Save drafts to the library are unticked, and you can tick them.
- Which projects. Pick one or more of your projects, or All my projects (including ones you join later). Nothing is pre-selected.
- Limits. Under Advanced: monthly agent actions (default 50), daily device minutes (default 120), concurrent runs (default 2) and natural-language intent runs (off by default). The values shown are applied even if you never open Advanced.
The app receives its own short-lived tokens, never your password or an API key. An approval lasts up to 90 days from your latest approval. It ends sooner if the app has not used it for about five weeks. Reconnecting from the app renews it. OAuth tokens work only with the MCP server, never with the CoreAutomata REST API.
Connected apps and revoking access
Integrations → Connected apps in the web app lists every app you approved: its web address, permissions, projects, agent actions used this month, when it was last used and when the approval expires. Disconnect takes effect on the app’s next request: its tokens stop working at once, so that request is refused and the app asks you to connect again. Runs it already started keep going.
API keys are revoked the same way from Integrations → Keys.
Permissions and costs
| Permission | Lets the agent | API key scope |
|---|---|---|
| Read | List and read projects, builds, app maps, test cases, devices, runs and failure reports | read |
| Run tests and intent checks | Start and cancel runs (spends agent actions) | run |
| Save drafts to the library | Save a passed intent as a draft test case for review | author |
Your role on each project still applies: for example, starting runs needs Reporter or higher, and intent runs need Developer or higher plus intent runs allowed on the project and on the key or connection.
If a connection lacks a permission a tool needs (a read-only connection starting a run, for example), CoreAutomata asks the app to request it. Claude shows the approval page again with that permission pre-ticked; in Claude Code, run /mcp and authenticate again.
Costs. Reads are free and rate-limited. Runs use your plan’s monthly agent actions: one per test case or intent dispatched to a device (plus one per retry). Items that never start are refunded. An agent can call any start tool with dry_run first to see the estimate and your remaining allowance; nothing is charged for a dry run. A key or connection can carry its own monthly budget, daily device minutes and a cap on open runs.
Tools
Read-only (annotated read-only, so a client can allow them without asking):
| Tool | What it does |
|---|---|
list_projects | Projects you can use, with the latest build and last run |
get_project_overview | Recent builds and runs, 30-day pass rate, devices online, case counts |
get_build | One build and its analysis state; can wait while discovery runs |
explore_app_map | Search the captured screen map, or find a path between two screens |
search_test_cases | Library cases by title, tag or folder, and whether each runs on a build |
compare_builds | Case results between two builds (newly failing, fixed, flaky, ...), optionally the screen diff |
list_devices | Your paired devices with online and busy status |
get_run | Status, summary, charges and failures of a run; can wait for it to finish |
get_failure_report | Failing step, evidence links, compare bucket and a suggested triage |
Write (your client asks before calling these unless you allow them):
| Tool | What it does |
|---|---|
start_run_plan | Run test cases on devices, or estimate the run with dry_run |
start_intent_run | Check 1-10 plain-English intents in order on one device, or estimate with dry_run |
cancel_run | Cancel a run; items not started are refunded |
promote_to_library | Save a passed intent as a draft library case (pending review) |
The two start tools are marked destructive: a run drives the real app on a real device and can change its data and accounts. Use test accounts and a test device.
The server also offers two prompts (triage_latest_run, release_readiness) and read-only resources for a project’s context, a build’s app map and a run’s report.
Run report viewer
In clients that support MCP Apps (Claude, for example), get_run, get_failure_report and explore_app_map can show a read-only viewer inline: the run report, the failure evidence with its screenshot, or the screen map. The viewer only shows the result your client already received and never starts, cancels or changes anything. Clients without MCP Apps support get the same structured result as text.
Shared project devices
A device owner can share one of their paired phones with a project, so teammates and their agents can run that project’s test cases on it without owning the phone.
- Only the owner shares, and only with a project where they are Developer or higher. The owner, or a project Manager or Owner, can remove the share at any time.
- Teammates with Reporter or higher can run test cases on it. They can never mirror, screenshot or control the phone on the Board.
- Two options per share, both off by default: allow AI agent (intent) runs (Developer or higher), and let Auto device selection pick the phone.
- While the owner has the phone open in a live mirror on the Board, teammates’ runs on it are refused (
DEVICE_BUSY) and Auto skips it. - Agent actions and device minutes are charged to the teammate who starts the run.
Runs record screenshots (and video, when enabled) of whatever is on the phone’s screen, including other apps and notifications. These are stored in the run report, where people and agents with access to the project can see them. Share a dedicated test device with no personal accounts on it.
Data handling
- What an AI client sends. The tool name and the arguments the agent chose (for example a project id, a search query or the intents to check), and the client’s self-reported name or user agent. CoreAutomata does not receive your conversation with the AI client, and does not read your Claude memory or chat history.
- What CoreAutomata returns. Project, build, run and test-case data you can access through the key or connection. Screenshot and video links are signed and expire after 5 minutes, but the link text stays in your conversation history. Text captured from your app or written by people is labelled as data, not instructions.
- What we keep. Each tool call is logged for your activity view and for security (operation, project, outcome, agent actions charged, client name), kept for 90 days. OAuth codes and tokens, client secrets and API keys are stored only as one-way hashes. The approval itself (the app, permissions, projects and limits you chose) is stored so it can be shown under Connected apps. Runs and drafts the agent creates are stored in your project like any other run or case.
- Your AI client. Results an agent receives are processed by your AI client and its provider under their own terms.
The Privacy Policy has the full details, including the section “AI clients and MCP”.
Support
Email support@coreautomata.com. When a tool call fails, include the request_id from the error. Agent activity for each key and connected app is listed under Integrations → Activity in the web app.