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 CLI

GitHub Copilot's terminal agent.

Needs a Copilot seat. Organizations can limit which MCP servers are allowed.

Connect with the GigaRAG CLI

One command connects Copilot CLI 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 Copilot CLI afterwards. Nothing here expires, and gigarag connect --remove takes GigaRAG back out of everything it touched.

Sign in with GigaRAG

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

  1. 1.

    Add GigaRAG without a key

    Copilot CLI opens your browser to sign in when it first connects.

    copilot mcp add --transport http gigarag https://mcp.gigarag.com/mcp
  2. 2.

    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 paste a prompt

Paste this into Copilot CLI. It carries your agent key and tells the agent exactly what to change, so it sets the connection up itself.

Run this to add GigaRAG:
copilot mcp add --transport http --header "Authorization: Bearer <api-key>" gigarag https://mcp.gigarag.com/mcp

Remove any existing gigarag first. Then tell me to restart Copilot CLI. Don't repeat the key.

Or set it up by hand

  1. 1.

    Run this in a terminal

    copilot mcp add --transport http --header "Authorization: Bearer <api-key>" gigarag https://mcp.gigarag.com/mcp
  2. 2.

    Or add it inside a session with /mcp add

    Set Server Name to gigarag, Server Type to HTTP, paste the URL and the header below, set Tools to *, then save with Ctrl+S.

    HTTP Headers
    Authorization: Bearer <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: Add MCP servers to Copilot CLI