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.

Copilot coding agent

Give the Copilot agent that works on issues in a repository access to your memos.

The coding agent does not support sign-in for remote servers, so it always uses the key, stored as a repository secret.

Set it up

  1. 1.

    Add a Copilot secret to the repository

    Name it COPILOT_MCP_GIGARAG_API_KEY. Copilot only passes secrets that start with COPILOT_MCP_ to MCP servers.

    Secret value
    <api-key>
  2. 2.

    Open Settings, then Copilot, then MCP servers in the repository, and paste this

    MCP configuration
    {
      "mcpServers": {
        "gigarag": {
          "type": "http",
          "url": "https://mcp.gigarag.com/mcp",
          "headers": { "Authorization": "Bearer $COPILOT_MCP_GIGARAG_API_KEY" },
          "tools": ["*"]
        }
      }
    }

Check it worked

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

Assign Copilot an issue that asks it to list your GigaRAG buckets.

Written from the official docs: Extend the coding agent with MCP