Skip to content
looot docs
Esc
↑↓navigate↵open⌘Jpreview
On this page

Connect VS Code

Add the looot MCP server to VS Code (GitHub Copilot agent mode), sign in with the browser or a stored secret, and check it works.

VS CodeNot tested by hand yet

MCP over Streamable HTTP at https://api.looot.ai/mcp

VS Code reaches looot’s catalog, balance and runs over MCP, through GitHub Copilot’s agent mode.

Before you start you need a looot account. The runs you make spend the organization’s balance, so top up before your first paid run. See Before your first run.

Sign in with the browser

The server URL is https://api.looot.ai/mcp. Nothing to copy: you sign in on looot.ai, pick the organization to bill and click Connect.

Install in VS Code

One-click link

vscode:mcp/install?%7B%22name%22%3A%22looot%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fapi.looot.ai%2Fmcp%22%7D

Command line

code --add-mcp '{"name":"looot","type":"http","url":"https://api.looot.ai/mcp"}'

.vscode/mcp.json

{
  "servers": {
    "looot": {
      "type": "http",
      "url": "https://api.looot.ai/mcp"
    }
  }
}

Headless: a token in the header

Only for CI and machines with no browser. Create an agent token in Settings and send it as Authorization: Bearer <token>. Never commit it.

Headless: .vscode/mcp.json with a prompted secret

{
  "inputs": [
    {
      "type": "promptString",
      "id": "looot-token",
      "description": "looot agent token",
      "password": true
    }
  ],
  "servers": {
    "looot": {
      "type": "http",
      "url": "https://api.looot.ai/mcp",
      "headers": {
        "Authorization": "Bearer ${input:looot-token}"
      }
    }
  }
}

Notes

  • VS Code registers its client with dynamic client registration and opens the browser to sign in.

The header fallback above prompts you for the token once, through VS Code’s own secret input, and stores it there. The token is never written into the file.

Check it works

Ask the agent to call balance or catalog_overview. Both are free. A working connection answers with your available balance, or the catalog’s categories and job counts.

What you see when you connect

The browser opens looot.ai and shows the consent page: which organization to bill, which scopes to grant and how long to stay connected. See The consent page.

Was this page helpful?