Skip to content

Endpoint ​

  • Method: POST
  • Path: /settings/mcp
  • Edition: Core
  • Controller: McpSettingsController@save
  • Route source: app/Http/Routes/api.php
  • Access: AdminPolicy — manage_options or the manage_all_data permission.

POST Update MCP Settings​

POST
/settings/mcp

Turn the MCP server on or off (settings.enabled: yes or no). Only a site administrator (manage_options) can change it; other users get 403.

Controller: McpSettingsController@save
Route source: app/Http/Routes/api.php

Authorizations​

ApplicationPasswords

WordPress Application Passwords — use Basic auth with username:application_password.

Type
API Key (header: Authorization)

Request Body​

application/json
JSON
{
}

Responses​

Successful response

application/json
JSON
{
"message": "string",
"settings": {
"enabled": "string"
},
"endpoint_url": "string",
"server_name": "string",
"adapter": {
"installed": true,
"active": true,
"provider": "string",
"version": "string",
"abilities_api": true,
"toolkit_installed": true,
"toolkit_active": true,
"can_auto_install": true,
"toolkit_download_url": "string",
"download_url": "string"
},
"hub": {
},
"tools": {
"total": 0,
"pro": 0
},
"can_manage": true,
"user_can_connect": true,
"app_passwords_url": "string",
"plugins_url": "string",
"current_user_login": "string",
"is_local_dev": true
}

Playground​

Authorization
Body

Samples​

Powered by VitePress OpenAPI

FluentAffiliate developer documentation