Skip to content

Tags: pluginslab/wp-devdocs-mcp

Tags

v1.1.2

Toggle v1.1.2's commit message
chore: v1.1.2 — npm publish setup and README install instructions

Add repository, keywords, author, and files fields to package.json.
Update README Quick Start to use npm install / npx instead of git clone.
Simplify MCP config to remove --prefix path requirement.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

v1.1.1

Toggle v1.1.1's commit message
fix: boost exact hook name matches in BM25 search (v1.1.1)

- Add exact name match bonus (-100 rank) so core hooks like "init" surface
  above longer-named hooks with richer BM25 context
- Prevents common WordPress hooks from being buried under plugin-specific
  hooks that happen to contain the same term

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

v1.1.0

Toggle v1.1.0's commit message
docs: update README version references from v2.0.0 to v1.1.0

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

v1.0.1

Toggle v1.0.1's commit message
v1.0.1 — Bug fixes, JSDoc, ESLint, and release hygiene

Fix operator precedence bug in PHP parser isDynamic check, eliminate
double DB lookup per file during indexing, clear statement cache on
closeDb() to prevent stale references, wrap removeSource in a
transaction, use correct code fence language for JS hooks, and use
path.join instead of string concatenation. Add JSDoc to all exported
functions in sqlite.js and MCP tool handlers. Add ESLint 9 with flat
config, move test-only deps to devDependencies, remove unused
SOURCES_DIR export, add LICENSE, .env.example, and .gitignore
alignment with wp-blockmarkup-mcp.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

v1.0.0

Toggle v1.0.0's commit message
Initial release v1.0.0

Local MCP server that indexes WordPress plugin hooks (PHP + JS/TS) from
any source — WordPress Core, WooCommerce, Gutenberg, public/private GitHub
repos, or local folders — and exposes them as queryable tools to AI coding
assistants via the Model Context Protocol.

Features:
- PHP hook extraction (do_action, apply_filters, ref_array variants)
- JS/TS hook extraction (addAction, addFilter, applyFilters, doAction)
- Block registration and JS API usage indexing
- SQLite with FTS5 full-text search and BM25 ranking
- Incremental indexing with mtime + content hash
- Soft-delete tracking for removed hooks
- 4 MCP tools: search_hooks, validate_hook, get_hook_context, search_block_apis
- CLI for source management, search, and validation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>