Skip to content

Asks another Fluent plugin to install the MCP adapter, and returns the refreshed adapter state.

FluentCommunity ships no installer of its own. This endpoint delegates to FluentHub's installer and then re-reads the adapter state in the same request — it is synchronous, with no background job. Takes no parameters.

Endpoint ​

  • Method: POST

  • Path: /settings/mcp/install-adapter

  • Edition: Core

  • Controller: McpSettingsController@installAdapter

  • Route source: fluent-community/Modules/Mcp/Http/mcp_api.php:11

  • Controller source: fluent-community/Modules/Mcp/Http/Controllers/McpSettingsController.php

  • Site administrators who also hold the WordPress capability to install plugins.

  • It answers 422 when nothing on the site offers an installer, which is the normal case; the screen then links to the adapter download instead.

  • It can answer 200 while the adapter is still not active, so read adapter.active rather than the status code.

  • Either of two plugins can supply the adapter, and the response says which one is in play.

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 Install MCP Adapter​

POST
/settings/mcp/install-adapter

Asks another Fluent plugin to install the MCP adapter, and returns the refreshed adapter state.

Controller: McpSettingsController@installAdapter
Route source: fluent-community/Modules/Mcp/Http/mcp_api.php:11

Authorizations​

ApplicationPasswords

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

Type
API Key (header: Authorization)

Responses​

Successful response

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

Playground​

Authorization

Samples​

Powered by VitePress OpenAPI

FluentCommunity developer documentation