Common Litmus MCP failure modes and how to fix each one.
Troubleshooting
If you hit something that isn't covered here, email support@litmushiring.com with the tool you called, the arguments, and the response. We'll dig in.
"This API key does not have the … permission"
The key authenticated, but it wasn't given the permission that tool needs. An org admin can add it from the pencil on the key's row in Settings → API Keys; the change applies on the key's next call, with no new key to hand out. The tool reference lists which permission each tool needs.
Allow leaves the consent page open
For a desktop app callback, the browser can remain open on Authorization submitted after Allow. That message confirms submission, not that Claude finished connecting. Return to Claude and check its connection status. If the browser asks Open Claude?, choose Open Claude. If no prompt appears, check Claude before assuming the connection failed.
Terminal Claude Code can return to a localhost callback page instead; it does not need an Open Claude? prompt. Claude in a web browser returns to its web callback. See setup instructions for the flow you use.
If Claude Code still shows the server as disconnected or needing authentication, enter this in the Claude Code session:
/mcp reconnect litmusReplace litmus with the name you gave the server. Reconnect may reuse valid
authorization, so it does not always open a browser. If it starts sign-in, use
the newly opened consent page. A timed-out attempt must restart from Claude;
the old browser tab cannot restart it.
Once connected, ask Use Litmus to list my roles. If it still fails, contact support with the time of the attempt, which Claude client you used, and a screenshot of the status or error in Claude.
A newly added server is missing in Desktop Code
After claude mcp add, start a new Code session using This computer
on the machine where you ran the command. The session that added the server
may not load it. Use /mcp reconnect litmus in the new session.
A server registered through the CLI may not appear in Customize → Connectors. That account-level list is a different setup path from a CLI-configured server. See Claude Code in the desktop app.
401 Unauthorized
Common causes, in order of likelihood:
Connector URL redirects.
Copy the org-scoped URL from Settings → API Keys:
https://litmushiring.com/mcp/<your-org-id> (no trailing slash).
A trailing slash on this org-scoped URL causes the public entrypoint to
redirect; some MCP clients stop discovery or lose authentication on redirects.
The legacy URL without an org is a different endpoint: /mcp/ keeps its slash.
OAuth token expired. Clerk-issued tokens follow your org's session length. A previously-working OAuth client that suddenly 401s usually just needs a fresh sign-in. Most clients trigger this automatically on the next call.
Organization role is not eligible (OAuth only). OAuth connections require an organization admin by default. Clerk sign-in and consent can succeed even if your role in the selected organization is ineligible. Ask your organization admin to verify your connector eligibility. If a specific tool reports a missing permission after you connect, check the scopes granted to the OAuth client.
Member of multiple Clerk orgs (OAuth only).
If your Clerk user belongs to more than one org and you connect via the
legacy /mcp/ URL (no org segment), the OAuth verifier can't pick which
org you mean and refuses with 401. Switch to the org-scoped URL,
https://litmushiring.com/mcp/<your-org-id>. Copy the exact value
from Settings → API Keys in your dashboard. Add the connector with:
claude mcp add --transport http litmus https://litmushiring.com/mcp/<your-org-id>Same fix applies to Cursor's mcp.json and any other client.
Key was revoked. Revoked API keys stop working on the next request. Check Settings → API Keys in your dashboard. If the key isn't listed, it was deleted; mint a new one and roll your client.
Header is malformed.
The header must be exactly Authorization: Bearer <token> with one space
between Bearer and the token.
429 Too Many Requests
Litmus rate-limits the MCP surface per-org. The default is 60 requests per
minute, refilled continuously, so short bursts up to the full limit are
fine. All API keys on an org share one bucket, and artifact streaming
URLs (zipUrl, videoUrl from get_submission)
count against the same bucket, so switching endpoints won't get you more
headroom.
When you exceed the limit, the response is:
- HTTP status
429 - JSON body
{"error": "rate_limited", "error_description": "MCP rate limit exceeded"} Retry-Afterheader: integer seconds until one more request will succeed.
The fix is to read Retry-After, sleep, and retry. For artifact downloads
(plain HTTP), that looks like:
import asyncio, httpx
async def get_with_backoff(client, url, headers, *, max_retries=5):
for attempt in range(max_retries):
r = await client.get(url, headers=headers)
if r.status_code != 429:
r.raise_for_status()
return r
if attempt == max_retries - 1:
r.raise_for_status()
await asyncio.sleep(int(r.headers.get("Retry-After", "1")))The same principle applies to MCP tool calls. Your client will surface the
429 from the transport layer; catch it, sleep Retry-After seconds, retry.
If you're consistently hitting the limit on a real workload (nightly exports, large pipeline backfills), email support@litmushiring.com and we can raise your org's ceiling. Changes take effect within about a minute.
"Not found" on a tool that should exist
Litmus returns "not found" for any resource that doesn't belong to your org. We never leak cross-tenant existence. So the same error covers two cases:
- It really doesn't exist: wrong ID, typo, deleted record. Confirm the
ID by listing first (
list_submissions,list_candidates). - It belongs to a different org: you're hitting Litmus with the wrong API key. Each key is bound to exactly one org; if your team has multiple orgs, make sure you're using the right one.
Version conflict on update_assessment_files
When you supply expected_version and someone else updated the assessment
since your last get_assessment_files, the write is refused with an error
that includes the current version. The fix:
- Re-fetch with
get_assessment_filesto pick up the new state. - Merge your local edits against the new file set.
- Retry
update_assessment_fileswith the new version.
This is intentional: silently overwriting a concurrent edit would lose
work. If you genuinely want last-write-wins (e.g. a one-shot scripted
deploy with no other writers), omit expected_version entirely.
Artifact URLs return 404
zipUrl and videoUrl from get_submission 404 when:
- The candidate didn't record a walkthrough video, or
- The submission predates 2026 and is still stored on the legacy filesystem path without a zip blob, or
- The bearer token doesn't match the submission's org (same "no cross-tenant existence" rule as above).
The zip answers 403 instead when the key does not hold archives:read
(and get_submission returns zipUrl: null for it). That is a key set up to
keep candidate code off your machines: read it with the submission_* tools
and run it with sandbox_run, or add the scope to the key.
get_submission returns null for either URL when it knows the artifact
isn't available, so a null here is expected. Only an explicit 404 against
a non-null URL points at a real problem.
The MCP client hangs on initialize()
Streamable HTTP clients hold the connection open for the whole session. If the call hangs forever, either:
- A network proxy or firewall is buffering the response. Try from an uncorporate-firewalled network to confirm.
- The URL is wrong. Copy your org-scoped URL from Settings → API Keys without adding a trailing slash, and check that it points at your intended Litmus environment.
Still stuck
Email support@litmushiring.com with:
- The tool name and arguments you called.
- The full error message and any stack trace.
- The first few characters of your API key (e.g.
litmus_sk_abc123…) so we can find the request in our logs without you sharing the secret.
