A local MCP server can give Claude or Cursor two narrowly scoped Notion tools: read a page title and create a child page. The client launches Node over standard input and output. The server calls the hosted Notion API, and the MCP client receives the returned title or new page ID. Running the bridge locally does not make the workspace or the model session offline.
Choose the pages first
Create an internal Notion connection with read-content access. Enable insert-content access only if you intend to create pages. Share the relevant pages with the connection in Notion. Use a disposable parent for your first write. Copy the hyphenated page UUIDs, not full URLs. The server applies two independent lists: permission to read a title never grants permission to write under that page.
Install and configure
Use Node 22 or newer. In an empty directory run:
Supply NOTION_TOKEN through the local process environment using your existing secret manager. Set NOTION_READ_PAGES to a comma-separated list of page UUIDs. Leave NOTION_WRITE_PARENTS empty initially. A malformed ID stops startup. For clients launched from a desktop shortcut, verify that the launched server inherits these variables. Keep the token out of shared client configuration and source control.
Implement the server
Save the following as server.js in that directory. The parent ID is checked before the server builds the outbound POST. Callers can supply a title and parent ID only. They cannot choose the destination URL, connection token or arbitrary page properties.
Connect and exercise the boundary
Configure your MCP client's local stdio server entry with the absolute path to the Node executable as the command and the absolute path to server.js as its sole argument. Restart the server after changing its environment. Tool discovery should show read_title and create_child. No HTTP listener, reverse proxy or background daemon is needed.
First call read_title with an ID from the read list. Then request create_child with that same ID while the write list is empty. Expect an allowlist error and no outbound write. To enable one write destination, put the disposable parent UUID in NOTION_WRITE_PARENTS, restart the server and request a child titled “MCP smoke test”. Check the returned ID against the child in Notion. Another parent must still be denied. A successful local allowlist check cannot override Notion’s own sharing or connection capabilities.
Handle an uncertain write
If a create request times out, inspect the intended parent before retrying. Notion may have created the page before the response was lost. The server makes one request and has no idempotency ledger. A caller that needs automatic retries must reconcile the first attempt.
The example was tested with a real MCP client and server over stdio and a fixture in place of the Notion API. The checks covered tool discovery, allowed reads, malformed input, denied destinations, an empty write list and the exact outgoing parent and title for an allowed write. Live workspace writes and desktop-client setup were outside that test.