Skip to main content
Glama
mainwp

MainWP MCP Server

Official
by mainwp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MAINWP_URLNoBase URL of your MainWP Dashboard
MAINWP_USERNoWordPress admin username
MAINWP_SAFE_MODENoBlock destructive operations. Default false.false
MAINWP_ALLOW_HTTPNoAllow HTTP URLs (credentials sent in plain text). Default false.false
MAINWP_MAX_RETRIESNoTotal retry attempts including initial request. Default 2.2
MAINWP_APP_PASSWORDNoWordPress Application Password
MAINWP_ALLOWED_TOOLSNoWhitelist of tools to expose (string, e.g., comma-separated).
MAINWP_BLOCKED_TOOLSNoBlacklist of tools to hide (string).
MAINWP_RETRY_ENABLEDNoEnable automatic retry for transient errors. Default true.true
MAINWP_RETRY_MAX_DELAYNoMaximum delay between retries in milliseconds. Default 2000.2000
MAINWP_SKIP_SSL_VERIFYNoSkip SSL verification (dev only). Default false.false
MAINWP_RETRY_BASE_DELAYNoBase delay between retries in milliseconds. Default 1000.1000
MAINWP_SCHEMA_VERBOSITYNostandard or compact. Default standard.standard
MAINWP_REQUIRE_USER_CONFIRMATIONNoRequire two-step confirmation for destructive operations. Default true.true

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mainwp/mainwp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server