# documentdb MCP server

> Enables AI clients to perform CRUD operations, manage collections, and ingest data into knowledge graphs using a DocumentDB backend.

- Repository: https://github.com/Knuckles-Team/documentdb-mcp
- Page: https://hostedmcp.org/servers/knuckles-team/documentdb-mcp
- Transport: —
- Stars: 2
- License: MIT

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `MCP_TOOL_MODE` | no | no |  |
| `MONGODB_HOST` | no | no |  |
| `MONGODB_PORT` | no | no |  |
| `MONGODB_URI` | no | no |  |

## Tools (31)

- `documentdb_ingest_catalog`
- `documentdb_ingest_documents`
- `documentdb_aggregate`
- `documentdb_binary_version`
- `documentdb_count_documents`
- `documentdb_create_collection`
- `documentdb_create_database`
- `documentdb_create_user`
- `documentdb_delete_many`
- `documentdb_delete_one`
- `documentdb_distinct`
- `documentdb_drop_collection`
- `documentdb_drop_database`
- `documentdb_drop_user`
- `documentdb_find`
- `documentdb_find_one`
- `documentdb_find_one_and_delete`
- `documentdb_find_one_and_replace`
- `documentdb_find_one_and_update`
- `documentdb_insert_many`
- `documentdb_insert_one`
- `documentdb_list_collections`
- `documentdb_list_databases`
- `documentdb_rename_collection`
- `documentdb_replace_one`
- `documentdb_run_command`
- `documentdb_update_many`
- `documentdb_update_one`
- `documentdb_update_user`
- `documentdb_users_info`
- `x-mcp-enabled`

## FAQ

### How can I limit the number of tools exposed to the LLM?

You can use dynamic tool selection via CLI arguments, environment variables, or HTTP headers to filter tools and prevent context window bloat.

### What kind of security features does the server support?

The server provides enterprise-grade security including Eunomia policies, OIDC token delegation, and granular execution context tracking.

### Does the server support observability?

Yes, it includes native OpenTelemetry exports and Langfuse tracing out of the box.
