Skip to main content
Glama
gaupoit

WordPress MCP Server

by gaupoit

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WORDPRESS_URLYesYour WordPress site URL (e.g., https://example.com)
WORDPRESS_USERYesWordPress username
WORDPRESS_APP_PASSWORDYesApplication password (not your login password!)

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
wp_get_postsA

Get posts from WordPress.

Args:
    status: Post status filter - 'publish', 'draft', or 'all'. Default is 'publish'.
    per_page: Number of posts to return (1-100). Default is 10.
    search: Search term to filter posts by title/content.

Returns:
    List of posts with id, title, status, date, slug, excerpt, and link.
wp_get_pagesA

Get pages from WordPress.

Args:
    per_page: Number of pages to return (1-100). Default is 10.
    search: Search term to filter pages by title/content.

Returns:
    List of pages with id, title, status, slug, and link.
wp_get_mediaA

Get media items from WordPress media library.

Args:
    per_page: Number of items to return (1-100). Default is 10.
    media_type: Filter by type - 'image', 'video', 'audio', or 'application'.

Returns:
    List of media items with id, title, url, mime_type, and alt_text.
wp_get_pluginsA

Get installed plugins from WordPress. Requires authentication.

Args:
    status: Filter by status - 'active', 'inactive', or 'all'. Default is 'all'.

Returns:
    List of plugins with name, plugin slug, status, version, and description.
wp_site_infoB

Get WordPress site information.

Returns:
    Site info including name, description, url, home, gmt_offset, and timezone.
wp_get_postA

Get a single post by ID with full content.

Args:
    post_id: The ID of the post to retrieve.

Returns:
    Post with id, title, content (raw), excerpt, status, date, slug, and link.
wp_create_postA

Create a new WordPress post.

Args:
    title: The title of the post.
    content: The content/body of the post (supports HTML and Gutenberg blocks).
    status: Post status - 'draft', 'publish', 'pending', 'private'. Default is 'draft'.
    excerpt: Optional excerpt/summary of the post.

Returns:
    Created post with id, title, status, date, and link.
wp_update_postA

Update an existing WordPress post.

Args:
    post_id: The ID of the post to update.
    title: New title (optional).
    content: New content (optional).
    status: New status - 'draft', 'publish', 'pending', 'private', 'trash' (optional).
    excerpt: New excerpt (optional).

Returns:
    Updated post with id, title, status, date, and link.
wp_delete_postA

Delete a WordPress post.

Args:
    post_id: The ID of the post to delete.
    force: If False (default), moves to trash. If True, permanently deletes.

Returns:
    Confirmation with id, deleted status, and previous post info.

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

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