Skip to main content
Glama
davidwuwu001

notion-local-ops-mcp

by davidwuwu001

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NOTION_LOCAL_OPS_HOSTNoHost address the local MCP server binds to (default 127.0.0.1).127.0.0.1
NOTION_LOCAL_OPS_PORTNoPort the local MCP server listens on (default 8766).8766
NOTION_LOCAL_OPS_AUTH_MODENoAuthentication mode. Defaults to shared_token when NOTION_LOCAL_OPS_AUTH_TOKEN is set, otherwise none. Use oauth for ChatGPT web OAuth compatibility.shared_token
NOTION_LOCAL_OPS_RELAY_URLNoDefault relay endpoint used by bind_relay_run (default http://127.0.0.1:8799).http://127.0.0.1:8799
NOTION_LOCAL_OPS_STATE_DIRNoDirectory for state, task artifacts and OAuth data (default ~/.notion-local-ops-mcp).~/.notion-local-ops-mcp
NOTION_LOCAL_OPS_AUTH_TOKENYesBearer token used to authenticate MCP clients. Required by the setup flow and used by the dev-tunnel script; also serves as the OAuth login token unless NOTION_LOCAL_OPS_OAUTH_LOGIN_TOKEN is set.
NOTION_LOCAL_OPS_TUNNEL_NAMENoName of the named cloudflared tunnel to run (default empty).
NOTION_LOCAL_OPS_OAUTH_SCOPESNoOAuth scopes offered by the server (default local-ops).local-ops
NOTION_LOCAL_OPS_CODEX_COMMANDNoCommand used to invoke the local codex CLI for delegated tasks (default codex).codex
NOTION_LOCAL_OPS_TUNNEL_DIRECTNoDesktop only. Set to 1 so cloudflared bypasses a TUN proxy and binds directly to the primary physical interface's IPv4. Default is 0, preserving existing routing.0
NOTION_LOCAL_OPS_CLAUDE_COMMANDNoCommand used to invoke the local claude CLI for delegated tasks (default claude).claude
NOTION_LOCAL_OPS_WORKSPACE_ROOTYesAbsolute path to the local workspace root the agent operates on. Defaults to the repo root, or the home directory if unset.
NOTION_LOCAL_OPS_COMMAND_TIMEOUTNoTimeout in seconds for shell commands (default 120).120
NOTION_LOCAL_OPS_PUBLIC_BASE_URLNoPublic HTTPS base URL of the tunnel/domain. Required for OAuth mode so the issuer URL does not fall back to the spoofable request Host header.
NOTION_LOCAL_OPS_DELEGATE_TIMEOUTNoTimeout in seconds for delegated tasks (default 1800).1800
NOTION_LOCAL_OPS_SIGNING_IDENTITYNomacOS local code signing identity used when building the desktop console app.
NOTION_LOCAL_OPS_DEBUG_MCP_LOGGINGNoSet to 1 to enable verbose MCP request logging (MCP_DEBUG lines with method, path, session id, tool name and arguments). Default 0.0
NOTION_LOCAL_OPS_OAUTH_LOGIN_TOKENNoOptional separate login token for the OAuth authorization page. Falls back to NOTION_LOCAL_OPS_AUTH_TOKEN.
NOTION_LOCAL_OPS_CLOUDFLARED_CONFIGNoPath to the cloudflared configuration file to use (default empty).
NOTION_LOCAL_OPS_LAUNCHD_LABEL_PREFIXNoPrefix for the generated macOS LaunchAgent labels (default com.notion-local-ops).com.notion-local-ops
NOTION_LOCAL_OPS_RELAY_BRIDGE_ENABLEDNoSet to true to mirror tool calls to a workspace-agent-relay dashboard; set false to disable entirely (default true).true
NOTION_LOCAL_OPS_RELAY_BRIDGE_TIMEOUTNoTimeout in seconds capping the fire-and-forget trace POST (default 1.5).1.5
NOTION_LOCAL_OPS_OAUTH_TOKEN_TTL_SECONDSNoTTL in seconds for minted OAuth access tokens (default 86400).86400
NOTION_LOCAL_OPS_DOCTOR_FAILURE_THRESHOLDNoNumber of consecutive failed health checks before the launchd doctor triggers a health-based restart.
NOTION_LOCAL_OPS_GRACEFUL_SHUTDOWN_SECONDSNoNumber of seconds for graceful shutdown before draining (default 30).30
NOTION_LOCAL_OPS_RELAY_BINDING_TTL_SECONDSNoTTL in seconds after which old relay bindings are cleared before posting traces (default 3600).3600
NOTION_LOCAL_OPS_WATCHDOG_INTERVAL_SECONDSNoInterval in seconds for the launchd watchdog that runs launchd-doctor.sh --fix.
NOTION_LOCAL_OPS_DOCTOR_MAX_BACKOFF_SECONDSNoMaximum value in seconds for the exponential restart backoff used by the launchd doctor.
NOTION_LOCAL_OPS_DOCTOR_BASE_BACKOFF_SECONDSNoBase value in seconds for the exponential restart backoff used by the launchd doctor.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources