Documentation
How Mongo Studio's deeper features work: what they are for, how they work under the hood, and how to set them up step by step.
MCP serverLet AI agents on your computer, like Claude Code, Cursor and Codex, browse, query and change your MongoDB databases through Mongo Studio, inside limits you set per capability and per connection.Read the guide RelationsLink documents across databases and connections, where MongoDB's
$lookup can't reach, and see the related documents of every row: counts, sums, orphans, one click away.Read the guide How they fit together
The two features meet in one place: an AI agent connected over MCP can see your relations, use them to find related documents with counts and sums, and propose new ones. A relation an agent proposes is a draft: nothing uses it until you open it in Mongo Studio, check what it finds and save it.
Both run entirely on your computer. The MCP server listens on 127.0.0.1 only, and relations are joined by the app itself on the connections you already have open; no data goes anywhere else.
Before you start
- Install Mongo Studio from the download section. The MCP server and Relations are in every release since 2.1.0.
- Save the connections you want to use in the app. Both features work on saved connections, with the credentials you gave them.
- Settings open from the gear at the top right, or with Ctrl , (⌘ , on macOS).