Skip to main content
Glama
codeandblocks

Code & Blocks WordPress MCP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WP_URLNoWordPress URL for importing a site via environment variable at startup.
WP_USERNoWordPress username for importing a site via environment variable at startup.
DATA_DIRNoData directory for local development, e.g. ./data.
WP_SITESNoSites configured via environment variable, imported once into the admin UI at startup.
MCP_TOKENNoFixed token in addition to the token from the admin UI. Either ADMIN_PASSWORD or MCP_TOKEN is required.
READ_ONLYNoSet to true to force read-only mode.
PUBLIC_URLNoPublic base URL of the MCP server, e.g. https://wp-mcp.deinedomain.de.
SECRET_KEYNoCustom encryption key instead of /data/secret.key.
TRUST_PROXYNoTrust proxy setting.
MAX_UPLOAD_MBNoMaximum upload size in MB.
ADMIN_PASSWORDNoPassword (at least 12 characters) for /admin and for login from Claude. Either ADMIN_PASSWORD or MCP_TOKEN is required.
PEXELS_API_KEYNoPexels API key for image search if not set in the admin UI.
WP_APP_PASSWORDNoWordPress application password for importing a site via environment variable at startup.
MAX_OUTPUT_CHARSNoMaximum output characters.
ALLOW_TOKEN_IN_URLNoSet to true to allow /mcp/<MCP_TOKEN> as a fallback.
ALLOW_PRIVATE_FETCHNoAllow fetching private addresses.
UNSPLASH_ACCESS_KEYNoUnsplash access key for image search if not set in the admin UI.
APPROVAL_WAIT_SECONDSNoHow long a tool waits for approval, in seconds.40
ACCESS_TOKEN_TTL_HOURSNoAccess token TTL in hours.
REFRESH_TOKEN_TTL_DAYSNoRefresh 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

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources