MCP Server Local WP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MYSQL_DB | No | MySQL database name | local |
| MYSQL_HOST | No | MySQL host | localhost |
| MYSQL_PASS | No | MySQL password | root |
| MYSQL_PORT | No | MySQL port | 3306 |
| MYSQL_USER | No | MySQL username | root |
| MYSQL_SOCKET_PATH | No | Path to MySQL socket file |
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 | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| mysql_queryA | Execute a read-only SQL query against the Local WordPress database |
| mysql_schemaA | Inspect database schema. Without args: lists tables. With table: shows columns and indexes. |
| mysql_current_siteA | Get information about the currently connected Local WordPress site, including how it was selected |
| mysql_list_sitesA | List all available Local WordPress sites and their running status |
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 4 tools
Each tool targets a distinct operation: listing sites, getting current site info, running queries, and inspecting schema. No overlap in purpose.
All tools share a 'mysql_' prefix and are descriptive. However, patterns vary: 'list_sites' is verb_noun, but 'query' and 'schema' are single nouns, and 'current_site' is a noun phrase. Minor inconsistency.
Four tools cover the essential operations for a MySQL interaction server: discovery, current context, querying, and schema inspection. Neither too few nor too many.
The tool set provides full coverage for read-only database interaction: listing sites, querying, and schema inspection. Any write operations are intentionally excluded for safety, so no missing functionality.