← cyberneticsregister
contents

connect your ai

Troubleshooting connections

What each error means, how to test an endpoint from the terminal, and the fixes for the problems people hit most.

5 min● Data Base● Project Management● CRMnot yet verified

Test an endpoint directly

This sends the first message every MCP client sends. Run it from a terminal, with the token in an environment variable:

bash
curl -s -X POST https://cybernetics.avarile.com/api/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Authorization: Bearer $CYBERNETICS_DATA_TOKEN" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"curl","version":"1"}}}'

A working server answers with its name and capabilities. For Project Management, swap in its URL and $CYBERNETICS_PROJECTS_TOKEN.

What the errors mean

You seeLikely causeFix
404 "Cannot POST /mcp"Wrong path for the Data BaseUse /api/mcp
405 with an HTML pageWrong path for Project Management, or its MCP server is offUse /api/mcp; self-hosters set MCP_SERVER_ENABLED=1
404 on crm…/api/mcpWrong path for the CRMUse /mcp
401 UnauthorizedMissing, mistyped, expired or revoked tokenCheck the header reads Authorization: Bearer <token>, with one space; create a new token if unsure
401 from the CRMOAuth sign-in not finishedRe-run the app's sign-in (/mcp in Claude Code, codex mcp login)
Only read tools appearThe token has read scopes only, or the server is read-only (MCP_READONLY)Add scopes to the token, or ask the admin
A query returns at most 500 recordsThe server's per-query capNarrow the query or page through results

Common problems

  • The token works in curl but not in the app. The app saved an old value. Remove the server and add it again (Claude Code), update the environment variable and restart (Codex, Cursor), or edit the config file and fully quit and reopen (Claude Desktop).
  • Claude Desktop shows nothing. The config file isn't valid JSON, or the app wasn't fully restarted. See Claude Desktop.
  • "npx: command not found". Install Node.js; mcp-remote runs with it.
  • The AI says it can't see a table. The token's access doesn't include that space or base. Edit the token's access in the Data Base.
  • The AI answers but not from your data. Ask it which tool it used. If it didn't call one, say "check my Data Base" explicitly, or turn the connector on for that chat.