MCP Setup
MCP lets a supported client read your Claron projects, issues, screenshots, and captured diagnostic evidence. Use it to investigate a report without copying each evidence panel by hand. Overview: AI bug fixes and MCP.
Before you start
An eligible project role and either a read-only MCP key or supported OAuth connection.
What you get
Your client can read existing reports and evidence with read-only access.
Two MCP servers: your bugs and the docs
Claron has two MCP servers. They do different jobs, and you can connect both.
The evidence server (https://api.claron.dev/api/v1/mcp) reads your own projects, issues, screenshots and captured evidence. It needs a key or OAuth sign-in and the right project role. Most of this page is about it.
The docs server (https://claron.dev/mcp) reads these docs. It needs no account or key. Connect it when you want your coding agent to answer questions about setting up or using Claron, with the exact steps and commands from the docs instead of guesses. It has three tools: search_docs finds the right section, get_doc reads a full page or one section as markdown, and list_docs lists every page.
Access and read-only limits
Use a Claron account with an eligible effective role: project owner, developer, or tester. Workspace owner, admin, and manager authority applies only where it gives qualifying project access. A client or guest cannot use MCP for that project; finance or observer membership alone is insufficient.
Tools read existing data. They do not mark issues read, start investigations, create reports, capture screenshots, apply patches, or change statuses. Project visibility and current plan restrictions still apply.
Backend tools return correlation references and availability, not decrypted server evidence. Use an authorized device in Claron to unlock backend evidence.
Choose authentication and copy the endpoint
Open Settings → Developer & API → MCP setup
Copy the deployed MCP endpoint. The hosted Claron endpoint is https://api.claron.dev/api/v1/mcp; use the URL shown in settings if your deployment differs.
For a coding client, create an API key using the Read-only MCP preset (mcp:read)
Set CLARON_API_KEY in the environment that launches the client, keeping the key out of committed configuration.
For a hosted connector that supports remote HTTP MCP and OAuth, add the copied endpoint, select OAuth with automatic client registration, then sign in to Claron and approve the read-only consent request
Do not select unauthenticated access as a workaround.
Enable the server or connector in the client and restart or refresh its connection
Available connector controls depend on the client's account and organization settings.
Coding-client configuration
Settings supplies copyable configurations for Cursor, Claude Code, and Codex. These configurations reference an environment variable instead of storing the key in the file.
Connect a hosted AI app with OAuth
Hosted apps sign in with OAuth instead of a key. Each one registers itself with Claron automatically, then sends you to a Claron consent page that shows the app's name, where it will redirect, and what it can read. Choose Allow read-only access. Leave any static client ID or secret fields empty.
| App | Where to add it |
|---|---|
| Claude | Customize → Connectors → Add custom connector. Paste the endpoint, then Sign in now. |
| ChatGPT | Plugins → + → Add custom MCP server, with OAuth. Business and Enterprise workspaces may need an admin to allow custom servers. |
| Grok | grok.com/connectors → New Connector → Custom. Business and Enterprise accounts may need provisioning in the xAI console. |
| Gemini | Settings → Connected Apps → Custom apps. Availability depends on your Google account. |
Test the connection
Ask the client to list your Claron projects
Confirm that an expected eligible project is returned.
Ask it to list issues for that project and read one issue's evidence
Use a real issue UUID from Claron. A good first prompt is: read Claron issue <id> and tell me the likely cause. The agent should call get_issue_evidence, which fetches the issue and its console, network, environment and element evidence in one call.
Confirm a known captured console entry or screenshot
If an evidence section is unavailable, verify it in Claron rather than treating absence as a clean result.
| Tools | Use |
|---|---|
| list_projects, list_issues, get_issue | Find a project and inspect a report. |
| get_issue_evidence | Read selected console, network, environment, element, session, and backend-reference sections in one bounded response. |
| get_screenshot | Read a saved before/after, element/full-page screenshot. Missing variants are reported explicitly. |
| get_console_logs, get_network_requests, get_network_request | Inspect recorded diagnostics. Request IDs must come from the same issue's request index. |
| get_session_context, get_environment, get_element_context | Read saved activity, browser/release context, and element details. |
| get_backend_evidence_references | Read exact correlation references and encrypted-evidence availability. |
Authentication and missing evidence
For a 401, check that the key is active, unexpired, and available in the client's launching environment; reconnect an expired OAuth connection. SDK credentials and extension device tokens are not MCP credentials.
For a 403 or a missing project, check mcp:read and the account's effective role on that project. A successful sign-in does not grant a new project role. Do not add wildcard permissions just to bypass an access failure.
Collection tools normally use offset and limit (default 50, maximum 200); list_issues uses page-based pagination (maximum 100). Time filters use UTC epoch milliseconds. Check status and truncated on each response; smaller pages can recover entries shortened by size limits. Screenshots above 8 MiB return too_large.
The endpoint accepts HTTP MCP without a query string and does not provide a stdio server. An application Origin must be allowed by the deployed server. Native clients can omit Origin; arbitrary web origins are not authorized.
Limits and how responses are shaped
Secrets that look like Claron keys or tokens are removed from captured evidence before it is returned.
| Limit | Value |
|---|---|
| Requests | 120 per minute per key or token. Over that returns HTTP 429; wait a minute. |
| Request size | 64 KB per request (HTTP 413 above that). |
| Response size | About 96,000 characters per response, 16,000 per text field and 200 items per list. Trimmed responses have truncated set to true; ask for a smaller page. |
| Screenshots | PNG, JPEG or WebP up to 8 MiB. Larger ones return too_large. |
| OAuth tokens | Access tokens last 1 hour and refresh automatically for 30 days. After that, sign in again. |
| Freshness | Repeated reads may be cached for up to 30 seconds. Access is checked on every request. |
Disconnect and revoke access
Remove the connector in its client and revoke its key in Settings → Developer & API if it used an API key. Removing a local config alone does not invalidate the key.
Workspace owners/admins can review and revoke a connection under Developer & API → MCP OAuth access. Check the reported client and redirect host before confirming. Revocation invalidates the connection's access and refresh tokens.
A user's OAuth consent is account-wide. Revoking that member's connection from a workspace disconnects the client from all Claron data that account could access, including other workspaces. Change membership or project roles separately to prevent future authorization.
