Borrowing it
Nothing to install: this file belongs to niels-emmer/dendrite-admin-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/niels-emmer/dendrite-admin-mcp/main/CLAUDE.mdgit clone --depth 1 https://github.com/niels-emmer/dendrite-admin-mcpWrote 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.
[](https://agentmods.dev/instructions/niels-emmer/dendrite-admin-mcp/claude-md)<a href="https://agentmods.dev/instructions/niels-emmer/dendrite-admin-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/niels-emmer/dendrite-admin-mcp/claude-md/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.
<a href="https://agentmods.dev/instructions/niels-emmer/dendrite-admin-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/niels-emmer/dendrite-admin-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01667 | $0.01667 |
| Opus 5.5 | $0.00667 | $0.00667 |
| Sonnet 5.5 | $0.00333 | $0.00333 |
| Haiku 4.5 | $0.00167 | $0.00167 |
Grade A, and why
dendrite-admin-mcp CLAUDE.md 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
What this is
An MCP server (TypeScript, @modelcontextprotocol/sdk) that wraps
Dendrite's admin API — Dendrite is
a Matrix homeserver implementation written in Go; this repo is not part of
Dendrite itself, it's a separate client that talks to a running Dendrite
instance over HTTP. Each MCP tool corresponds to one Dendrite admin endpoint.
Commands
npm ci # install deps (lockfile is committed)
npm run build # tsc -> dist/
npm run dev # tsx watch src/index.ts (hot-reload dev server)
npm start # run the built server (node dist/index.js)
npm run typecheck # tsc --noEmit (src + tests, via tsconfig.test.json)
npm test # node:test suite via tsx --test (test/*.test.ts)
npm run setup # interactive .env setup + install/build/test + agent registration snippets
npm run inspector # launch @modelcontextprotocol/inspector against the built server (stdio only)
docker compose up -d --build # build + run the HTTP-transport server, restart: unless-stopped
Tests live in test/*.test.ts (node:test + node:assert, run through tsx --test —
no test framework dependency). tsconfig.test.json extends the base config with
noEmit so tests are typechecked but never emitted into dist/.
Dependencies are pinned to exact versions and package-lock.json is committed
(the repo's .npmrc sets package-lock=true, overriding the machine-global
package-lock=false). The Dockerfile uses npm ci in both stages.
scripts/setup.mjs (npm run setup) is the agent-facing install path: it
prompts for (or accepts via flags) DENDRITE_BASE_URL and
DENDRITE_ADMIN_TOKEN, writes .env, installs, builds, tests, and prints the
MCP registration snippet for the user's agent. Keep the README quickstart and
the per-agent snippets in sync with it.
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.
- 1mo ago Changed · +12 lines · +197 tokens per session d816ff04645a
- 2mo ago First seen · 110 lines · 1,470 tokens per session scan A cacbfe22923d
dendrite-admin-mcp CLAUDE.md is an instructions file published in the GitHub repository niels-emmer/dendrite-admin-mcp (1 stars, last pushed 3d ago), licensed MIT. It adds 1,667 tokens to every session, about $0.0067 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.
dendrite-admin-mcp CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dendrite-admin-mcp CLAUDE.mdniels-emmer/dendrite-admin-mcp | Instructions file | 1 | 3d ago | MIT | A | 1,667 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |