1. Conduid
  2. Data
  3. kiliczsh/mcp-mongo-server
MCP server · Data

kiliczsh/mcp-mongo-server

A Model Context Protocol Server for MongoDB

71Good

Scored 5 hours ago · breakdown

About kiliczsh/mcp-mongo-server

kiliczsh/mcp-mongo-server is an MCP server published by kiliczsh in the Data category: a Model Context Protocol Server for MongoDB. Conduid read 11 tools from its source: aggregate, convertTime, count, createIndex, insert, listCollections and 5 more. No package is published for it, so it installs from a source checkout.

The repository has 283 stars and 55 forks, is licensed MIT, and its last commit was on 11 Nov 2026. The latest release is 3.2.1 (11 Nov 2026): mcp-mongo-server 3.2.1 fixes a query timeout regression in fresh npm installations of 3.2.0. It follows 3.2.0 (11 Nov 2026), and the 5 most recent releases go back to 3.0.1 (29 Jul 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include data, cline, antrophic and mongo.

Install

From source
git clone https://github.com/kiliczsh/mcp-mongo-server

Tools (11)

aggregateRun a MongoDB aggregation pipeline for grouping, joins, or multi-stage transformations. Request an execution plan to inspect the pipeline.
ParameterTypeDescription
collection *stringName of the collection to aggregate
explainstringOptional: Get aggregation execution information (queryPlanner, executionStats, or allPlansExecution)
objectIdModestringControl how 24-character hex strings are handled
pipeline *arrayAggregation pipeline stages. Supports date strings in ISO format ('2025-01-01T00:00:00Z') and ISODate('2025-01-01T00:00:00Z') notation
convertTimeConvert a Unix timestamp or date string to multiple formats (UTC ISO 8601, GMT, Unix seconds/milliseconds) and report the server's current time and timezone. Useful for building unambiguous date queries when the server and user are in different timezones. Omit 'input' to get the current time.
ParameterTypeDescription
inputstringA Unix timestamp (seconds or milliseconds, as a number or numeric string) or a date string (ISO 8601, with or without a timezone offset). Omit to use the current server time.
countCount documents matching a filter in one collection. Use aggregate for counts grouped by field.
ParameterTypeDescription
collationobjectCollation rules for comparison
collection *stringCollection name
hintobjectIndex hint
limitintegerMax documents to count
maxTimeMSintegerMax execution time
objectIdModestringControl how 24-character hex strings are handled
queryobjectQuery filter to count
readConcernobjectRead concern option
skipintegerDocs to skip before counting
createIndexCreate indexes to improve query performance, enforce uniqueness, or expire documents with a TTL index.
ParameterTypeDescription
collection *stringName of the collection to create indexes on
commitQuorumanyReplica-set commit quorum as a member count or a mode such as majority
indexes *arrayArray of index specifications
objectIdModestringControl how 24-character hex strings are handled
writeConcernobjectWrite concern for index creation
insertInsert new documents into a MongoDB collection. Use update to modify existing records.
ParameterTypeDescription
bypassDocumentValidationbooleanAllow insert to bypass schema validation
collection *stringName of the collection to insert into
documents *arrayArray of documents to insert
objectIdModestringControl how 24-character hex strings are handled
orderedbooleanIf true, perform ordered insert. If false, insert unordered
writeConcernobjectWrite concern for the insert operation
listCollectionsList collections in the connected database. Filter by name or other collection properties and request names only for a compact result.
ParameterTypeDescription
filterobjectFilter for collections
limitnumberMaximum number of collections to return
nameOnlybooleanIf true, return only collection names
objectIdModestringControl how 24-character hex strings are handled
skipnumberNumber of collections to skip before returning results
listConnectionsList configured connection IDs, default databases, and read-only policies.
listDatabasesList existing authorized databases on a configured connection.
queryFind documents in one collection using a filter, projection, or sort. Use aggregate for grouping or joins. Request an execution plan to inspect the query.
ParameterTypeDescription
collection *stringName of the collection to query
explainstringOptional: Get query execution information
filterobjectMongoDB query filter. Supports date strings in ISO format ('2025-01-01T00:00:00Z') and ISODate('2025-01-01T00:00:00Z') notation
includeTotalbooleanInclude the exact match count. Set false to skip counting.
limitnumberRequested page size. Configured server caps may reduce the number returned.
objectIdModestringControl how 24-character hex strings are handled
projectionobjectFields to include/exclude
skipnumberNumber of documents to skip before returning results
sortobjectSort order as a field-to-direction map, e.g. { orderDate: -1 } for descending or { name: 1 } for ascending
serverInfoInspect MongoDB server metadata such as version and storage engine. Enable includeDebugInfo for additional diagnostics.
ParameterTypeDescription
includeDebugInfobooleanInclude additional debug information about the server
updateModify matching documents using operators such as $set, $unset, or $inc. Enable multi to update all matches or upsert to create a document when the filter matches none.
ParameterTypeDescription
collection *stringName of the collection to update
filter *objectFilter to select documents to update. Supports date strings in ISO format ('2025-01-01T00:00:00Z') and ISODate('2025-01-01T00:00:00Z') notation
multibooleanUpdate multiple documents that match the filter
objectIdModestringControl how 24-character hex strings are handled
update *objectUpdate operations to apply ($set, $unset, $inc, etc.)
upsertbooleanCreate a new document if no documents match the filter

Security checks

Static checks derived from the repository yesterday. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.0K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by bun.lock.
  • ✓No dynamic code executionScanned 14 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdio and Streamable HTTPsrc/index.ts:4, src/index.ts:284
Starts other programs
No calls that start other programs
Outbound network calls
No outbound network calls
Writes or deletes files
No file writes or deletes
Lockfile
bun.lock

Pattern matches on the source text of 14 files: places to read, not proof of what the code does at run time.

Releases

3.2.13.2.1 · 11 Nov 2026mcp-mongo-server 3.2.1 fixes a query timeout regression in fresh npm installations of 3.2.0. The package now pins the MongoDB driver to 7.5.0 so configured query timeouts are enforced when MongoDB is slow to respond. Regression tests cover…
3.2.03.2.0 · 11 Nov 2026mcp-mongo-server 3.2.0 adds collection inspection tools and configurable query limits. Use `listIndexes` to inspect index keys and options, and `collectionSchema` to infer fields from sample documents. Both accept the existing connection…
3.1.03.1.0 · 11 Nov 2026mcp-mongo-server 3.1.0 adds named MongoDB connections. One MCP server can now query several MongoDB deployments and select a database for each request. Configure connections with `MCP_MONGODB_CONNECTIONS` and discover available targets…
3.0.23.0.2 · 11 Nov 2026Changes Block server-side JavaScript in query, count, and update filters by default. Read-only mode keeps the block active even when server-side JavaScript is explicitly enabled. Clarify MCP tool descriptions so clients can choose the…
3.0.13.0.1 · 29 Jul 2026Patch release. Renames the CLI bin from `mongodb` to `mcp-mongo-server` so `npx -y mcp-mongo-server "<connection-string>"` (the form documented in the README) resolves directly. Previously, because the package name (`mcp-mongo-server`) and…

README

The repository's README runs to about 1.0K words, fetched yesterday. The original in the repository is authoritative.

Read full README
Questions

About kiliczsh/mcp-mongo-server

How do I install kiliczsh/mcp-mongo-server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is kiliczsh/mcp-mongo-server safe to use with an AI agent?

Its trust score is 71 out of 100 (good). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 14 source files found that it serves MCP over stdio and Streamable HTTP. Its dependencies are pinned by bun.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is kiliczsh/mcp-mongo-server still maintained?

Yes — the latest release is 3.2.1 (11 Nov 2026), and the last commit was 20 days ago. The repository has 283 stars.

What tools does kiliczsh/mcp-mongo-server provide?

Conduid read 11 tools from the source: aggregate, convertTime, count, createIndex, insert, listCollections, listConnections, listDatabases and 3 more. 9 of them publish their parameters, listed under Tools above.

What license is kiliczsh/mcp-mongo-server released under?

The repository declares the MIT license. That applies to the latest release, 3.2.1, as well.