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.

LibreChat

Give users of your LibreChat server access to GigaRAG.

Sign in with GigaRAG

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

  1. 1.

    Add GigaRAG without headers

    LibreChat registers itself with GigaRAG and each user signs in.

    librechat.yaml
    mcpServers:
      gigarag:
        type: streamable-http
        url: 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 set it up by hand

This asks each user for their own key, so nobody shares yours. Each person pastes their key in the chat MCP settings.

  1. 1.

    Add GigaRAG to librechat.yaml and restart LibreChat

    librechat.yaml
    mcpServers:
      gigarag:
        type: streamable-http
        url: https://mcp.gigarag.com/mcp
        headers:
          Authorization: "Bearer {{GIGARAG_API_KEY}}"
        customUserVars:
          GIGARAG_API_KEY:
            title: "GigaRAG API key"
            description: "Your GigaRAG key"
            sensitive: true
  2. 2.

    Paste your key when LibreChat asks for the GigaRAG API key

    GigaRAG API key
    <api-key>

Check it worked

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

Select the GigaRAG tools in a chat and ask it to list your buckets.

Written from the official docs: MCP servers config