Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoEnable debug mode with detailed logsfalse
NODE_ENVNoNode environment (production or development)production
CACHE_TTLNoCache time-to-live in seconds3600
CACHE_ENABLEDNoEnable caching for performance optimizationtrue
RATE_LIMIT_ENABLEDNoEnable rate limiting for API requeststrue
WORDPRESS_PASSWORDNoYour WordPress user password (for JWT authentication)
WORDPRESS_SITE_URLNoThe URL of your WordPress site (e.g., https://myblog.com)
WORDPRESS_USERNAMENoYour WordPress username
WORDPRESS_AUTH_METHODNoAuthentication method to use: app-password (recommended), jwt, basic, or api-keyapp-password
WORDPRESS_APP_PASSWORDNoYour WordPress application password (generated from WordPress admin panel)

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
wp_test_authA

Tests the authentication and connectivity for a configured WordPress site with detailed connection diagnostics.

Usage Examples: • Test connection: wp_test_auth • Multi-site test: wp_test_auth --site="my-site" • Verify setup: Use this after configuring new credentials • Troubleshoot: Run when experiencing connection issues • Health check: Regular verification of WordPress connectivity

wp_get_auth_statusB

Gets the current authentication status for a configured WordPress site.

wp_switch_auth_methodC

Switches the authentication method for a site for the current session.

wp_cache_statsB

Get cache statistics for a WordPress site.

wp_cache_clearC

Clear cache for a WordPress site.

wp_cache_warmC

Pre-warm cache with essential WordPress data.

wp_cache_infoB

Get detailed cache configuration and status information.

wp_list_commentsB

Lists comments from a WordPress site, with filters.

wp_get_commentB

Retrieves a single comment by its ID.

wp_create_commentC

Creates a new comment on a post.

wp_update_commentC

Updates an existing comment.

wp_delete_commentC

Deletes a comment.

wp_approve_commentC

Approves a pending comment.

wp_spam_commentC

Marks a comment as spam.

wp_list_mediaB

Lists media items from a WordPress site, with filters.

wp_get_mediaB

Retrieves a single media item by its ID.

wp_upload_mediaC

Uploads a file to the WordPress media library.

wp_update_mediaC

Updates the metadata of an existing media item.

wp_delete_mediaC

Deletes a media item.

wp_list_pagesB

Lists pages from a WordPress site, with filters.

wp_get_pageA

Retrieves a single page by its ID, optionally including full content for editing.

wp_create_pageC

Creates a new page.

wp_update_pageC

Updates an existing page.

wp_delete_pageC

Deletes a page.

wp_get_page_revisionsC

Retrieves revisions for a specific page.

wp_performance_statsC

Get real-time performance statistics and metrics

wp_performance_historyC

Get historical performance data and trends

wp_performance_benchmarkB

Compare current performance against industry benchmarks

wp_performance_alertsC

Get performance alerts and anomaly detection results

wp_performance_optimizeC

Get optimization recommendations and insights

wp_performance_exportC

Export comprehensive performance report

wp_list_postsA

Lists posts from a WordPress site with comprehensive filtering options. Supports search, status filtering, and category/tag filtering with enhanced metadata display.

Usage Examples: • Basic listing: wp_list_posts • Search posts: wp_list_posts --search="AI trends" • Filter by status: wp_list_posts --status="draft" • Category filtering: wp_list_posts --categories=[1,2,3] • Paginated results: wp_list_posts --per_page=20 --page=2 • Combined filters: wp_list_posts --search="WordPress" --status="publish" --per_page=10

wp_get_postA

Retrieves detailed information about a single post including metadata, content statistics, and management links. Optionally includes full HTML content for editing.

Usage Examples: • Basic metadata: wp_get_post --id=123 • With full content: wp_get_post --id=123 --include_content=true

wp_create_postA

Creates a new WordPress post with comprehensive validation and detailed success feedback including management links.

Usage Examples: • Simple post: wp_create_post --title="My New Post" --content="<p>Hello World!</p>" • Draft post: wp_create_post --title="Draft Post" --status="draft" • Categorized post: wp_create_post --title="Tech News" --categories=[1,5] --tags=[10,20] • Post with featured image: wp_create_post --title="My Post" --content="<p>Content</p>" --featured_media=42 • Remove featured image: wp_create_post --title="My Post" --featured_media=0 • Scheduled post: wp_create_post --title="Future Post" --status="future" --date="2024-12-25T10:00:00" • Complete post: wp_create_post --title="Complete Post" --content="<p>Content</p>" --excerpt="Summary" --status="publish"

wp_update_postA

Updates an existing WordPress post with comprehensive validation and change tracking. All parameters except ID are optional - only provided fields will be updated.

Usage Examples: • Update title: wp_update_post --id=123 --title="New Title" • Update content: wp_update_post --id=123 --content="<p>Updated content</p>" • Change status: wp_update_post --id=123 --status="publish" • Update categories: wp_update_post --id=123 --categories=[1,5,10] • Set featured image: wp_update_post --id=123 --featured_media=42 • Remove featured image: wp_update_post --id=123 --featured_media=0 • Multiple updates: wp_update_post --id=123 --title="New Title" --status="publish" --categories=[1,2]

wp_delete_postA

Deletes a WordPress post with options for trash or permanent deletion. Includes safety confirmations and detailed feedback on the deletion action.

Usage Examples: • Trash a post: wp_delete_post --id=123 (moves to trash) • Permanent deletion: wp_delete_post --id=123 --force=true • Bulk operations: Use multiple calls with different IDs

wp_get_post_revisionsB

Retrieves the revision history for a specific post, including details about changes, dates, and authors for content management and auditing purposes.

wp_seo_analyze_contentB

Analyze WordPress post content for SEO optimization opportunities including readability, keyword density, structure, and technical factors

wp_seo_generate_metadataC

Generate SEO-optimized metadata including title tags, meta descriptions, OpenGraph, and Twitter Card data

wp_seo_bulk_update_metadataB

Update SEO metadata for multiple posts with progress tracking and error handling

wp_seo_generate_schemaC

Generate JSON-LD structured data schema for enhanced search results

wp_seo_validate_schemaB

Validate JSON-LD schema markup for correctness and compliance

wp_seo_suggest_internal_linksB

Analyze content and suggest relevant internal linking opportunities for better SEO

wp_seo_site_auditC

Perform comprehensive SEO audit of the WordPress site including technical, content, and performance analysis

wp_seo_track_serpB

Track search engine result page positions for target keywords

wp_seo_keyword_researchC

Research keywords and get suggestions based on topic and competition analysis

wp_seo_test_integrationC

Test SEO plugin integration and detect available SEO plugins on the WordPress site

wp_seo_get_live_dataC

Retrieve live SEO data from WordPress including plugin-specific metadata and configurations

wp_get_site_settingsB

Retrieves the general settings for a WordPress site.

wp_update_site_settingsC

Updates one or more general settings for a WordPress site.

wp_search_siteB

Performs a site-wide search for content across posts, pages, and media with comprehensive results and metadata.

Usage Examples: • Search everything: wp_search_site --term="WordPress" • Search posts only: wp_search_site --term="tutorial" --type="posts" • Search pages: wp_search_site --term="about" --type="pages" • Search media: wp_search_site --term="logo" --type="media" • Find specific content: wp_search_site --term="contact form"

wp_get_application_passwordsC

Lists application passwords for a specific user.

wp_create_application_passwordC

Creates a new application password for a user.

wp_delete_application_passwordC

Revokes an existing application password.

wp_list_categoriesC

Lists categories from a WordPress site.

wp_get_categoryB

Retrieves a single category by its ID.

wp_create_categoryC

Creates a new category.

wp_update_categoryC

Updates an existing category.

wp_delete_categoryC

Deletes a category.

wp_list_tagsC

Lists tags from a WordPress site.

wp_get_tagB

Retrieves a single tag by its ID.

wp_create_tagC

Creates a new tag.

wp_update_tagC

Updates an existing tag.

wp_delete_tagC

Deletes a tag.

wp_list_usersA

Lists users from a WordPress site with comprehensive filtering and detailed user information including roles, registration dates, and activity status.

Usage Examples: • List all users: wp_list_users • Search users: wp_list_users --search="john" • Filter by role: wp_list_users --roles=["editor","author"] • Find admins: wp_list_users --roles=["administrator"] • Combined search: wp_list_users --search="smith" --roles=["subscriber"]

wp_get_userB

Retrieves a single user by their ID.

wp_get_current_userA

Retrieves the currently authenticated user with comprehensive profile information including roles, capabilities, and account details.

Usage Examples: • Get current user: wp_get_current_user • Check permissions: Use this to verify your current user's capabilities and roles • Account verification: Confirm you're authenticated with the correct account • Profile details: View registration date, email, and user metadata

wp_create_userC

Creates a new user.

wp_update_userC

Updates an existing user.

wp_delete_userC

Deletes a user.

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

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