Endpoint
- Method:
POST - Path:
/settings/mcp/enable-hub - Edition: Core
- Controller:
McpSettingsController@enableHub - Route source:
app/Http/Routes/api.php - Access:
AdminPolicy—manage_optionsor themanage_all_datapermission.
POST Enable MCP Hub
POST
/settings/mcp/enable-hub
Turn on the FluentHub MCP server (target: hub, the default) or the MCP server of another Fluent plugin (target: its slug), through FluentHub. Needs manage_options. Nothing can be turned off from this route. Returns 422 with a reason when FluentHub cannot do it.
Controller: McpSettingsController@enableHub
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
}