Skip to main content
Glama

WordPress MCP Server

get-top-posts

Retrieve a WordPress site's most viewed posts and pages within a specified time period using authenticated API access. Ideal for analyzing site traffic and content performance.

Instructions

View a site's top posts and pages by views

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of posts to return
passwordYesWordPress application password
periodNoTime period for stats
siteIdYesWordPress site ID
siteUrlYesWordPress site URL
usernameYesWordPress username

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "limit": { "description": "Maximum number of posts to return", "maximum": 100, "minimum": 1, "type": "number" }, "password": { "description": "WordPress application password", "type": "string" }, "period": { "description": "Time period for stats", "enum": [ "day", "week", "month", "year" ], "type": "string" }, "siteId": { "description": "WordPress site ID", "type": "number" }, "siteUrl": { "description": "WordPress site URL", "format": "uri", "type": "string" }, "username": { "description": "WordPress username", "type": "string" } }, "required": [ "siteUrl", "username", "password", "siteId" ], "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