Borrowing it
Nothing to install: this file belongs to nacre-work/nacre. 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/nacre-work/nacre/main/.claude/skills/mcp-tool/SKILL.mdgit clone --depth 1 https://github.com/nacre-work/nacreWrote 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/skills/nacre-work/nacre/mcp-tool)<a href="https://agentmods.dev/skills/nacre-work/nacre/mcp-tool"><img src="https://agentmods.dev/badge/skills/nacre-work/nacre/mcp-tool/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/skills/nacre-work/nacre/mcp-tool"><img src="https://agentmods.dev/badge/skills/nacre-work/nacre/mcp-tool.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.00110 | $0.01330 |
| Opus 5.5 | $0.00044 | $0.00532 |
| Sonnet 5.5 | $0.00022 | $0.00266 |
| Haiku 4.5 | $0.00011 | $0.00133 |
Grade A, and why
mcp-tool 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 17d 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 — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Adding or changing an MCP tool
Contract: docs/mcp.md, target revision 2026-07-28.
Transport rules that constrain every tool
- Stateless, in both eras. The protocol is
@modelcontextprotocol/server2.x:factory.tsbuilds oneMcpServerper request (STDIO, per connection), and it answers a legacy client'sinitializeand a modern client'sserver/discoveralike. NoMcp-Session-Idis ever issued and nothing is kept between requests. Any request is served by any replica. - A tool needing state between calls returns an explicit descriptor in its result and takes it back as an argument next time. Hidden state in the transport is not allowed — it is what makes the round-robin deployment work.
- The mirrored headers —
MCP-Protocol-Version,Mcp-Method, andMcp-Nameontools/call,resources/readandprompts/get— are required of a modern client (one sending the_metaenvelope) and compared against the body; a legacy client sends none and is not asked to. Present and disagreeing is-32020. tools/listreturnsttlMs: 0andcacheScope: "private". The catalog depends on the caller's permissions, so it is never shared across callers, and a grant can change it with nolist_changed, so it is never fresh.- A
/mcptool is registered infactory.tsand nowhere else;transport-parity.test.tsrefuses a second site (admin.tsis its one written exemption).
Every tool declares
- Which permission it requires —
read,writeoradmin(ToolPermissionintools.ts), from the model indocs/authz.md. Rememberwritedoes not implyread: an ingest-only service account must not be able to search. A delegation's ceiling also removes the tool from that connection's catalog — through theceilingfield, never by name. - What it returns on no permission — the same
isErrorresult with the textNot foundthat a genuinely missing object gets. Never a403, and never an HTTP404either: on Streamable HTTP that tells a client its session is gone. - Its
titleand MCPannotations— the type requires them.
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.
- 17d ago Changed · +30 lines ea4e0c368d47
- 1mo ago First seen · 77 lines · 110 tokens per session scan A 668e1b90e651
mcp-tool is a skill published in the GitHub repository nacre-work/nacre (2 stars, last pushed 18d ago), licensed Apache-2.0. It adds 110 tokens to every session and 1,330 once invoked, about $0.0004 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.
Other skills, from other repositories
chroma
Open-source embedding database for AI applications. Store embeddings and metadata, perform vector and full-text search, filter by metadata. Simple 4-function API. Scales from notebooks to production clusters. Use for semantic search, RAG applications, or document retrieval. Best for local development and open-source…
chroma
Open-source embedding database for AI applications. Store embeddings and metadata, perform vector and full-text search, filter by metadata. Simple 4-function API. Scales from notebooks to production clusters. Use for semantic search, RAG applications, or document retrieval. Best for local development and open-source…
chroma
Open-source embedding database for AI applications. Store embeddings and metadata, perform vector and full-text search, filter by metadata. Simple 4-function API. Scales from notebooks to production clusters. Use for semantic search, RAG applications, or document retrieval. Best for local development and open-source…
chroma
Open-source embedding database for AI applications. Store embeddings and metadata, perform vector and full-text search, filter by metadata. Simple 4-function API. Scales from notebooks to production clusters. Use for semantic search, RAG applications, or document retrieval. Best for local development and open-source…
chroma
Open-source embedding database for AI applications. Store embeddings and metadata, perform vector and full-text search, filter by metadata. Simple 4-function API. Scales from notebooks to production clusters. Use for semantic search, RAG applications, or document retrieval. Best for local development and open-source…
chroma
Open-source embedding database for AI applications. Store embeddings and metadata, perform vector and full-text search, filter by metadata. Simple 4-function API. Scales from notebooks to production clusters. Use for semantic search, RAG applications, or document retrieval. Best for local development and open-source…