Borrowing it
Nothing to install: this file belongs to cboxdk/statamic-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/cboxdk/statamic-mcp/main/CLAUDE.mdgit clone --depth 1 https://github.com/cboxdk/statamic-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/cboxdk/statamic-mcp/claude-md)<a href="https://agentmods.dev/instructions/cboxdk/statamic-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/cboxdk/statamic-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/cboxdk/statamic-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/cboxdk/statamic-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.15202 | $0.15202 |
| Opus 5.5 | $0.06081 | $0.06081 |
| Sonnet 5.5 | $0.03040 | $0.03040 |
| Haiku 4.5 | $0.01520 | $0.01520 |
Grade A, and why
statamic-mcp CLAUDE.md scanned grade A with 1 finding 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 7d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
so they never depend on DNS; `Http::fake()` bypasses curl, so the pinning itself is only How it starts
The opening of the file, as written. The whole thing — 1,480 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.
Project Overview
This is a Statamic addon that functions as an MCP (Model Context Protocol) server, built on top of Laravel's MCP server. The addon extends Statamic CMS v6.6+ and requires laravel/mcp ^1.0 as a runtime dependency. It includes scoped API token authentication, a Vue 3 CP dashboard, and web MCP endpoints.
Key Dependencies
- PHP: ^8.3
- Statamic CMS: ^6.6 (v6 only — v5 support was removed in v2.0)
- Laravel: ^12.0 || ^13.0 (via Statamic v6)
- Laravel MCP: ^1.0 (required - must be in
requiresection, notrequire-dev) - Orchestra Testbench: ^10.0 || ^11.0 (dev dependency for testing)
- Pest: ^4.1 (stable release with PHP 8.3 requirement)
- Symfony YAML: ^7.0 || ^8.0 (for YAML processing)
Authentication System
Scoped API Tokens
The addon provides scoped API tokens for fine-grained MCP access control:
- Token Management: Via Statamic CP dashboard (Tools → MCP → Tokens)
- Token Storage: Eloquent model (
McpToken) with SHA-256 hashed tokens - Guard: Custom
McpTokenGuardregistered as themcpauth guard - Scopes: 21 granular scopes via
TokenScopeenum (e.g.,content:read,content:write,*)
Key Auth Classes
src/Auth/TokenScope.php— Backed string enum with scope helperssrc/Auth/McpToken.php— Eloquent model with UUID primary keyssrc/Auth/TokenService.php— Token CRUD, validation, and pruningsrc/Auth/McpTokenGuard.php— Laravel Guard implementation for Bearer tokenssrc/Auth/AuthServiceProvider.php— Registers singletons and auth guard
Scope Availability
src/Auth/ScopeAvailability.php decides which scopes a user is offered (dashboard picker,
token create/edit, OAuth consent). It mirrors every router's getRequiredPermissions() by
hand — a router that changes its permissions must change the matching line there too, or
editors get offered dead scopes or lose live ones. It never grants access; the per-call
check in checkWebPermissions() still runs. getRequiredPermissions() may return a nested
list, meaning "any one of these" (used by the blueprint read actions).
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.
- 7d ago Changed · +11 lines · +186 tokens per session 29f5d7207a04
- 17d ago Changed · +67 lines · +1,062 tokens per session 1959050c3928
- 24d ago Changed · +10 lines · +203 tokens per session 05bc56df92d5
- 1mo ago Changed · +8 lines · +121 tokens per session 7ed669bdfcf6
- 1mo ago Changed · +57 lines · +814 tokens per session d735e6a6a5b1
- 1mo ago Changed · +143 lines · +2,010 tokens per session d80cbce180ee
- 1mo ago Changed · +26 lines · +409 tokens per session d67fcedbeb42
- 1mo ago Changed · +45 lines · +707 tokens per session 12e3cc5e5ff5
- 2mo ago First seen · 1,113 lines · 9,690 tokens per session scan A 422a0679b9d1
statamic-mcp CLAUDE.md is an instructions file published in the GitHub repository cboxdk/statamic-mcp (39 stars, last pushed yesterday), licensed MIT. It adds 15,202 tokens to every session, about $0.0608 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
statamic-mcp CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| statamic-mcp CLAUDE.mdcboxdk/statamic-mcp | Instructions file | 39 | yesterday | MIT | A | 15,202 | Claude Code |
| data-scientist copilot-instructions.mdrealnghon/data-scientist | Instructions file | 2 | 4mo ago | MIT | A | 373 | GitHub Copilot |
| 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 |