opencode

Connect OpenCode to MongoDB and Notion

Give OpenCode your MongoDB and Notion together and it can read from your database and land the answers in your workspace. MongoDB is where the data lives, and Notion is where your team reads and discusses it. The agent runs an aggregate, a count, or an Atlas search, then writes the result into a page, a comment, or a fresh database in Notion. It closes the gap between raw records and the docs people actually open.

Loading preview…
Opens a workflow with 57 tools ready to use.

Tools OpenCode gets

Pick the operations you want and each becomes a tool the agent can call directly while it works.

MongoDB

38 tools
Find Documents
Find One Document
Insert One Document
Insert Many Documents
Update One Document
Update Many Documents
Replace One Document
Delete One Document
Delete Many Documents
Count Documents
Estimated Document Count
Distinct Values
Bulk Write
Find One and Update
Find One and Delete
Find One and Replace
Aggregate
List Collections
Create Collection
Drop Collection
Rename Collection
Create Index
List Indexes
Drop Index
Drop All Indexes
Vector Search
Create Vector Search Index
List Search Indexes
Update Search Index
Delete Search Index
Atlas Text Search
Create Atlas Search Index
Atlas Facet Search
List Databases
Drop Database
Run Command
Upload & Index Document
Create Multiple Indexes

Notion

19 tools
Search Pages and Databases

Search pages and databases by title

Query Notion Database

Query a database to retrieve pages

Fetch Database Metadata

Retrieve a database's metadata and schema

Create Page Database

Create a new database as a child of a page

Update Database Metadata

Update a database's title, description, or properties

Fetch Page Properties

Retrieve a page's properties

Create Notion Page

Create a new page in a database or as a child of another page

Update Page Properties

Update a page's properties, icon, or cover

Fetch Notion Block

Retrieve a block

Fetch Block Children

Retrieve a block's children

Append Children to Block

Append new children blocks to a parent block

Update Block Content

Update a block's content

Delete Notion Block

Delete (archive) a block

List Workspace Users

List all users in the workspace

Fetch Workspace User

Retrieve a user by ID

Fetch Bot Integration User

Retrieve the bot user for the current integration

Create Page Comment

Create a comment on a page or in an existing discussion thread

Fetch Page Comment

Retrieve a comment by its ID

List Block Comments

List comments on a block or page

What you can build

Run an aggregate over a MongoDB collection and create a Notion page with the summarized numbers.
Count the documents matching a filter in MongoDB and append the total as a block on a Notion status page.
When a new item is added to a Notion database, write the matching record into MongoDB with a bulk write.
Run an Atlas text search in MongoDB and post the top matches as a comment on the related Notion page.

About OpenCode

OpenCode is an open, model-agnostic command-line coding agent. In NoClick it runs hosted and gains your apps as tools, so it can act on real systems rather than just edit files. Wire an integration into the agent and OpenCode can use that app’s operations directly while it works. It is a flexible choice when you want an open agent with broad model support and real tool access.

Open and model-agnostic
Flexible across many underlying models
Good general-purpose tool use
Lightweight to point at a focused task

Frequently asked questions

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.