Skip to main content
Glama

WordPress MCP Server

by Leonelberio

create_post

Use this tool to create a new WordPress post by specifying the title, content, and status. It integrates with WordPress sites via REST API, allowing efficient post management.

Instructions

Create a new WordPress post

Input Schema

NameRequiredDescriptionDefault
contentYesPost content
passwordNoWordPress password (overrides WORDPRESS_PASSWORD env var)
siteUrlNoWordPress site URL (overrides WORDPRESS_SITE_URL env var)
statusNoPost status (draft, publish, etc.)draft
titleYesPost title
usernameNoWordPress username (overrides WORDPRESS_USERNAME env var)

Input Schema (JSON Schema)

{ "properties": { "content": { "description": "Post content", "type": "string" }, "password": { "description": "WordPress password (overrides WORDPRESS_PASSWORD env var)", "type": "string" }, "siteUrl": { "description": "WordPress site URL (overrides WORDPRESS_SITE_URL env var)", "type": "string" }, "status": { "default": "draft", "description": "Post status (draft, publish, etc.)", "type": "string" }, "title": { "description": "Post title", "type": "string" }, "username": { "description": "WordPress username (overrides WORDPRESS_USERNAME env var)", "type": "string" } }, "required": [ "title", "content" ], "type": "object" }
Install Server

Other Tools from WordPress MCP Server

Related Tools

    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/Leonelberio/the-wordpress-mcp-server'

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