LocalWP MCP
by kazimshah39
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOCAL_RUN_DIR | No | Custom path for Local run files. | |
| LOCAL_SITE_ID | No | The ID of the Local site to target. | |
| LOCAL_SITE_NAME | No | The name of the Local site to target. | |
| LOCAL_MYSQL_HOST | No | Custom host address for the MySQL database connection. | |
| LOCAL_SITES_JSON | No | Custom path to the sites.json configuration file. | |
| LOCAL_WP_CLI_PHAR | No | Custom path to the wp-cli.phar executable. | |
| LOCALWP_MCP_PROFILE | No | The security profile to use: 'safe' (default, read-focused SQL and safe inspection) or 'full-access' (full database and site access). | safe |
| LOCAL_WP_CLI_CONFIG | No | Custom path to the WP-CLI configuration. | |
| LOCAL_APP_SUPPORT_DIR | No | Custom path to Local metadata/application support directory. | |
| LOCAL_HELPER_BIN_DIRS | No | Custom paths for helper binaries. | |
| LOCALWP_MCP_BACKUPS_DIR | No | Optional shared backup directory. If omitted, backups are written under each Local site's 'localwp-mcp-backups' folder. | |
| LOCAL_SITE_STATUSES_JSON | No | Custom path to the site-statuses.json file. | |
| LOCAL_EXTRA_RESOURCES_DIRS | No | Custom paths for Local app resources. | |
| LOCAL_LIGHTNING_SERVICES_DIR | No | Custom path for Local lightning services directory. | |
| LOCAL_LIGHTNING_SERVICES_DIRS | No | Custom paths for Local lightning services directories. |
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 | |
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/kazimshah39/localwp-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server