00Home01Console07Install08Agents99Privacy
For agents · MCP · REST · prompt

Your agents get the same access you do.

Every GNKG install ships a local bridge that speaks three dialects. Whatever your agent is — Claude Code, Claude Desktop, Cursor, Windsurf, Codex, a claude.ai or ChatGPT connector, an OpenAI-style function-calling loop, LangChain, n8n, OmniLad — it can read, extend and query your notebooks as knowledge graphs. The extension keeps the session; the bridge only ever runs on your machine.

MCP · stdio

Desktop agent hosts

npx -y @metaphyllc/gnkg-bridge — ready configs for Claude Desktop, Claude Code, Cursor, Windsurf and Codex are in the harness.

MCP · HTTP

Cloud connectors & remote agents

http://127.0.0.1:7802/mcp (Streamable HTTP, JSON-RPC). Tunnel it with a token for claude.ai / ChatGPT connectors or agents on other machines.

REST · OpenAPI

Any tool-calling model

/openapi.json turns all 22 tools into function specs; /llms.txt tells the model how to use them. Python and JS clients included.

Self-install

Two commands, or one sentence.

Windows

PowerShell

irm https://gnkg.vercel.app/harness/install.ps1 | iex
macOS / Linux

bash

curl -fsSL https://gnkg.vercel.app/harness/install.sh | bash
Or let the agent do it

Tell your agent:

“Install the GNKG harness from https://gnkg.vercel.app/llms.txt and connect to my Gemini Notebook notebooks.”

The llms.txt file is written for machines: transports, tool list, workflow and rules. The installer downloads the extension, the bridge and the harness, writes MCP configs for every host it finds, installs the /gnkg skill and prints the one manual step (Load unpacked in Chrome).

The tool surface

Twenty-two tools, one dispatcher.

ToolWhat it does
gn_healthExtension/auth/transport health. Call first.
gn_list_notebooksList Gemini Notebook notebooks (most-recently-viewed first) with ids and source counts.
gn_create_notebookCreate a notebook (a new mini knowledge graph).
gn_delete_notebookDelete a notebook permanently (irreversible). Only for notebooks the user asked to delete.
gn_get_notebookGet a notebook with its sources (id, title, kind, wordCount, status).
gn_add_text_sourceAdd a text source (≤500k words). Use for bins, notes, transcripts.
gn_add_url_sourceAdd a web page or YouTube URL as a source.
gn_delete_sourceDelete a source.
gn_refresh_sourceRe-sync a web/Drive source (the legacy B.I.F.R.O.S.T. feed trigger).
gn_get_sourceRead a source's indexed full text and AI summary.
gn_askAsk the notebook a grounded question (uses Gemini Notebook's own retrieval). Optional sourceIds subset.
gn_list_artifactsList Studio artifacts (audio/video/report/slides/infographic/data table/mind map/quiz/flashcards) with status + media URLs.
gn_create_artifactGenerate a Studio artifact remotely. kind: audio|video|report|slide_deck|infographic|data_table|mind_map|flashcards|quiz. wait=true polls until done (up to 15 min).
gn_wait_artifactPoll an artifact until completed/failed.
gn_download_artifactDownload a completed artifact's media via Chrome downloads (TIWY handoff if enabled).
gn_graphKnowledge-graph view of a notebook (gnkg-graph-v1 JSON + Mermaid).
bifrost_plan_binsPlan B.I.F.R.O.S.T. bins locally: weighted FFD packing at 450k words, pre-chunk >400k, Bin 0 master index preview. files=[{name,text}].
bifrost_push_binsPack files and push Bin 0 + bins into a notebook as text sources (waits for each to index). Returns jobId; poll with gn_job.
gn_jobGet a background job (pushBins) with progress/steps/result.
gn_eventsRecent extension events (jobs, logs, downloads).
gn_dom_readFallback: read the open Gemini Notebook tab's DOM (sources, artifacts, chat) when RPC drifts.
gn_open_notebookOpen a notebook in a new Chrome tab.
Security

Local by default

The bridge binds to 127.0.0.1. Set GNKG_TOKEN to require a bearer token; --lan refuses to start without one. Nothing of Google's is ever shared; revoke by stopping the bridge.

Cloud agents

Tunnel with a token

Cloudflare Tunnel, ngrok or Tailscale expose only the bridge. Point the connector at https://<tunnel>/mcp with Authorization: Bearer. Guide in the harness.

Multiple people

One bridge per person

GNKG never centralises notebooks. Each person runs their own extension and bridge; their agents connect to theirs. A team shares notebooks the normal way, inside Gemini Notebook.

“The bridge was never the server. The bridge was the session.”

B.I.F.R.O.S.T. v2.0 · GNKG · Metaphy LLC