Connect OpenCode to MongoDB and Notion
What happens next
Set up in minutes
Choose where it runs
On your computer through your own OpenCode, or hosted in the cloud. The rest of setup adapts to your choice:
Pick what it can do in MongoDB
A preset of real MongoDB operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.
Pick what it can do in Notion
A preset of real Notion operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.
Connect MongoDB
One sign-in. The agent acts through your account, scoped to the operations you picked.
Connect Notion
One sign-in. The agent acts through your account, scoped to the operations you picked.
Add your personal MCP link
The last step mints a private MCP URL for this agent and walks you through exactly this, with your real link filled in. The page flips to Connected the moment your OpenCode first calls in.
1. Run this in your terminal
2. Choose Remote and paste your server URL
3. Choose No when asked about OAuth authentication — the link itself is the key
<your-link> is your personal server URL — setup mints it for you.
Exact capabilities
Tools OpenCode gets
MongoDB
38 toolsNotion
27 toolsSearch pages and databases by title
Query a database to retrieve pages
Retrieve a database's metadata and schema
Create a new database as a child of a page
Update a database's title, description, or properties
Retrieve a page's properties
Retrieve a single property value from a page
Create a new page in a database or as a child of another page
Update a page's properties, icon, or cover
Retrieve a block
Retrieve a block's children
Append new children blocks to a parent block
Update a block's content
Delete (archive) a block
List all users in the workspace
Retrieve a user by ID
Retrieve the bot user for the current integration
Create a comment on a page or in an existing discussion thread
Retrieve a comment by its ID
List comments on a block or page
Update a comment's rich text content
Delete a comment
List all views for a database
Retrieve a specific database view
Update a database view's name or layout
Initiate a file upload and get an upload URL
Get the status of an asynchronous Notion task
Starting points
What you can build
Meet the runner
About OpenCode
Good to know
Frequently asked questions
Keep exploring
More ways to connect
More tools for OpenCode
Popular OpenCode pairs
Make it yours
Open your OpenCode agent in one click.
NoClick runs OpenCode for you with MongoDB and Notion wired in as tools. Connect your account and run.