MCP Server & 28 Tools
Running php vendor/bin/wire boost:mcp starts a local JSON-RPC 2.0 Model Context Protocol server over stdio. Coding agents connected to processwire can inspect live ProcessWire data and execute guarded operations without scraping files or guessing schemas.
All 28 MCP Tools
Section titled “All 28 MCP Tools”Query & Execution (2)
Section titled “Query & Execution (2)”| Tool | Purpose |
|---|---|
pw_query |
Executes safe ProcessWire selector queries against $pages->find() and returns structured page summaries. |
pw_execute |
Runs targeted ProcessWire PHP expressions in an isolated CLI context for inspection and diagnostics. |
Schema Management (3)
Section titled “Schema Management (3)”| Tool | Purpose |
|---|---|
pw_schema_read |
Reads live templates, fieldgroups, fields, types, labels, and FieldSchemaExtender metadata. |
pw_schema_field_create |
Creates a new ProcessWire field with validated type and settings. |
pw_schema_template_create |
Creates a new ProcessWire template and associated fieldgroup. |
Module Management (6)
Section titled “Module Management (6)”| Tool | Purpose |
|---|---|
pw_module_list |
Lists installed core and site modules with versions and titles. |
pw_module_info |
Returns detailed metadata (getModuleInfo()) for a specific module class. |
pw_module_install |
Installs a discovered ProcessWire module by class name. |
pw_module_uninstall |
Uninstalls a ProcessWire module safely. |
pw_module_refresh |
Refreshes ProcessWire’s module cache. |
pw_module_upgrade |
Triggers module refresh and version upgrade checks. |
Users, Roles & Permissions (8)
Section titled “Users, Roles & Permissions (8)”| Tool | Purpose |
|---|---|
pw_access_user_list |
Lists ProcessWire users with role filters. |
pw_access_user_create |
Creates a new user account with assigned roles. |
pw_access_user_update |
Updates user email, password, or roles. |
pw_access_user_delete |
Deletes a non-system user account (protects guest and superuser). |
pw_access_role_create |
Creates a new ProcessWire role. |
pw_access_role_grant |
Grants a permission to a role. |
pw_access_role_revoke |
Revokes a permission from a role. |
pw_permission_delete |
Deletes a custom non-system permission. |
System, Logs, Caches & Backups (9)
Section titled “System, Logs, Caches & Backups (9)”| Tool | Purpose |
|---|---|
pw_system_get_logs |
Lists log channels or reads filtered entries from a log file. |
pw_system_logs_tail_last |
Returns the latest N entries from a specified ProcessWire log channel. |
pw_system_logs_clear |
Clears a ProcessWire log channel. |
pw_system_cache_clear |
Clears template, module, and FileCompiler caches. |
pw_system_cache_wire_clear |
Clears targeted WireCache keys or wildcard patterns. |
pw_system_backup |
Creates a timestamped .sql backup in site/assets/backups/database/. |
pw_system_backup_list |
Lists existing .sql database snapshots. |
pw_system_backup_purge |
Purges old .sql database backups by age or count. |
pw_system_restore |
Restores a .sql snapshot into the active database. |