Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoBind address for HTTP transport; `0.0.0.0` exposes it externally (only with MCP_AUTH_TOKEN).127.0.0.1
PORTNoListen port for HTTP transport (`0` = OS-assigned).3000
HTTP_PROXYNoSend all outbound HTTP traffic through this HTTP proxy.
HTTPS_PROXYNoSend all outbound HTTP(S) traffic through this HTTPS proxy.
NOTION_TOKENYesRequired. Notion Personal Access Token (`ntn_…`) or Internal Integration secret. Create a PAT at app.notion.com/developers/tokens (works on every plan, including Free), or an Internal Integration at app.notion.com/developers/connections (sees only pages explicitly Connected to it).
MCP_TRANSPORTNoSet to `http` to run the server as a Streamable HTTP endpoint instead of stdio.stdio
MCP_AUTH_TOKENNoWhen set, every `/mcp` request must send `Authorization: Bearer <token>`.
NOTION_PAGE_IDNoDefault parent for create_page / create_database when no `parent` is passed. Accepts a page URL or id.
NOTION_FILE_URLSNo`full` (default) or `ref`. `ref` replaces Notion's long signed file URLs in responses with short `notion-file:` refs that `get_file_url` and `get_image` resolve on demand.full
NOTION_READ_ONLYNoSet to `true` to disable every write operation.
MCP_ALLOWED_HOSTSNoComma-list for the DNS-rebinding `Host` allowlist. Defaults to localhost plus the bound host.
NOTION_RATE_LIMITNoRequests per second (Notion's documented limit).3
NOTION_UPLOAD_ROOTNoConfines `upload_file`'s local `path` source to one directory.
MCP_ALLOWED_ORIGINSNoComma-list for the browser `Origin` allowlist. Defaults to localhost origins.
NOTION_DAILY_LOG_PAGE_IDNoPage id used only by the daily-log MCP prompt.
NOTION_ALLOWED_OPERATIONSNoComma-separated allowlist of operation names or presets: `read`, `write`, `destructive` (archive, trash and delete), or a family (`pages`, `blocks`, `databases`, `data_sources`, `views`, `comments`, `users`, `files`).
NOTION_BLOCKED_OPERATIONSNoComma-separated blocklist of operation names or presets (same values as NOTION_ALLOWED_OPERATIONS). The blocklist wins.
NOTION_CONFIRM_DESTRUCTIVENoSet to `true` to be asked (via MCP elicitation) before a destructive operation runs instead of blocking it.

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

Maintenance

ActivityActive
ResponsivenessNo issues