Back to GigaRAG

Connect an agent

Give an AI tool access to your GigaRAG Workspace, so it can search, read and write your memos while it works.

VS Code

Use your memos from Copilot agent mode in VS Code.

Copilot Business and Enterprise organizations must allow the policy "MCP servers in Copilot".

Install in one click

Install in VS Code opens the app and adds GigaRAG with your agent key. Sign in to get your key, then install in one click.

On VS Code Insiders, use the manual setup below.

Sign in to install

Or use the GigaRAG CLI

One command connects VS Code and every other AI tool on this machine. Signing in happens in your browser, so no key is written into any config file.

npm install -g gigarag
gigarag login
gigarag connect

Restart VS Code afterwards. Nothing here expires, and gigarag connect --remove takes GigaRAG back out of everything it touched.

Sign in with GigaRAG

Connect without a key: VS Code opens your browser, you sign in to GigaRAG and pick this workspace.

  1. 1.

    Run MCP: Add Server from the command palette

    Choose HTTP, paste the URL below, name it gigarag and pick Global.

  2. 2.

    Paste this as the server URL

    Server URL
    https://mcp.gigarag.com/mcp
  3. 3.

    Sign in with your GigaRAG account

    Your browser opens GigaRAG. Pick the workspace to share and approve. No key is stored in the app, and the connection does not expire.

Or set it up by hand

  1. 1.

    Run MCP: Open User Configuration from the command palette

  2. 2.

    Add GigaRAG to the file

    VS Code asks for the key itself and stores it as a secret, so it is never written into the file.

    mcp.json
    {
      "inputs": [
        {
          "type": "promptString",
          "id": "gigarag-key",
          "description": "GigaRAG API key",
          "password": true
        }
      ],
      "servers": {
        "gigarag": {
          "type": "http",
          "url": "https://mcp.gigarag.com/mcp",
          "headers": { "Authorization": "Bearer ${input:gigarag-key}" }
        }
      }
    }
  3. 3.

    Start the server and paste your key when asked

    API key
    <api-key>

Check it worked

Send this once it is connected. An answer drawn from your workspace means the connection is live.

List my GigaRAG buckets.

Written from the official docs: VS Code MCP servers, MCP configuration