Roam Research
by 2b3pro
Roam Research graphs — headless via Roam's backend REST API (works with Roam not running). Full CLI + shared HTTP daemon, multi-graph, write-key gates, smart page diffing that preserves block UIDs. Source: 2b3pro/roam-research-mcp. Roam's own…
Required for single-graph mode. Graph API token -- Roam -> Settings -> Graph tab -> API Tokens -> + New API Token (owner-only)
Required for single-graph mode. Graph slug from the URL after /app/
Optional. JSON map of graph-nickname to {token, graph, protected?, memoriesTag?}. Enables multi-graph mode, overriding the single-graph vars
Optional, required if ROAM_GRAPHS is used and you want a default. Writes to this graph bypass the protected guard
Optional, default none. Shared secret required to write to any graph marked protected: true
Optional. Default tag used by roam_remember/roam_recall when a graph has no per-graph memoriesTag
Optional, default roam/agent guidelines. Page read for agent conventions
Optional, default ~/.roam/. Shared-daemon pidfile/log dir (--server mode only)
Optional, default 8088. --server mode only
Optional, default 127.0.0.1. --server mode only
Optional, default none. Bearer token securing the HTTP endpoint in --server mode
Optional KEY=VALUE pairs (one per line) set as extra environment variables on the connector's process. Lines starting with # are ignored; uncomment and edit what you need.
Default template
# Optional extra environment variables, one KEY=VALUE per line. # Lines starting with # are ignored: uncomment and edit what you need. # Documented options: https://github.com/2b3pro/roam-research-mcp # Route the connector through an HTTP proxy, if your network needs one. # HTTPS_PROXY=http://proxy.example:8080 # Turn up logging for troubleshooting (read by many servers; the name varies). # LOG_LEVEL=debug
This template lands in your config when you add the connector. Edit or override anytime from My Connectors — click the connector's config action to open the same editor with your saved values.
Runtime commands — technical reference. Nothing to configure here; the desktop runs these for you.
npx -y [email protected]