Mongodb MCP Server vs Rebase

A side-by-side look at the Mongodb MCP Server and Rebase MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

Mongodb MCP Server logoMongodb MCP ServerDatabases · Local subprocess (stdio)A Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.65GreatAuth: not declaredRebase logoRebaseDatabases · Local subprocess (stdio)Schema, database, document, user and dev-server tools for a Rebase backend project.65GreatAuth: not declared

Verdict: choose Mongodb MCP Server for databases work as a local process; choose Rebase for databases as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

Mongodb MCP Server logoChoose Mongodb MCP Server when

  • You need dedicated capabilities in the Databases domain.
  • You prefer a local stdio subprocess transport.
  • You have the keys it needs: MDB_MCP_CONNECTION_STRING.
  • You want tools like aggregate, aggregate-db, collection-indexes.
Explore Mongodb MCP Server

Rebase logoChoose Rebase when

  • You need dedicated capabilities in the Databases domain.
  • You prefer a local stdio subprocess transport.
  • You want tools like rebase_schema_generate, rebase_db_push, rebase_schema_introspect.
Explore Rebase

Feature & specification comparison

Rows where the two servers differ are marked.

SpecMongodb MCP Server logoMongodb MCP ServerRebase logoRebase
CategoryDatabasesDatabases
Quality signal65/100 · Great65/100 · Great
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
AuthNot declaredNot declared
PricingNot declaredNot declared
Required env varsMDB_MCP_CONNECTION_STRINGNone listed
Verified ownerCommunity listingCommunity listing
GitHub stars1,14623
Directory activity 1 views 0 installs 0 upvotes 1 views 0 installs 0 upvotes
Tools5342

Tools & capabilities

Mongodb MCP Server tools 53

  • aggregateRun an aggregation against a MongoDB collection
  • aggregate-dbRun an aggregation against a MongoDB database
  • collection-indexesDescribe the indexes for a collection
  • collection-schemaDescribe the schema for a collection
  • collection-storage-sizeGets the size of the collection
  • connectConnect to a MongoDB instance
  • countGets the number of documents in a MongoDB collection using db.collection.count() and query as an optional filter parameter
  • create-collectionCreates a new collection in a database. If the database doesn't exist, it will be created automatically.
  • create-indexCreate an index for a collection
  • db-statsReturns statistics that reflect the use state of a single database
  • delete-manyRemoves all documents that match the filter from a MongoDB collection
  • disconnectClose a MongoDB connection and revoke its connectionId.
  • +41 more on the listing page

Rebase tools 42

  • rebase_schema_generateGenerate Drizzle schema from Rebase TypeScript collection definitions. Run this after adding or modifying collection files.
  • rebase_db_pushApply the current Drizzle schema directly to the database (development shortcut, skips migration files). Refuses changes that destroy data — use rebase_schema_plan first, then ask the human to run `rebase db push --allow-destructive`.
  • rebase_schema_introspectIntrospect the live database and generate Rebase collection definitions from existing tables.
  • rebase_db_generateGenerate SQL migration files from schema changes (compares current Drizzle schema against the last entity).
  • rebase_db_migrateRun all pending SQL migrations against the database.
  • rebase_generate_sdkGenerate a fully-typed JavaScript/TypeScript SDK from collection definitions.
  • rebase_doctorDetect schema drift between collection definitions, generated Drizzle schema, and the live PostgreSQL database.
  • rebase_db_branch_createCreate a new database branch (Admins only).
  • rebase_db_branch_listList all database branches (Admins only).
  • rebase_db_branch_deleteDelete an existing database branch (Admins only).
  • rebase_db_branch_infoShow information and status for a database branch (Admins only).
  • rebase_db_branch_switchPoint this checkout at a database branch, or back at the main database (Admins only). With no name, reports which branch is active. Writes a local pointer, never `.env`.
  • +30 more on the listing page

Ready-to-paste client configs

Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.

Mongodb MCP Server

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "mongodb-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "mongodb-mcp-server@latest"
      ],
      "env": {
        "MDB_MCP_CONNECTION_STRING": "YOUR_MDB_MCP_CONNECTION_STRING_HERE"
      }
    }
  }
}

Rebase

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "rebase": {
      "command": "npx",
      "args": [
        "-y",
        "@rebasepro/mcp"
      ]
    }
  }
}

Frequently asked questions

Mongodb MCP Server is categorized under Databases and uses a local stdio subprocess. Rebase belongs to Databases and uses a local stdio subprocess. Pick Mongodb MCP Server for databases work and Rebase for databases.

Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.

Mongodb MCP Server has no declared pricing — check the project's own site. Rebase has no declared pricing — check the project's own site. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.

Yes. MCP clients support multiple servers: add mongodb-mcp-server and rebase as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, Mongodb MCP Server has a quality signal of 65/100 (Great) with 1 views, 0 installs and 1,146 GitHub stars. Rebase has 65/100 (Great) with 1 views, 0 installs and 23 GitHub stars.