Skip to content

Set up Cursor with SQLEye

You can add SQLEye to Cursor from Settings → MCP → Client Setup with one button. SQLEye is not released yet, and this setup follows the agent’s published documentation rather than a tested install. Cursor then starts the bundled sqleye-mcp helper whenever it needs SQLEye.

How do I add SQLEye to Cursor with one click?

Section titled “How do I add SQLEye to Cursor 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 Cursor (under Others…).
  3. Press Add to Cursor. The row then shows Added ✓ and the hint “Restart Cursor to pick it up.”
  4. Restart Cursor.
  5. Ask Cursor to list your SQLEye instances. The call shows up under Recent activity in SQLEye.

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

  • File: ~/.cursor/mcp.json.
  • What it writes: It adds sqleye under mcpServers in the JSON file, with "type": "stdio".
  • Backup: one copy of the previous file next to it, named with the suffix .sqleye-backup.
  • 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.

Writes are atomic: SQLEye writes a temporary file and renames it over the original. On Windows the same home-relative path is used under %USERPROFILE%.

A ~/.cursor folder, the cursor command on your PATH, or Cursor.app on macOS. Only these are checked, so a leftover folder is enough for the row to look installed.

If you prefer to edit it yourself, or the button reports an error, merge this into ~/.cursor/mcp.json. Replace the path with the one shown by Manual Setup in SQLEye (see Manual Setup).

{
"mcpServers": {
"sqleye": {
"type": "stdio",
"command": "<path to sqleye-mcp>"
}
}
}

Press Remove next to Cursor in Client Setup. SQLEye deletes only the sqleye entry and keeps a .sqleye-backup copy of the file first. You can also delete the entry by hand.

Not verified against Cursor: the path and format come from cursor.com/docs/context/mcp, checked on 2026-11-29. The code that edits the file is covered by SQLEye’s own tests, but SQLEye has not been run against a real Cursor install. If your Cursor reads its config differently, use the manual config below instead.

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.