Connect Notion to OpenCode
Connected workspace for docs and databases. Its hosted MCP server lets agents search, read and edit pages and databases, such as briefs, specs and research notes.
MCP serverOfficialChecked 2026-11-16
Before you start
- OpenCode installed (see its MCP documentation (opens in a new tab)).
- Notion is available on macOS, Windows, Linux and the web.
- Works on every Notion plan; guests can't connect. Your agent opens a Notion sign-in page the first time it connects. Notion's older open-source server is no longer maintained, so use this hosted one.
Step 1: Add Notion to OpenCode
Add it from the terminal
Run this in your project folder. It saves the server to the project's
opencode.json.Terminal opencode mcp add notion --url https://mcp.notion.com/mcpOr edit the config file
Add this to
opencode.jsonat the project root.opencode.json { "$schema": "https://opencode.ai/config.json", "mcp": { "notion": { "type": "remote", "url": "https://mcp.notion.com/mcp", "enabled": true } } }Good to know- Sign in once with
opencode mcp auth notion.
- Sign in once with
Step 2: Check it's connected
Terminal opencode mcp listStart OpenCode in the project; the server's tools are available to the agent straight away.
Step 3: Try a first request
Ask OpenCode something that only works with Notion connected:
Say to OpenCode Find the Notion page with our latest product brief and summarise the goals and open questions.
If it doesn't work
- OpenCode reads
opencode.jsonfrom the project root, or~/.config/opencode/opencode.jsonfor every project. - Environment variables use the
{env:NAME}syntax inside the config file. - Servers that need a sign-in: run
opencode mcp auth <name>.





