Skip to main content
Glama

WordPress MCP Server

get-post

Retrieve a specific WordPress post by its ID using site URL, credentials, and optional context or post password for secure access and editing.

Instructions

Get a specific post by ID

Input Schema

NameRequiredDescriptionDefault
contextNoScope under which the request is madeview
passwordYesWordPress application password
postIdYesID of the post to retrieve
postPasswordNoThe password for the post if it is password protected
siteUrlYesWordPress site URL
usernameYesWordPress username

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "context": { "default": "view", "description": "Scope under which the request is made", "enum": [ "view", "embed", "edit" ], "type": "string" }, "password": { "description": "WordPress application password", "type": "string" }, "postId": { "description": "ID of the post to retrieve", "type": "number" }, "postPassword": { "description": "The password for the post if it is password protected", "type": "string" }, "siteUrl": { "description": "WordPress site URL", "format": "uri", "type": "string" }, "username": { "description": "WordPress username", "type": "string" } }, "required": [ "siteUrl", "username", "password", "postId" ], "type": "object" }

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

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