Switches the MCP server on or off.
Takes settings.active as the exact string yes or no; anything else is rejected. The value is stored in FluentCommunity's own options and the response is the full settings screen payload with a message.
Endpoint
Method:
POSTPath:
/settings/mcpEdition: Core
Controller:
McpSettingsController@saveRoute source:
fluent-community/Modules/Mcp/Http/mcp_api.php:10Controller source:
fluent-community/Modules/Mcp/Http/Controllers/McpSettingsController.phpSite administrators only, and the switch saves as soon as it is toggled — there is no separate save step.
Turning it on neither installs nor checks for an adapter. Without one the MCP endpoint does not exist at all, so check
adapter.activein the response rather than assuming the server is reachable.Abilities are registered on the next request, not this one.
A missing or out-of-range value answers 422.
Reconstructed sample
This endpoint belongs to a module that is not active on the reference install (or needs a file upload), so the payload below was reconstructed by reading the controller rather than recorded. Field names and types follow the source; values are illustrative.
POST Save MCP Settings
Switches the MCP server on or off.
Controller: McpSettingsController@save
Route source: fluent-community/Modules/Mcp/Http/mcp_api.php:10
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Request Body
Responses
Successful response