Skip to main content

MCP Troubleshooting

Overview

Solutions to common issues when configuring and using the MCP server.

HTTP Errors

CodeCauseSolution
401Invalid, expired, or missing API keyRegenerate an API key with the MCP preset from API Keys.
403Missing scope on the API keyVerify that your key has the required scopes (mcp.read, mcp.write, etc.).
404Disabled module or nonexistent resourceVerify that the module is enabled in your workspace (Knowledge Base, Agent, Governance).
429Rate limit reachedWait a few seconds before retrying. Limit: 1,000 requests/hour per key.

JSON-RPC Error Codes

The MCP server uses the JSON-RPC 2.0 protocol. In case of a protocol error, the error.code field contains a standard code:

CodeMeaningSolution
-32600Invalid requestVerify that the body is a valid JSON-RPC 2.0 message (jsonrpc, method, id).
-32601Unknown methodVerify the method name (tools/call, tools/list, resources/list).
-32602Invalid parametersVerify the types and required fields in the tool arguments.
-32603Internal errorRetry. If the issue persists, contact support.

Client-Specific Issues

Claude Desktop

SymptomSolution
No MCP server visibleVerify the path to the claude_desktop_config.json file. Restart Claude Desktop.
Connection errorVerify the URL: https://api.ontologie-growthsystemes.com/api/mcp
Tools not loadedVerify the X-API-Key and x-workspace-id headers.

VS Code

SymptomSolution
MCP extension not foundInstall the Copilot MCP extension from the VS Code marketplace.
Server disconnectedVerify settings.json. Reload the window (Ctrl+Shift+P > Reload Window).

Cursor

SymptomSolution
MCP not availableVerify the Cursor version (MCP requires a recent version).
Authentication errorVerify the JSON format in Settings > MCP Servers.

Claude Code

SymptomSolution
claude mcp add failsVerify that the Claude Code CLI is up to date (claude update).
Server unreachableTest the connection: curl -I https://api.ontologie-growthsystemes.com/api/mcp

n8n

SymptomSolution
Authentication refusedUse the composite format API_KEY:WORKSPACE_ID in the X-API-Key header.
Connection timeoutVerify that your n8n instance can access the platform URL.
Credential not recognizedThe expected format is df_yourApiKey:your-workspace-id in a single Header Auth field.

Missing Tools

If some tools do not appear in the tools/list response:

  1. Disabled module -- The Knowledge Base, Agent Studio, and Governance are optional modules. Enable them in the workspace settings.
  2. Insufficient scope -- Some tools require mcp.write, mcp.workflow.execute, mcp.agent.execute, or the governance.* scopes.
  3. Feature flag -- Some advanced features (Scenarios, Simulation, Templates) may be disabled in your environment.

Additional Common Issues

SymptomCauseSolution
Governance/agent tools not visibleModule not enabledEnable the module in the workspace settings.
Timeout on workflow_executeLong-running execution in synchronous modePass async: true in the arguments for asynchronous execution.
Missing outputSchema responseMCP client limitationSome clients do not yet support outputSchema. This is not a server error.

Diagnostic Tools

MCP Inspector

The MCP Inspector tool lets you test the connection and inspect the tools exposed by the server.

Test via curl

Send a JSON-RPC request to verify the server responds:

curl -X POST https://api.ontologie-growthsystemes.com/api/mcp \
-H "Content-Type: application/json" \
-H "X-API-Key: df_VOTRE_CLE" \
-H "x-workspace-id: VOTRE_WORKSPACE_ID" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Expected response: a JSON object containing the list of available tools.

Logs and Debug

Claude Desktop

MCP logs are in the Claude Desktop data directory:

  • macOS: ~/Library/Logs/Claude/
  • Windows: %APPDATA%\Claude\logs\

For more details on MCP configuration in Claude Desktop, see the official MCP guide.

VS Code

Open the command palette (Ctrl+Shift+P) > Output > select the MCP channel in the dropdown menu.

Claude Code

Add the --verbose flag to see MCP exchanges:

claude --verbose

For more details on MCP configuration in Claude Code, see the official documentation.

Test the Connection

To verify that your MCP server is accessible:

curl -H "X-API-Key: df_VOTRE_CLE" \
-H "x-workspace-id: VOTRE_WORKSPACE_ID" \
https://api.ontologie-growthsystemes.com/api/mcp

Need Help?

Contact us: Support and Contact.