Code & Blocks WordPress MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WP_URL | No | WordPress URL for importing a site via environment variable at startup. | |
| WP_USER | No | WordPress username for importing a site via environment variable at startup. | |
| DATA_DIR | No | Data directory for local development, e.g. ./data. | |
| WP_SITES | No | Sites configured via environment variable, imported once into the admin UI at startup. | |
| MCP_TOKEN | No | Fixed token in addition to the token from the admin UI. Either ADMIN_PASSWORD or MCP_TOKEN is required. | |
| READ_ONLY | No | Set to true to force read-only mode. | |
| PUBLIC_URL | No | Public base URL of the MCP server, e.g. https://wp-mcp.deinedomain.de. | |
| SECRET_KEY | No | Custom encryption key instead of /data/secret.key. | |
| TRUST_PROXY | No | Trust proxy setting. | |
| MAX_UPLOAD_MB | No | Maximum upload size in MB. | |
| ADMIN_PASSWORD | No | Password (at least 12 characters) for /admin and for login from Claude. Either ADMIN_PASSWORD or MCP_TOKEN is required. | |
| PEXELS_API_KEY | No | Pexels API key for image search if not set in the admin UI. | |
| WP_APP_PASSWORD | No | WordPress application password for importing a site via environment variable at startup. | |
| MAX_OUTPUT_CHARS | No | Maximum output characters. | |
| ALLOW_TOKEN_IN_URL | No | Set to true to allow /mcp/<MCP_TOKEN> as a fallback. | |
| ALLOW_PRIVATE_FETCH | No | Allow fetching private addresses. | |
| UNSPLASH_ACCESS_KEY | No | Unsplash access key for image search if not set in the admin UI. | |
| APPROVAL_WAIT_SECONDS | No | How long a tool waits for approval, in seconds. | 40 |
| ACCESS_TOKEN_TTL_HOURS | No | Access token TTL in hours. | |
| REFRESH_TOKEN_TTL_DAYS | No | Refresh token TTL in days. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues