Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SITE_IDNoSite ID from Local (takes precedence over SITE_NAME). Auto-detected if only one site exists.
SITE_NAMENoSite name as shown in Local (e.g., 'My Site'). Auto-detected if only one site exists.
FS_ALLOW_WRITESNoEnable writing files via write_site_file. Must be 'true' or 'false'.false
MYSQL_ALLOW_WRITESNoEnable INSERT/UPDATE/DELETE/ALTER queries. Must be 'true' or 'false'.false
WPCLI_ALLOW_WRITESNoEnable write WP-CLI commands (plugin install, post create, etc.). Must be 'true' or 'false'.false
WPCLI_SAFE_COMMANDSNoComma-separated list of additional read-only commands (e.g., 'wc report sales,my-plugin dump-config').

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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
wp_cli_runA

Execute a WP-CLI command against a Local by Flywheel WordPress site. Commands like "plugin list", "option get siteurl", "core version" are always allowed. Write commands require WPCLI_ALLOW_WRITES=true. Commands "eval", "eval-file", and "shell" are blocked for security.

wp_site_infoA

Get detailed information about the current Local by Flywheel WordPress site, including the site URL, WordPress version, active theme, and PHP version.

wp_list_sitesA

List all WordPress sites configured in Local by Flywheel, including their names, domains, IDs, and service versions.

mysql_queryA

Execute a SQL query against the WordPress database. SELECT, SHOW, DESCRIBE, and EXPLAIN are always allowed. INSERT, UPDATE, DELETE require MYSQL_ALLOW_WRITES=true.

mysql_schemaA

Get the schema of the WordPress database. Without a table name, lists all tables. With a table name, shows column details.

wp_active_pluginsA

Query the database directly to get the list of active WordPress plugins.

read_site_fileA

Read a file from the Local by Flywheel site directory. Path is relative to the site root (e.g., "app/public/wp-config.php"). Files are limited to 512KB. All paths are validated against the site directory.

write_site_fileA

Write content to a file in the Local by Flywheel site directory. Requires FS_ALLOW_WRITES=true. Cannot write to wp-admin/ or wp-includes/ (WordPress core). Path is relative to the site root.

list_site_directoryA

List files and directories in a Local by Flywheel site directory. Path is relative to the site root. Returns file names, types, and sizes.

search_site_filesA

Search for files by name pattern within the Local site directory. Searches recursively up to 10 levels deep, max 100 results. Skips node_modules, vendor, and dotfiles.

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/teamchrisfromthelc/local-wp-mcp'

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