documentdb-collection-admin

documentdb-collection-admin is a skill for Claude Code, Codex from Knuckles-Team/documentdb-mcp. It costs 78 tokens per session (1,574 once invoked), scanned A, original, MIT.

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

Written for no agent in particular: nothing here depends on one.

Good fit Use it to list, create, rename, or remove databases and collections, manage users and roles, and inspect the server version.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/knuckles-team/documentdb-mcp/documentdb-collection-admin
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.

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.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for documentdb-collection-admin

README.md
[![agentmods](https://agentmods.dev/badge/skills/knuckles-team/documentdb-mcp/documentdb-collection-admin/github.svg)](https://agentmods.dev/skills/knuckles-team/documentdb-mcp/documentdb-collection-admin)
Your own site
<a href="https://agentmods.dev/skills/knuckles-team/documentdb-mcp/documentdb-collection-admin"><img src="https://agentmods.dev/badge/skills/knuckles-team/documentdb-mcp/documentdb-collection-admin/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for documentdb-collection-admin

Your own site · 80×15
<a href="https://agentmods.dev/skills/knuckles-team/documentdb-mcp/documentdb-collection-admin"><img src="https://agentmods.dev/badge/skills/knuckles-team/documentdb-mcp/documentdb-collection-admin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,574 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00078 $0.01574
Opus 5.5 $0.00031 $0.00630
Sonnet 5.5 $0.00016 $0.00315
Haiku 4.5 $0.00008 $0.00157

Measured 5d ago against content hash c6baabe5f975, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 5d 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 · 118 lines

How it starts

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

DocumentDB Collection & Database Administration

Scope: Database, collection, and user administration on a DocumentDB (MongoDB-compatible, PostgreSQL-backed) server via the documentdb-mcp MCP server — list/create/drop/rename databases and collections, and manage database users and their roles. Use when the agent must provision or tear down namespaces, enumerate the catalog, or administer auth principals. Do NOT use for reading/writing documents inside a collection (use documentdb-document-crud) or for aggregation/analytics (use documentdb-aggregation-analytics).

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.

Steps

  1. Enumerate the catalog with documentdb_list_databases and documentdb_list_collections (database_name). Verify the target namespace is or is not present.
  2. Create namespaces with documentdb_create_database (database_name, initial_collection) or documentdb_create_collection (database_name, collection_name). Verify the collection shows in documentdb_list_collections.
  3. Rename within one database with documentdb_rename_collection (database_name, old_name, new_name). Verify the new name is listed and the old one is gone.
  4. Manage users with documentdb_create_user (database_name, username, password, roles) after approval. Verify with documentdb_users_info that the roles match, without printing the password.
  5. Drop only after explicit approval with documentdb_drop_collection or documentdb_drop_database and confirm=true. Verify the namespace no longer appears in the list tools.

Failure recovery

Failure Cause Recovery
Connection error or server-selection timeout MONGODB_URI, or MONGODB_HOST and MONGODB_PORT, unset or unreachable Set MONGODB_URI for the documentdb-mcp server and call documentdb_list_databases to confirm; ask the operator for the correct endpoint
Authorization error string The connecting principal lacks the privilege for this command Check the account roles with documentdb_users_info (database_name) and ask the operator for a principal with the needed role
Delete or drop refused confirm=true was not passed, or no operator approval was given Describe the exact target to the operator, get approval, and pass confirm=true
Database not visible after create MongoDB creates a database lazily, without a collection Create it with documentdb_create_database and an initial_collection, then check documentdb_list_databases

Read the full file on GitHub · 118 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. 5d ago Changed · +18 lines · -28 tokens per session c6baabe5f975
  2. 25d ago Changed · -2 lines e1befc989a68
  3. 1mo ago Changed a02e80bafdf3
  4. 3mo 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 today), licensed MIT. It adds 78 tokens to every session and 1,574 once invoked, about $0.0003 per session on Opus 5.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

documentdb-collection-admin compared with skills from other repositories

documentdb-collection-admin next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
documentdb-collection-adminKnuckles-Team/documentdb-mcpSkill2todayMITA78Claude Code, Codex
nextcloud-adminKnuckles-Team/nextcloud-agentSkill16d agoMITA80Claude Code, Codex
nextcloud-ingestKnuckles-Team/nextcloud-agentSkill16d agoMITA82Claude Code, Codex
jellyfin-library-catalogKnuckles-Team/jellyfin-mcpSkill5todayMITA91Claude Code, Codex
jellyfin-media-playbackKnuckles-Team/jellyfin-mcpSkill5todayMITA92Claude Code, Codex
jellyfin-kg-ingestionKnuckles-Team/jellyfin-mcpSkill5todayMITA90Claude Code, Codex
jellyfin-mcp-developmentKnuckles-Team/jellyfin-mcpSkill5todayMITA60Claude Code, Codex