WordPress MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WORDPRESS_URL | Yes | The URL of the WordPress site |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| fetch_wordpress_infoC | Fetch WordPress site information. Returns: dict[str, Any]: The response from the WordPress API. |
| fetch_postsB | Fetch posts from a WordPress site. Args: page (int): The page number to fetch. per_page (int): The number of posts per page. Returns: dict[str, Any]: The response from the WordPress API. |
| fetch_posts_by_categoryA | Fetch posts by category name provided from a WordPress site. Args: category (str): The category name to filter posts by. page (int): The page number to fetch. Returns: dict[str, Any]: The response from the WordPress API. |
| fetch_categoriesA | Fetch list of categories from a WordPress site. Returns: dict[str, Any]: The response from the WordPress API. |
| fetch_post_by_idA | Fetch a single post by ID from a WordPress site. Args: post_id (int): The ID of the post to fetch. Returns: dict[str, Any]: The response from the WordPress API. |
| fetch_pagesC | Fetch pages from a WordPress site. Args: page (int): The page number to fetch. per_page (int): The number of pages per page. Returns: dict[str, Any]: The response from the WordPress API. |
| fetch_page_by_idA | Fetch a single page by ID from a WordPress site. Args: page_id (int): The ID of the page to fetch. Returns: dict[str, Any]: The response from the WordPress API. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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/gopalcnepal/mcp-wordpress'
If you have feedback or need assistance with the MCP directory API, please join our Discord server