Quick Diagnostics
Follow these steps in order to identify your issue:Is the MCP connected?
Go to Runlayer > MCPs and check the status:
- Active - MCP is ready to use
- Pending - Awaiting admin approval (contact your admin)
- Disabled - MCP has been disabled (contact your admin)
- Error - Configuration issue (contact your admin)
Is your authentication valid?
Go to Runlayer > Connectors and find your MCP:
- Connected - Authentication is valid
- Error/Expired - You need to revoke and reconnect (see Fix 3 below)
Is the connector selected in your AI client?
Some AI clients require you to select which connectors to use for each session or chat:
- Check your client’s MCP/connector settings and verify the connector is enabled
- In some clients, you must re-select connectors when starting a new chat
- If tools are missing, try disconnecting and reconnecting the MCP from your client
- If still missing, restart your AI client completely
Did the AI attempt to call the tool?
Look for a tool call indicator in your AI client (e.g., “Connected to app”, “Using tool”, or similar):
- If no indicator appears, the AI client likely didn’t try to call Runlayer at all.
- If an indicator appears, expand it to inspect the request and response. This shows exactly what tool was called, what parameters were sent, and what Runlayer returned.
- If the response contains your data but the AI doesn’t seem to use it, there may be an issue interpreting the tool response. Try rephrasing or starting a new chat.
Is it a prompting issue?
Sometimes the AI just needs a nudge:
- Start a new chat - AI models have a limited “context window” (typically 100-200k characters) that holds everything in your conversation: your messages, AI responses, and all tool results. Long conversations or large tool outputs fill this up, causing the AI to lose track of earlier context or behave erratically. Starting fresh gives the AI a clean slate.
- Rephrase your request - Be more explicit about which tool/MCP to use. For example: “Use the
fetchtool to get the contents of this spreadsheet” instead of just “read this file”. - Break it down - Ask for one thing at a time instead of complex multi-step requests
- Wrong tool called? - LLMs are non-deterministic. Sometimes they call the wrong tool (e.g., fetching metadata instead of file contents). Check the tool call details, then retry with explicit instructions about which tool to use.
Can you reproduce it?
Before diving deeper, try the same request again:
- Try it again - AI responses are non-deterministic. The same prompt can succeed on retry.
- Try a simpler version - If “search for Q4 reports and summarize them” fails, try just “search for Q4 reports” first
- Note what’s consistent - If it fails every time, it’s likely a real issue. If it’s intermittent, it may be a prompting or context problem.
Have you tried a different model or AI client?
Isolate whether the issue is specific to your setup:
- Simplify your MCPs - Too many connected MCPs can overwhelm the AI; disable ones you’re not using
- Try a different model - Some models handle tool use better than others. If your AI client supports it, try switching models (e.g., GPT-4o vs Claude Sonnet)
- Try a different surface - Within the same client, try a new chat, a Project, or a different mode (e.g., Agent vs Ask). Some bugs are specific to certain surfaces.
- Try a different AI client - If a tool works in Claude Desktop but not Cursor, the issue may be client-specific
Understanding Error Types
Authentication Errors
Authentication Errors
Symptoms:
401 Unauthorized, 403 Forbidden, “Authorization failed”, “Token expired”Cause: Your OAuth token has expired, been revoked, or doesn’t have the required permissions.Fix: Revoke and reconnect your authentication (see Fix 3 below).Connection Errors
Connection Errors
Symptoms:
Connection timeout, Connection refused, Network error, “Server unreachable”Cause: The MCP server can’t be reached due to network issues, firewall rules, or server downtime.Fix:- Check if there’s a known outage (ask your admin or check your support channel)
- Wait a few minutes and try again
- If persistent, contact your admin
Tool Call Failures
Tool Call Failures
Symptoms:
MCP error -32603, Internal Error, 500 Server ErrorCause: The MCP server encountered an error processing your request. This could be a configuration issue, API rate limit, or bug.Fix:- Check audit logs for the specific error message
- Try the request again with different parameters
- Contact your admin if it persists
Permission Denied
Permission Denied
Symptoms:
Policy denied, Access denied, Security violation, 403Cause: You don’t have access to this specific tool or data based on your organization’s policies.Fix: Contact your admin to request access to this MCP or tool.Rate Limiting
Rate Limiting
Symptoms:
429 Too Many Requests, Rate limit exceededCause: You or your organization has made too many requests in a short period of time.Fix: Wait a few minutes before trying again. If you consistently hit rate limits, contact your admin.Security Violation (False Positive)
Security Violation (False Positive)
Symptoms:
403 Security Violation, Request blocked, normal requests getting deniedCause: Runlayer’s security scanners flagged your request as suspicious. This can happen when requests contain keywords that look like SQL injection, bulk queries on sensitive fields, or patterns that resemble automated scanning.Fix:- Check audit logs for what was blocked and why
- Rephrase your request differently
- Contact your admin - they can review false positives, adjust scanner sensitivity, or whitelist your use case
Domain Whitelisting Required
Domain Whitelisting Required
Symptoms: Connection errors with Atlassian, Datadog, Asana, HubSpot, or Salesforce MCPsCause: Some third-party services require domain whitelisting before accepting connections. Your organization needs to configure Runlayer’s OAuth proxy.Fix: Contact your admin and ask them to configure the OAuth proxy for these services. They’ll need to enable it in Settings and add the proxy domain to the service’s allowlist.
Context or Size Limits
Context or Size Limits
Symptoms: Timeout errors on large files,
500 Server Error when fetching big documents, truncated responses, AI says “couldn’t read the entire file”Cause: The file or response is too large. This can hit either Runlayer’s response size limits or your AI client’s context window limits.Fix:- Request a specific range instead of the whole file (e.g., “fetch rows 1-100 from this spreadsheet”)
- Ask for metadata first to understand the file size
- Break your request into smaller chunks
- Some AI clients will automatically retry with smaller ranges if the initial request fails
Self-Service Fixes
Fix 1: Verify MCP Status
Make sure the MCP is active and properly configured:- Go to Runlayer > MCPs
- Find the MCP you’re trying to use
- Check the status:
- Active - Ready to use
- Pending - Waiting for admin approval (admins: see approval workflow)
- Disabled/Error - Contact your admin
Fix 2: Restart or Reconnect Your AI Client
Sometimes the issue is with your AI client’s connection to Runlayer, not your app authentication. Try these in order:- Disconnect and reconnect the MCP from within your AI client’s settings
- Fully quit and reopen your AI client (don’t just close the window)
- On Mac: Right-click the dock icon → Quit
- On Windows: Right-click taskbar icon → Close window
Each AI client handles MCP connections differently. Go to Runlayer > Connectors, select your connector, click Add to MCP Client, and follow the instructions for your client.
Fix 3: Revoke and Reconnect App Authentication
If the above fixes don’t work, try refreshing your OAuth tokens:Your AI client may automatically prompt you to re-authenticate when you try to use the MCP. If so, follow those prompts instead of manually reconnecting in Runlayer.
For Administrators
Audit logs are your primary debugging tool. Use them to determine whether an issue is on the Runlayer side or the AI client side.Diagnostic Decision Tree
| Audit Log Shows | Likely Cause | Action |
|---|---|---|
| No logs for that user/time | AI client never called Runlayer | Check connector selection, prompting, VPN |
| tool_call_success but user reports issue | AI client received data but didn’t use it correctly | AI client issue—user should retry or rephrase |
| tool_call_failure | Runlayer encountered an error | Investigate the error message |
| authentication_error | OAuth token expired or revoked | User needs to revoke and reconnect |
Using Audit Logs
Example audit log entry:
Debugging Checklist
When a user reports “it’s not working”:- Ask for details - Get the actual prompt, error messages, and tool call details (if visible in their AI client)
- Check audit logs - Is there any activity from this user? What does it show?
- Verify connector status - Is the MCP active? Is the user’s authentication valid?
- Check for patterns - Is this affecting one user or many? One MCP or all?
- Test reproduction - Can you reproduce the issue with the same prompt?
Escalation
User → Admin
When reporting an issue to your admin, include:- MCP name: Which MCP isn’t working?
- What you were trying to do: Be specific about the action
- Error message: Provide a screenshot or a screen recording and include exact tool inputs and outputs if possible
- Tool call details: If your AI client shows a tool call indicator, expand it and screenshot the request/response
- Connector selected?: Confirm the connector was enabled/selected in your AI client
- When it started: Did it ever work? When did it stop?
- What you’ve tried: Revoke/reconnect? Restart client? Verify connector selection?
Admin → Runlayer Support
When escalating to Runlayer support, include:- Audit log entry: ID or screenshot of the relevant log
- MCP configuration: Server URL, transport type, auth method
- AI client: Which client (and version if known) is the user using?
- Timeline: When did the issue start?
- Scope: How many users are affected?
- Steps to reproduce: How can we recreate the issue?
Prevention Tips
- Keep only MCPs you actively use connected
- Verify your connector is selected/enabled before prompting
- Be explicit in prompts about which tool to use
- Try revoke/reconnect as a first fix for auth issues
- Report issues with specific details and screenshots
- Restart your AI client periodically