A side-by-side look at the Mongodb MCP Server and Read Only Local Mysql MCP Server MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose Mongodb MCP Server for databases work as a local process; choose Read Only Local Mysql MCP Server for databases as a local process. You can also run both side by side in one mcpServers block.
MDB_MCP_CONNECTION_STRING.aggregate, aggregate-db, collection-indexes.DB_HOST, DB_PORT, DB_DATABASE, DB_USERNAME, DB_PASSWORD, DB_ALLOWED_HOSTS.connect, disconnect, query.Rows where the two servers differ are marked.
| Spec | ||
|---|---|---|
| Category | Databases | Databases |
| Quality signal | 65/100 · Great | 60/100 · Good |
| Install command | Confirmed | Confirmed |
| Transport | Local subprocess (stdio) | Local subprocess (stdio) |
| Auth | Not declared | Not declared |
| Pricing | Not declared | Not declared |
| Required env vars | MDB_MCP_CONNECTION_STRING | DB_HOSTDB_PORTDB_DATABASEDB_USERNAMEDB_PASSWORDDB_ALLOWED_HOSTS |
| Verified owner | Community listing | Community listing |
| GitHub stars | 1,146 | 7 |
| Directory activity | 1 views 0 installs 0 upvotes | 2 views 0 installs 0 upvotes |
| Tools | 53 | 3 |
| Full listing | View Mongodb MCP Server | View Read Only Local Mysql MCP Server |
aggregateRun an aggregation against a MongoDB collectionaggregate-dbRun an aggregation against a MongoDB databasecollection-indexesDescribe the indexes for a collectioncollection-schemaDescribe the schema for a collectioncollection-storage-sizeGets the size of the collectionconnectConnect to a MongoDB instancecountGets the number of documents in a MongoDB collection using db.collection.count() and query as an optional filter parametercreate-collectionCreates a new collection in a database. If the database doesn't exist, it will be created automatically.create-indexCreate an index for a collectiondb-statsReturns statistics that reflect the use state of a single databasedelete-manyRemoves all documents that match the filter from a MongoDB collectiondisconnectClose a MongoDB connection and revoke its connectionId.connectConnect to a MySQL database using a connection string. The connection will be used for subsequent queries until changed.disconnectDisconnect from the current runtime database and revert to the default environment-configured connectionqueryRun a read-only SQL query against the currently connected databasePaste 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.
{
"mcpServers": {
"mongodb-mcp-server": {
"command": "npx",
"args": [
"-y",
"mongodb-mcp-server@latest"
],
"env": {
"MDB_MCP_CONNECTION_STRING": "YOUR_MDB_MCP_CONNECTION_STRING_HERE"
}
}
}
}
{
"mcpServers": {
"read-only-local-mysql-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hovecapital/read-only-mysql-mcp-server@latest"
],
"env": {
"DB_HOST": "YOUR_DB_HOST_HERE",
"DB_PORT": "YOUR_DB_PORT_HERE",
"DB_DATABASE": "YOUR_DB_DATABASE_HERE",
"DB_USERNAME": "YOUR_DB_USERNAME_HERE",
"DB_PASSWORD": "YOUR_DB_PASSWORD_HERE",
"DB_ALLOWED_HOSTS": "YOUR_DB_ALLOWED_HOSTS_HERE"
}
}
}
}