documentdb-collection-admin

An administration tool for DocumentDB, a MongoDB-compatible database that runs on PostgreSQL. It manages databases, collections, and database users rather than the documents stored inside them.

In plain words
What is it for?
Use it to list, create, rename, or remove databases and collections, manage users and roles, and inspect the server version.
Why use it?
It provides the structural and access changes needed to organize a DocumentDB server without using document-query tools for the wrong job.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/knuckles-team/documentdb-mcp/documentdb-collection-admin
Any agent
npx skills add Knuckles-Team/documentdb-mcp --skill documentdb-collection-admin
Clone the repo
git clone --depth 1 https://github.com/Knuckles-Team/documentdb-mcp

Made for: Claude Code, Codex.

Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,114 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00106 $0.01114
Opus 5 $0.00053 $0.00557
Sonnet 5 $0.00021 $0.00223
Haiku 4.5 $0.00011 $0.00111

Measured 3d ago against content hash c8fe3ecc5412, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

documentdb-collection-admin scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

documentdb_mcp/skills/documentdb-collection-admin/SKILL.md · 102 lines

How it starts

The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DocumentDB Collection & Database Administration

Structural administration of a DocumentDB server: databases, collections, and the role-bearing users scoped to them. DocumentDB is MongoDB-compatible but runs on PostgreSQL, so the MongoDB command/driver semantics apply.

When to use

  • Enumerate the catalog: list databases, list collections in a database.
  • Provision namespaces: create a database (with an initial collection), create a collection, rename a collection.
  • Tear down: drop a collection or an entire database.
  • Manage auth: create / update / drop database users and inspect their roles.
  • Read the server build version.

When NOT to use

  • Inserting, finding, updating, or deleting documentsdocumentdb-document-crud.
  • distinct / aggregation pipelines / analytics → documentdb-aggregation-analytics.
  • Pushing the catalog into the knowledge graph → the native documentdb_ingest_catalog tool (see Related), not the admin tools here.

Prerequisites & environment

Connect via the mcp-client skill against the documentdb-mcp MCP server.

Variable Required Notes
MONGODB_URI one of Full connection URI (wins over host/port)
MONGODB_HOST one of Host when no URI (default localhost)
MONGODB_PORT optional Port when no URI (default 27017)

MCP_TOOL_MODE (condensed|verbose|both) selects the condensed action-routed surface (used below) vs. the one-to-one verbose tools.

Tools & actions

Condensed tool Actions
documentdb_system binary_version, list_databases, run_command
documentdb_collections list_collections, create_collection, drop_collection, create_database, drop_database, rename_collection
documentdb_users create_user, drop_user, update_user, users_info

Key parameters

  • database_name — target database (required by nearly every action).
  • collection_name — target collection (create/drop collection).
  • initial_collection — seed collection created with create_database.
  • old_name / new_name — for rename_collection.
  • username / password / roles — for the user actions; roles is a JSON array of role grants (e.g. [{"role":"readWrite","db":"app"}]).

Read the full file on GitHub · 102 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 102 lines · 106 tokens per session scan A c8fe3ecc5412

Subscribe to this mod's changes

documentdb-collection-admin is a skill published in the GitHub repository Knuckles-Team/documentdb-mcp (2 stars, last pushed 5d ago), licensed MIT. It adds 106 tokens to every session and 1,114 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

nextcloud-ingest

Natively ingest Nextcloud files into the epistemic-graph knowledge graph via the nextcloud-agent MCP server — fetch a file over WebDAV and store its raw bytes as a content-addressed :Blob/:AssetOccurrence plus its extracted text (pdf/office/txt or image OCR) as a linked :Document. Use when the agent must make a…

Knuckles-Team/nextcloud-agent · 122 tokens

jellyfin-kg-ingestion

Natively ingest a Jellyfin library into the epistemic-graph knowledge graph via the jellyfin-mcp MCP server — push library items as typed :MediaAsset/:Book nodes with :hasGenre/:performedBy/:authoredBy links and item overviews as searchable :Document nodes (jellyfiningestlibrary), and item posters as content-addressed…

Knuckles-Team/jellyfin-mcp · 158 tokens

jellyfin-library-catalog

Browse and search a Jellyfin media library via the jellyfin-mcp MCP server — list library items (movies, series, episodes, audio, books), fetch one item by id, walk collections and user views, and run search hints with the domain-typed jellyfinlibrary tool. Use when the agent must find or enumerate catalog items…

Knuckles-Team/jellyfin-mcp · 154 tokens

jellyfin-media-playback

Stream and control Jellyfin playback and browse music via the jellyfin-mcp MCP server — list artists, albums, and music genres, resolve audio/video streams, manage playlists, and drive playstate (play, mark played, report progress) with the domain-typed jellyfinmedia tool. Use when the agent must start or control…

Knuckles-Team/jellyfin-mcp · 142 tokens

nextcloud-files

Browse and manage Nextcloud files and folders over WebDAV via the nextcloud-agent MCP server — list a directory, read/download a file, upload, create/delete/move/copy, and read properties. Use when the agent must navigate a Nextcloud file tree, fetch a document's bytes, or reorganize storage. Do NOT use for sharing…

Knuckles-Team/nextcloud-agent · 98 tokens

nextcloud-shares

Manage Nextcloud sharing grants over the OCS Sharing API via the nextcloud-agent MCP server — list existing shares, create a public link / user / group share on a file or folder, and revoke a share. Use when the agent must expose a file, audit who has access, or tear a share down. Do NOT use for browsing or moving…

Knuckles-Team/nextcloud-agent · 95 tokens