Skip to main content
PATCH
/
wp-json
/
getmcp
/
v1
/
settings
curl --request PATCH \
     --url https://yoursite.com/wp-json/getmcp/v1/settings \
     --header 'Authorization: Bearer gmcp_your_api_key' \
     --header 'content-type: application/json' \
     --data '
{
  "log_retention_days": 60,
  "analytics_retention_days": 180,
  "enable_email_alerts": true,
  "notification_email": "[email protected]",
  "usage_alert_threshold": 500
}
'
{
  "default_rate_limit": 60,
  "default_timeout": 30,
  "log_retention_days": 60,
  "analytics_retention_days": 180,
  "log_response_data": false,
  "enable_health_checks": true,
  "health_check_interval": 60,
  "notification_email": "[email protected]",
  "enable_email_alerts": true,
  "usage_alert_threshold": 500,
  "keep_data_on_uninstall": false
}

Documentation Index

Fetch the complete documentation index at: https://docs.getmcp.com/llms.txt

Use this file to discover all available pages before exploring further.

Updates one or more plugin settings. Only include the fields you want to change. Returns the complete updated settings object.

Body Parameters

default_rate_limit
integer
Default rate limit (requests per minute) for new servers.
default_timeout
integer
Default request timeout in seconds for new tools.
log_retention_days
integer
How many days to keep call log entries. Set to 0 for indefinite retention.
analytics_retention_days
integer
How many days to keep aggregated daily analytics.
log_response_data
boolean
Whether to store API response bodies in call logs. Disabled by default for privacy.
enable_health_checks
boolean
Enable or disable background health checks.
health_check_interval
integer
Health check interval in minutes.
notification_email
string
Email address for alert notifications.
enable_email_alerts
boolean
Enable or disable email alerts.
usage_alert_threshold
integer
Calls per hour threshold that triggers an alert email.
keep_data_on_uninstall
boolean
If true, all plugin data is preserved when the plugin is deleted.
curl --request PATCH \
     --url https://yoursite.com/wp-json/getmcp/v1/settings \
     --header 'Authorization: Bearer gmcp_your_api_key' \
     --header 'content-type: application/json' \
     --data '
{
  "log_retention_days": 60,
  "analytics_retention_days": 180,
  "enable_email_alerts": true,
  "notification_email": "[email protected]",
  "usage_alert_threshold": 500
}
'
{
  "default_rate_limit": 60,
  "default_timeout": 30,
  "log_retention_days": 60,
  "analytics_retention_days": 180,
  "log_response_data": false,
  "enable_health_checks": true,
  "health_check_interval": 60,
  "notification_email": "[email protected]",
  "enable_email_alerts": true,
  "usage_alert_threshold": 500,
  "keep_data_on_uninstall": false
}