NotionResource exposes a Notion workspace as a filesystem. The Node SDK talks to the Notion REST API with an integration token; the Browser SDK talks to Notion’s MCP server with an OAuth client provider so secrets stay off the page.
Node
| Field | Default | Notes |
|---|---|---|
apiKey | required | Notion internal integration token. Redacted in snapshots. |
baseUrl | https://api.notion.com/v1 | Override for testing against a mock server. |
Browser
| Field | Default | Notes |
|---|---|---|
authProvider | required | OAuthClientProvider from @modelcontextprotocol/sdk. Redacted in snapshots. |
serverUrl | Notion’s hosted MCP endpoint | Override if you proxy MCP through your own URL. |
Mount mode
read, write (page edits via the MCP server in the browser SDK).
Resource commands
notion-search works on read mounts; the rest require a write mount: