Skip to content
ClickHouse Loom
Esc
↑↓navigate↵open⌘Jpreview
On this page

VS Code

Connect GitHub Copilot in VS Code to Loom over MCP. Save project decisions and recall them across chats and editors with access to the same namespace.

GitHub Copilot in VS Code can save and retrieve project decisions through Loom’s MCP server over streamable HTTP. Connect clients to the same Loom server and give them access to the same namespace to share those decisions.

There is no VS Code extension: the loom_* tools are the integration, with no session capture or code shunt; the Claude Code and Codex plugins have those.

Local single-user server

A single-user server on the same machine takes MCP calls without a token. Add Loom to VS Code · Add Loom to VS Code Insiders adds a servers.loom entry to the user profile’s mcp.json, with the type and url the dashboard and loom install --client vscode give VS Code. The links’ payload, URL-encoded into vscode:mcp/install?<payload>, is:

{ "name": "loom", "type": "http", "url": "http://localhost:7777/mcp" }

The links open VS Code’s install prompt. From a terminal, code --add-mcp '{"name":"loom","type":"http","url":"http://localhost:7777/mcp"}' does the same. Coding sessions that use the code index add ?toolset=coding to url (choosing a toolset).

Any other server

Write the entry with its token:

loom install --client vscode --server-url https://loom.example.com --token "$LOOM_API_KEY" --toolset coding

This merges a servers.loom entry (type: "http", url and an Authorization header) into the user profile’s mcp.json, leaving settings.json alone. To keep the token out of the file, write the entry by hand with an input VS Code prompts for once and stores:

{
  "servers": {
    "loom": {
      "type": "http",
      "url": "https://loom.example.com/mcp?toolset=coding",
      "headers": { "Authorization": "Bearer ${input:loom-token}" }
    }
  },
  "inputs": [
    { "id": "loom-token", "type": "promptString", "password": true, "description": "Loom token" }
  ]
}

Open the agent mode chat and check that the loom_* tools are listed; checking the connection covers a 401. Then verify shared memory through two MCP sessions to check that a second authorized client can retrieve a saved decision.

Agent instructions

Add the agent instructions block to .github/copilot-instructions.md so the agent knows when to call the tools, unless the repository’s AGENTS.md already carries it. The block names the coding toolset’s tools: connect with ?toolset=coding on url; otherwise the tools it names that the listing leaves out run through loom_op, as the block says.

Last updated on

Was this page helpful?