Skip to content

Connect your editor

Last updated

View as Markdown

DBGorilla speaks MCP, the Model Context Protocol, which is the standard way an AI tool talks to an outside service. That means any MCP client can connect to it. All it needs is a URL and a key.

The CLI configures several clients for you natively: Claude Code, Cursor, VS Code, opencode and Gemini CLI. You need the CLI installed and signed in. If it is not, start at CLI Install and Setup.

To wire up a client yourself, go straight to Connect any MCP client by hand.

Terminal window
dbgorilla setup-ide

With no arguments this finds every supported tool on your machine and configures all of them. Restart your editor and you are connected. Some clients detect the new server automatically, but restarting is the reliable way to be sure.

ToolSlugWhere the config goes
Claude Codeclaude-codeVia claude mcp add; falls back to writing the file
Cursorcursor~/.cursor/mcp.json
VS Codevscode.vscode/mcp.json, in the current project, not your home directory
opencodeopencode~/.config/opencode/opencode.json
Gemini CLIgemini~/.gemini/settings.json
Claude Desktopclaude-desktopNot written; prints manual steps

Claude Desktop is detect-only: remote MCP servers have to be added through Settings → Connectors in the app, so the CLI prints instructions instead of editing anything.

Terminal window
dbgorilla setup-ide --list-clients # what is supported, and what is on this machine
dbgorilla setup-ide --client cursor # target one tool
dbgorilla setup-ide --client cursor,vscode

VS Code is different from the other tools. They write a config in your home directory that applies everywhere, while VS Code writes into the project you are currently in. --scope user or --scope project overrides the default for the tools you selected.

The writes are conservative. MCP servers you already had are kept, and a config containing // comments is refused rather than rewritten. Before modifying a config that already exists, the CLI copies it to <path>.backup.<timestamp>; a file it creates from scratch has nothing to back up.

See Connect any MCP client by hand and Getting your MCP key in Connect an MCP client by hand.

On Claude Team and Enterprise, an admin must allowlist a server first. This prints the details to send them, and works before you have signed in:

Terminal window
dbgorilla setup-ide --print-admin-allowlist