mcp-wordpress-datapilot: Instructions file for Claude Code

CLAUDE.md

mcp-wordpress-datapilot CLAUDE.md is an instructions file for Claude Code from stuffyoushouldautomate/mcp-wordpress-datapilot. It costs 881 tokens per session, scanned C, original, MIT.

A set of instructions for developing an MCP server that manages WordPress sites. WordPress is a system for publishing websites, while MCP lets AI assistants call connected tools.

In plain words
What is it for?
Use it to run tests, build or check the server, fix REST authentication, and configure single-site or multi-site WordPress access.
Why use it?
It documents the project’s setup, commands, configuration, authentication, and WordPress tool structure in one place.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

This is stuffyoushouldautomate/mcp-wordpress-datapilot's own configuration. It tells Claude Code how to work on mcp-wordpress-datapilot itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp-wordpress-datapilot configures →

Reuse

Borrowing it

Nothing to install: this file belongs to stuffyoushouldautomate/mcp-wordpress-datapilot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/stuffyoushouldautomate/mcp-wordpress-datapilot/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/stuffyoushouldautomate/mcp-wordpress-datapilot

Made for: Claude Code.

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 mcp-wordpress-datapilot CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/stuffyoushouldautomate/mcp-wordpress-datapilot/claude-md/github.svg)](https://agentmods.dev/instructions/stuffyoushouldautomate/mcp-wordpress-datapilot/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/stuffyoushouldautomate/mcp-wordpress-datapilot/claude-md"><img src="https://agentmods.dev/badge/instructions/stuffyoushouldautomate/mcp-wordpress-datapilot/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.

agentmods 80×15 button for mcp-wordpress-datapilot CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/stuffyoushouldautomate/mcp-wordpress-datapilot/claude-md"><img src="https://agentmods.dev/badge/instructions/stuffyoushouldautomate/mcp-wordpress-datapilot/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 881 This file is loaded in full into every session.
When invoked 881 The same file — it is already loaded in full.
Security scan C 1 finding. 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.00881 $0.00881
Opus 5 $0.00441 $0.00441
Sonnet 5 $0.00176 $0.00176
Haiku 4.5 $0.00088 $0.00088

Measured 8d ago against content hash d47e740da1f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade C, and why

mcp-wordpress-datapilot CLAUDE.md scanned grade C 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 8d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- Cache: Clear with `rm -rf cache/`
CLAUDE.md · 125 lines

How it starts

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

CLAUDE.md

AI assistant instructions for MCP WordPress project (v2.7.0).

Quick Start

Status: Production-ready | 1237/1248 tests passing (99.1%) | 96%+ coverage | 59 WordPress tools

# Essential Commands
npm test                   # Run tests
npm run dev               # Development mode
npm run health            # System check
npm run fix:rest-auth     # Fix WordPress auth
npm run build             # TypeScript compilation

Architecture

Core: MCP Server (src/index.ts) managing 59 WordPress tools across 10 categories
Client: Composition pattern with dependency injection, 4 auth methods
Tools: Posts(6), Pages(6), Media(5), Users(6), Comments(7), Taxonomies(10), Site(6), Auth(3), Cache(4), Performance(6) Key Files: src/client/WordPressClient.ts, src/tools/, src/config/Config.ts, src/utils/logger.ts

Configuration

Multi-Site (mcp-wordpress.config.json):

{"sites": [{"id": "site1", "config": {"WORDPRESS_SITE_URL": "https://site.com", "WORDPRESS_USERNAME": "user", "WORDPRESS_APP_PASSWORD": "xxxx xxxx"}}]}

Single-Site (.env):

WORDPRESS_SITE_URL=https://site.com
WORDPRESS_USERNAME=user
WORDPRESS_APP_PASSWORD=xxxx xxxx xxxx xxxx

Authentication

Methods: App Passwords (recommended), JWT, Basic, API Key

401 Fix: npm run fix:rest-auth or add to .htaccess:

RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]

Troubleshooting

npm run health             # System check
npm run fix:rest-auth      # Fix WordPress 401 errors
DEBUG=true npm run dev     # Debug logging

Common Issues:

  • TypeScript: Use | undefined for optional properties
  • ESLint: Use _ prefix for unused variables
  • WordPress 401: Run npm run fix:rest-auth
  • Cache: Clear with rm -rf cache/

CI/CD Pipeline

Automated Release: Conventional commits trigger versioning
Publishing: NPM + Docker Hub
Quality Gates: All tests must pass, security scans clean

Read the full file on GitHub · 125 lines

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. 8d ago First seen · 125 lines · 881 tokens per session scan C d47e740da1f1

Subscribe to this mod's changes

mcp-wordpress-datapilot CLAUDE.md is an instructions file published in the GitHub repository stuffyoushouldautomate/mcp-wordpress-datapilot (0 stars, last pushed 11mo ago), licensed MIT. It adds 881 tokens to every session, about $0.0044 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

vibe-coding-prompt-template backend.instructions.md

Instructions for KhazP/vibe-coding-prompt-template: Read AGENTS.md, agentdocs/techstack.md, and agentdocs/codepatterns.md.

KhazP/vibe-coding-prompt-template · 139 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens