Troubleshoot MCP and agent setup
Most problems come down to the MCP server being off, SQLEye not running or the agent not having been restarted. Work through the questions below.
What does “SQLEye is not reachable” mean?
Section titled “What does “SQLEye is not reachable” mean?”It means the sqleye-mcp helper could not connect to the SQLEye app, so every request from the agent is answered with an error. The full message is “SQLEye is not reachable (reason). Open SQLEye and turn on Settings → MCP → Enable MCP server.”
Check these in order:
- Is the MCP server on? Open Settings → MCP and switch on Enable MCP server. While it is off there is no socket to connect to.
- Is SQLEye running? The helper tries to open SQLEye itself and waits up to 8 seconds. If SQLEye is slow to start, restart the agent once SQLEye is open.
- Does the status say Running? If it says Error, see the question about server errors below.
- Was the helper started with a custom endpoint? If the environment variable
SQLEYE_MCP_ENDPOINTis set, the helper uses that endpoint and never launches SQLEye. - Is the socket yours? The helper refuses a socket that belongs to another user.
The reason in brackets is the system’s error text, for example about a missing file, or “no app data directory”.
Why does a row say “Not installed”?
Section titled “Why does a row say “Not installed”?”SQLEye did not find the agent: its command is not on the PATH SQLEye searches, its config folder does not exist and, on macOS, its app is not in /Applications or ~/Applications. SQLEye never creates configuration for an agent it cannot find. Start the agent once so it creates its config folder, or use Manual Setup. The list of checks is on the setup page.
Why does adding fail with “The sqleye-mcp helper was not found next to the app”?
Section titled “Why does adding fail with “The sqleye-mcp helper was not found next to the app”?”SQLEye looks for the sqleye-mcp helper in the same folder as its own executable and could not find it, so the app is incomplete. Reinstall SQLEye. Manual Setup shows the same problem as “The sqleye-mcp helper was not found next to the app.”
Why does Claude Code say the command was not found?
Section titled “Why does Claude Code say the command was not found?”The Claude Code setup runs the claude command, and SQLEye could not find it. The message is “The claude command was not found; use Manual Setup.” Run the claude mcp add-json command from the Claude Code page in a terminal instead.
Why does the agent not show any SQLEye tools?
Section titled “Why does the agent not show any SQLEye tools?”Most agents read their MCP config only at start, so restart the agent after adding SQLEye. If the tools are still missing, check that Read-only mode is off (it hides every tool that changes anything, leaving 8 of 16), that the server is Running and that the agent’s own MCP list shows sqleye.
Why was my call refused?
Section titled “Why was my call refused?”Three things refuse a call: read-only mode (the agent is told it is on), a declined approval, and an approval that timed out after 120 seconds. In each case nothing is changed and the call appears in Recent activity as refused. Ask the agent to try again and answer the dialog in SQLEye. See security and approvals.
Why do query tools return nothing?
Section titled “Why do query tools return nothing?”Capture is off or no query has run since it was turned on. get_queries then returns a note saying so. Call set_capture with enabled: true (not available in read-only mode), run your app and read again. See capture and an empty Live Eye stream.
What do server errors in Settings mean?
Section titled “What do server errors in Settings mean?”The status line shows the reason the MCP server could not start. Two have their own messages: the socket path is too long (Unix socket paths are limited to about 100 bytes, so a long app data path can fail) and “another SQLEye instance is already serving MCP” (close the other SQLEye). Switch the server off and on again after fixing the cause.
What if the agent’s config file could not be edited?
Section titled “What if the agent’s config file could not be edited?”SQLEye stops and shows an error that names the file, usually because a JSON file is not valid, and writes nothing. Fix or move the file and try again, or edit it yourself with the manual config. Before any change SQLEye keeps a copy named <file>.sqleye-backup next to the file, so you can restore the previous version.
How do I remove SQLEye from an agent?
Section titled “How do I remove SQLEye from an agent?”Press Remove in Client Setup. It deletes only the sqleye entry. To undo it by hand, delete that entry from the agent’s config file, or for Claude Code run claude mcp remove sqleye --scope user.
SQLEye is developed and maintained by CodeROG. This page is also available as Markdown.