-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.env.example
More file actions
51 lines (40 loc) · 1.33 KB
/
.env.example
File metadata and controls
51 lines (40 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# 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