notion-local-ops-mcp
by davidwuwu001
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NOTION_LOCAL_OPS_HOST | No | Host address the local MCP server binds to (default 127.0.0.1). | 127.0.0.1 |
| NOTION_LOCAL_OPS_PORT | No | Port the local MCP server listens on (default 8766). | 8766 |
| NOTION_LOCAL_OPS_AUTH_MODE | No | Authentication 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_URL | No | Default relay endpoint used by bind_relay_run (default http://127.0.0.1:8799). | http://127.0.0.1:8799 |
| NOTION_LOCAL_OPS_STATE_DIR | No | Directory for state, task artifacts and OAuth data (default ~/.notion-local-ops-mcp). | ~/.notion-local-ops-mcp |
| NOTION_LOCAL_OPS_AUTH_TOKEN | Yes | Bearer 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_NAME | No | Name of the named cloudflared tunnel to run (default empty). | |
| NOTION_LOCAL_OPS_OAUTH_SCOPES | No | OAuth scopes offered by the server (default local-ops). | local-ops |
| NOTION_LOCAL_OPS_CODEX_COMMAND | No | Command used to invoke the local codex CLI for delegated tasks (default codex). | codex |
| NOTION_LOCAL_OPS_TUNNEL_DIRECT | No | Desktop 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_COMMAND | No | Command used to invoke the local claude CLI for delegated tasks (default claude). | claude |
| NOTION_LOCAL_OPS_WORKSPACE_ROOT | Yes | Absolute 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_TIMEOUT | No | Timeout in seconds for shell commands (default 120). | 120 |
| NOTION_LOCAL_OPS_PUBLIC_BASE_URL | No | Public 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_TIMEOUT | No | Timeout in seconds for delegated tasks (default 1800). | 1800 |
| NOTION_LOCAL_OPS_SIGNING_IDENTITY | No | macOS local code signing identity used when building the desktop console app. | |
| NOTION_LOCAL_OPS_DEBUG_MCP_LOGGING | No | Set 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_TOKEN | No | Optional separate login token for the OAuth authorization page. Falls back to NOTION_LOCAL_OPS_AUTH_TOKEN. | |
| NOTION_LOCAL_OPS_CLOUDFLARED_CONFIG | No | Path to the cloudflared configuration file to use (default empty). | |
| NOTION_LOCAL_OPS_LAUNCHD_LABEL_PREFIX | No | Prefix for the generated macOS LaunchAgent labels (default com.notion-local-ops). | com.notion-local-ops |
| NOTION_LOCAL_OPS_RELAY_BRIDGE_ENABLED | No | Set 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_TIMEOUT | No | Timeout in seconds capping the fire-and-forget trace POST (default 1.5). | 1.5 |
| NOTION_LOCAL_OPS_OAUTH_TOKEN_TTL_SECONDS | No | TTL in seconds for minted OAuth access tokens (default 86400). | 86400 |
| NOTION_LOCAL_OPS_DOCTOR_FAILURE_THRESHOLD | No | Number of consecutive failed health checks before the launchd doctor triggers a health-based restart. | |
| NOTION_LOCAL_OPS_GRACEFUL_SHUTDOWN_SECONDS | No | Number of seconds for graceful shutdown before draining (default 30). | 30 |
| NOTION_LOCAL_OPS_RELAY_BINDING_TTL_SECONDS | No | TTL in seconds after which old relay bindings are cleared before posting traces (default 3600). | 3600 |
| NOTION_LOCAL_OPS_WATCHDOG_INTERVAL_SECONDS | No | Interval in seconds for the launchd watchdog that runs launchd-doctor.sh --fix. | |
| NOTION_LOCAL_OPS_DOCTOR_MAX_BACKOFF_SECONDS | No | Maximum value in seconds for the exponential restart backoff used by the launchd doctor. | |
| NOTION_LOCAL_OPS_DOCTOR_BASE_BACKOFF_SECONDS | No | Base 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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues