Skip to main content
VS Code connects to the hosted OnePerfectSlice server through GitHub Copilot’s MCP support. Nothing to install beyond Copilot.
MCP servers are used by Copilot’s Agent mode in the Chat view. Make sure GitHub Copilot is installed and you’re signed in.

Connect

1

Add the server

Open the Command Palette (Cmd/Ctrl+Shift+P) and run MCP: Add Server. Choose HTTP and enter:
  • URL: https://mcp.oneperfectslice.ai/mcp
  • Name: ops
This writes an entry to your mcp.json (workspace .vscode/mcp.json or your user profile):
{
  "servers": {
    "ops": {
      "type": "http",
      "url": "https://mcp.oneperfectslice.ai/mcp"
    }
  }
}
2

Authenticate

Start the server when prompted (or run MCP: List Servers → ops → Start). VS Code opens a browser for OAuth — log in to OnePerfectSlice and select the team whose data this connection should access. Approve the authorization back in VS Code if asked.
3

Verify

Run MCP: List Servers and confirm ops is running with its tools available. In the Chat view, open the tools picker (Agent mode) and check that the ops tools appear.

Test it

In the Chat view (Agent mode), try:
Use ops to list available slices
You should see a list_slices tool call and get back your team’s slices.

Troubleshooting

ProblemSolution
ops not in tools pickerRun MCP: List Servers, start ops, and ensure you’re in Agent mode
Authorization didn’t completeRestart ops from MCP: List Servers and finish login + team selection
Wrong team’s dataRemove ops from mcp.json, re-add it, and select a different team
Server won’t startConfirm the URL and that type is http in mcp.json

Switching teams

Each connection is scoped to one team. To switch, remove and re-add the ops server, then select the new team during sign-in.