Skip to main content
Glama
.env.example1.37 kB
# WordPress MCP Server Environment Configuration # WordPress Site Configuration WORDPRESS_SITE_URL=https://your-wordpress-site.com WORDPRESS_REST_API_BASE=/wp-json/wp/v2 # Authentication Configuration # Choose ONE authentication method: # Method 1: Application Passwords (Recommended) WORDPRESS_USERNAME=your-username # IMPORTANT: Do NOT use quotes around the password - spaces are handled correctly by dotenv WORDPRESS_APP_PASSWORD=xxxx xxxx xxxx xxxx xxxx xxxx # Method 2: JWT Authentication (if JWT plugin installed) # WORDPRESS_JWT_SECRET=your-jwt-secret # WORDPRESS_JWT_USERNAME=your-username # WORDPRESS_JWT_PASSWORD=your-password # Method 3: OAuth (if OAuth plugin installed) # WORDPRESS_OAUTH_CLIENT_ID=your-client-id # WORDPRESS_OAUTH_CLIENT_SECRET=your-client-secret # WORDPRESS_OAUTH_REDIRECT_URI=http://localhost:8080/callback # Method 4: Cookie Authentication (for same-origin requests) # WORDPRESS_COOKIE_NONCE=your-nonce # Advanced Configuration WORDPRESS_API_VERSION=wp/v2 WORDPRESS_TIMEOUT=30000 WORDPRESS_MAX_RETRIES=3 WORDPRESS_DEBUG=false # MCP Server Configuration DEBUG=false NODE_ENV=production PORT=8080 # Cache Configuration CACHE_ENABLED=true CACHE_TTL=300 CACHE_DIR=./cache # Rate Limiting RATE_LIMIT_ENABLED=true RATE_LIMIT_MAX_REQUESTS=100 RATE_LIMIT_WINDOW_MS=60000 # Logging LOG_LEVEL=info LOG_FILE=./logs/wordpress-mcp.log

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