MainWP MCP Server
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MAINWP_URL | No | Base URL of your MainWP Dashboard | |
| MAINWP_USER | No | WordPress admin username | |
| MAINWP_SAFE_MODE | No | Block destructive operations. Default false. | false |
| MAINWP_ALLOW_HTTP | No | Allow HTTP URLs (credentials sent in plain text). Default false. | false |
| MAINWP_MAX_RETRIES | No | Total retry attempts including initial request. Default 2. | 2 |
| MAINWP_APP_PASSWORD | No | WordPress Application Password | |
| MAINWP_ALLOWED_TOOLS | No | Whitelist of tools to expose (string, e.g., comma-separated). | |
| MAINWP_BLOCKED_TOOLS | No | Blacklist of tools to hide (string). | |
| MAINWP_RETRY_ENABLED | No | Enable automatic retry for transient errors. Default true. | true |
| MAINWP_RETRY_MAX_DELAY | No | Maximum delay between retries in milliseconds. Default 2000. | 2000 |
| MAINWP_SKIP_SSL_VERIFY | No | Skip SSL verification (dev only). Default false. | false |
| MAINWP_RETRY_BASE_DELAY | No | Base delay between retries in milliseconds. Default 1000. | 1000 |
| MAINWP_SCHEMA_VERBOSITY | No | standard or compact. Default standard. | standard |
| MAINWP_REQUIRE_USER_CONFIRMATION | No | Require two-step confirmation for destructive operations. Default true. | true |
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
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
| completions | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| mainwp_get_setup_statusA | Report whether the MainWP MCP server is connected to a Dashboard yet, and return the setup instructions to show the user. Call this first when MainWP tools are missing. If the server has credentials but could not reach the Dashboard, this retries the connection. |
| mainwp_configureA | Connect this server to a MainWP Dashboard using credentials the user supplied in chat. Requires all three values at once. The credentials are verified against the Dashboard, then saved to ~/.config/mainwp-mcp/settings.json on this machine with owner-only permissions; the password is scrubbed from server logs and never echoed back. Only usable before the server is connected. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 2 tools
The two tools have completely distinct purposes: one configures the connection, the other reports status. There is no overlap or ambiguity between them.
Both tools follow a consistent 'mainwp_' prefix followed by a verb phrase (configure, get_setup_status). The naming pattern is clear and predictable.
With only two tools, the set is minimal but appropriate for the specific setup/status functionality it covers. Each tool earns its place, though the overall server appears to be a thin slice of a larger domain.
For the stated domain of initial connection setup, the tools cover configuration and status checking without obvious gaps. A disconnect or update-credentials tool could be considered missing, but the core setup lifecycle is complete.