Set up GitHub Copilot CLI with SQLEye
You can add SQLEye to GitHub Copilot CLI 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. GitHub Copilot CLI then starts the bundled sqleye-mcp helper whenever it needs SQLEye.
How do I add SQLEye to GitHub Copilot CLI with one click?
Section titled “How do I add SQLEye to GitHub Copilot CLI with one click?”- In SQLEye, open Settings → MCP and switch on Enable MCP server. See enable the MCP server.
- Under Client Setup, find GitHub Copilot CLI (under Others…).
- Press Add to GitHub Copilot CLI. The row then shows Added ✓ and the hint “Restart GitHub Copilot CLI to pick it up.”
- Restart GitHub Copilot CLI.
- Ask GitHub Copilot CLI to list your SQLEye instances. The call shows up under Recent activity in SQLEye.
If the row says Not installed, SQLEye did not find GitHub Copilot CLI; see below. SQLEye never creates configuration for an agent it cannot find.
What does the button change?
Section titled “What does the button change?”- File:
~/.copilot/mcp-config.json. - What it writes: It adds
sqleyeundermcpServersin the JSON file, as alocalserver with an emptyargslist and"tools": ["*"]. - 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%.
How does SQLEye know GitHub Copilot CLI is installed?
Section titled “How does SQLEye know GitHub Copilot CLI is installed?”A ~/.copilot folder or the copilot command on your PATH. Only these are checked, so a leftover folder is enough for the row to look installed.
What is the manual config?
Section titled “What is the manual config?”If you prefer to edit it yourself, or the button reports an error, merge this into ~/.copilot/mcp-config.json. Replace the path with the one shown by Manual Setup in SQLEye (see Manual Setup).
{ "mcpServers": { "sqleye": { "type": "local", "command": "<path to sqleye-mcp>", "args": [], "tools": ["*"] } }}How do I remove it?
Section titled “How do I remove it?”Press Remove next to GitHub Copilot CLI 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.
Has this been tested?
Section titled “Has this been tested?”Not verified against GitHub Copilot CLI: the path and format come from the GitHub Docs page for Copilot CLI MCP servers (docs.github.com), 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 GitHub Copilot CLI install. If your GitHub Copilot CLI 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.