Skip to content

Set up Claude Code with SQLEye

You can add SQLEye to Claude Code from Settings → MCP → Client Setup with one button. Claude Code then starts the bundled sqleye-mcp helper whenever it needs SQLEye.

How do I add SQLEye to Claude Code with one click?

Section titled “How do I add SQLEye to Claude Code with one click?”
  1. In SQLEye, open Settings → MCP and switch on Enable MCP server. See enable the MCP server.
  2. Under Client Setup, find Claude Code.
  3. Press Add to Claude Code. The row then shows Added ✓ and the hint “Restart Claude Code to pick it up.”
  4. Restart Claude Code.
  5. Ask Claude Code to list your SQLEye instances. The call shows up under Recent activity in SQLEye.

If the row says Not installed, SQLEye did not find Claude Code; see below. SQLEye never creates configuration for an agent it cannot find.

  • File: ~/.claude.json (user scope).
  • What it writes: It runs the Claude Code command line for you, which edits ~/.claude.json. SQLEye first copies that file to ~/.claude.json.sqleye-backup. If an old sqleye entry exists it is removed first, then the new one is added.
  • Backup: one copy of ~/.claude.json as .claude.json.sqleye-backup in the same folder.
  • Nothing else: other servers and settings in the file are left as they were. If the entry is already there, SQLEye reports “Already added” and changes nothing.

How does SQLEye know Claude Code is installed?

Section titled “How does SQLEye know Claude Code is installed?”

The claude command on your PATH, or a ~/.claude.json file.

If you prefer to edit it yourself, or the button reports an error, run this in a terminal. Replace the path with the one shown by Manual Setup in SQLEye (see Manual Setup).

Terminal window
claude mcp add-json --scope user sqleye '{"type":"stdio","command":"<path to sqleye-mcp>"}'

If the claude command cannot be found, the button reports “The claude command was not found; use Manual Setup.” and the command above does the same job in a terminal.

Press Remove, or run claude mcp remove sqleye --scope user.

Verified: this setup was checked against a real Claude Code install.

See also: set up other agents, the tool reference and troubleshooting.

SQLEye is developed and maintained by CodeROG. This page is also available as Markdown.