Skip to main content
Glama

WordPress MCP

Official
by Automattic

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_FILENoOptional path to log file
JWT_TOKENNoJWT token generated from WordPress MCP settings
WP_API_URLNoURL of your WordPress site
WP_API_PASSWORDNoWordPress application password
WP_API_USERNAMENoWordPress username for application password authentication

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
search-posts

Search for WordPress posts by title or keyword

get-post

Get a WordPress post by its ID

create-post

Create a new WordPress post using Gutenberg blocks

update-post

Update a WordPress post using Gutenberg blocks

wordpress-block-types-schema

Available WordPress block types that can be used for content creation

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/Automattic/wordpress-mcp'

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