Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOCAL_RUN_DIRNoCustom path for Local run files.
LOCAL_SITE_IDNoThe ID of the Local site to target.
LOCAL_SITE_NAMENoThe name of the Local site to target.
LOCAL_MYSQL_HOSTNoCustom host address for the MySQL database connection.
LOCAL_SITES_JSONNoCustom path to the sites.json configuration file.
LOCAL_WP_CLI_PHARNoCustom path to the wp-cli.phar executable.
LOCALWP_MCP_PROFILENoThe security profile to use: 'safe' (default, read-focused SQL and safe inspection) or 'full-access' (full database and site access).safe
LOCAL_WP_CLI_CONFIGNoCustom path to the WP-CLI configuration.
LOCAL_APP_SUPPORT_DIRNoCustom path to Local metadata/application support directory.
LOCAL_HELPER_BIN_DIRSNoCustom paths for helper binaries.
LOCALWP_MCP_BACKUPS_DIRNoOptional shared backup directory. If omitted, backups are written under each Local site's 'localwp-mcp-backups' folder.
LOCAL_SITE_STATUSES_JSONNoCustom path to the site-statuses.json file.
LOCAL_EXTRA_RESOURCES_DIRSNoCustom paths for Local app resources.
LOCAL_LIGHTNING_SERVICES_DIRNoCustom path for Local lightning services directory.
LOCAL_LIGHTNING_SERVICES_DIRSNoCustom paths for Local lightning services directories.

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/kazimshah39/localwp-mcp'

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