opencode

Connect OpenCode to Google Docs and MongoDB

Give OpenCode your Google Docs and MongoDB together and it can query your data and write the answer into a document people can read. It aggregates, counts, and runs Atlas text and facet search in MongoDB, then creates or appends to Google Docs with the results. MongoDB is the store of record and Google Docs is where the report lands, so a raw query becomes a shareable summary in one pass.
Loading preview…
Opens a workflow with 44 tools ready to use.

What happens next

Set up in minutes

The open button drops you into a guided setup. It asks exactly this, nothing else:
  1. Choose where it runs

    On your computer through your own OpenCode, or hosted in the cloud. The rest of setup adapts to your choice:

  2. Pick what it can do in Google Docs

    A preset of real Google Docs operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.

  3. 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.

  4. Connect Google Docs

    One sign-in. The agent acts through your account, scoped to the operations you picked.

  5. Connect MongoDB

    One sign-in. The agent acts through your account, scoped to the operations you picked.

  6. 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

    $opencode mcp add

    2. Choose Remote and paste your server URL

    https://mcp.noclick.app/s/<your-link>

    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

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

Google Docs

6 tools
List Google Drive Documents

Configuration for listing documents from Google Drive

Fetch Document Content

Configuration for getting a document

Create New Document

Configuration for creating a new document

Append Text to Document

Configuration for appending text to a document

Insert Text in Document

Configuration for inserting text at a specific location

Replace Document Text

Configuration for replacing text in a document

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

Starting points

What you can build

Run an aggregation over a MongoDB collection and write the summary into a new Google Doc.
Count documents that match a filter and append the number to a running status doc.
Run an Atlas text search and insert the top matches into a Google Doc report.
Read a data spec from a Google Doc and create the described MongoDB collection and index.

Meet the runner

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

Good to know

Frequently asked questions

Keep exploring

More ways to connect

Make it yours

Open your OpenCode agent in one click.

NoClick runs OpenCode for you with Google Docs and MongoDB wired in as tools. Connect your account and run.