Skip to main content
VS Code uses MCP servers in GitHub Copilot’s agent mode. Add OnlyX with the install link or one command, then sign in.

One click

Add to VS Code

Opens VS Code’s install prompt for the OnlyX server.

Add to VS Code Insiders

The same, for the Insiders build.
The button uses VS Code’s MCP install link, whose query is the URL-encoded server configuration {"name":"onlyx","type":"http","url":"https://mcp.onlyx.ai/mcp"}:
If your browser does not open VS Code, this web link redirects to the same install prompt:

One command

With the code command on your path:
This adds OnlyX to your user profile, so it is available in every workspace.

Sign in and use it

1

Start the server

Open the Copilot Chat view, switch to Agent mode, and open the tools picker. OnlyX appears in the list. The first time it starts, VS Code asks whether to allow OnlyX to sign in.
2

Sign in

Click Allow. Your browser opens OnlyX: sign in, choose the workspace, and click Approve. VS Code registers itself automatically; you do not need a client ID.
3

Ask

“Using OnlyX, which workspace am I connected to?” Copilot asks before running tools that change something.

Configure by hand

Run MCP: Open User Configuration from the command palette (or create .vscode/mcp.json in a workspace) and add:
mcp.json

Troubleshooting

Next