Skip to main content
Glama

MCP Server Local WP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MYSQL_DBNoMySQL database namelocal
MYSQL_HOSTNoMySQL hostlocalhost
MYSQL_PASSNoMySQL passwordroot
MYSQL_PORTNoMySQL port3306
MYSQL_USERNoMySQL usernameroot
MYSQL_SOCKET_PATHNoPath to MySQL socket file

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
wp_get_posts

Get WordPress posts with optional filtering and pagination

wp_get_post

Get a specific WordPress post by ID

wp_get_users

Get WordPress users with optional filtering

wp_get_user

Get a specific WordPress user by ID

wp_get_options

Get WordPress options (settings)

wp_get_plugins

Get information about installed WordPress plugins

wp_get_theme_info

Get information about the active WordPress theme

wp_execute_query

Execute a custom read-only SQL query on the WordPress database

wp_get_database_info

Get information about the WordPress database structure

wp_get_post_meta

Get post meta data for a specific post

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

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