====== Vibemosphere MCP Server ====== A **Model Context Protocol** server for the whole Vibecat: AI clients (Claude Code, Claude Desktop, ...) list and call tools that control plug-ins, valves, filters, data sources, users, roles, API keys, web applications, ports and the Docker Composer. ^ Id | ''mcp'' | ^ Role | ''mcp'' (administrators may call it as well) | ^ Page | **Plugins > Open** or ''/plugins/mcp/'' | ^ Endpoint | ''POST /plugins/mcp'' on the ports of the web applications, or ''POST /api/plugins/mcp/'' on the administration port | ^ Protocol | JSON-RPC 2.0 over HTTP ("Streamable HTTP" without the optional event stream) | **Important:** The role ''mcp'' is the key to the whole administration: every tool is a call of the administration's REST interface made as an administrator on behalf of the caller. Give it to nobody else. ===== Open the page ===== In the administration open **Plugins**, select the row of this plug-in and press **Open**. The page opens in an overlay dialog: close it with the **X** at the top right, with Esc or by clicking outside; //Open in a new tab// next to the title shows it full size. {{vibecat:plugin-mcp.png?900|MCP Server: the plug-in page in its overlay dialog}} ===== Connect a client ===== - **Users**: make a user (or use an existing one) with the role ''mcp'' and give it an **API key** limited to that role. - Point the client at the endpoint and send ''Authorization: Bearer ''. Claude Code: claude mcp add --transport http vibecat http://vibecat.example.com:9090/plugins/mcp --header "Authorization: Bearer " Claude Desktop (''claude_desktop_config.json'', through the ''mcp-remote'' bridge) and a ''curl'' test are shown ready to copy on the tab **Connect**. {{vibecat:plugin-mcp-full.png?900|MCP Server, tab Connect}} ===== Tools ===== The tab **Tools** lists every tool with its arguments (''*'' = required); tools marked **changes** alter the configuration or the state. The groups: ^ Group ^ Examples ^ | State | ''vibecat_status'', ''vibecat_version'', ''vibecat_log'', ''vibecat_whoami'' | | Plug-ins | ''plugins_list'', ''plugin_enable'', ''plugin_disable'', ''plugin_call'' (any plug-in REST call) | | Docker | ''docker_system_make'', ''docker_system_up'' / ''stop'' / ''down'', ''docker_system_logs'', ''docker_plugin_deploy'', ''docker_files_list'', ''docker_file_read'' / ''write'' / ''delete'' | | Configuration | ''valve_*'', ''filter_*'', ''datasource_*'' and the corresponding tools for users, roles, API keys, web applications and ports | | Everything else | ''vibecat_api'' reaches every other endpoint of the administration | Passwords that ''docker_system_make'' generates are never returned, and compose previews are masked. Files read through ''docker_file_read'' may contain secrets. {{vibecat:plugin-mcp-tab2.png?900|MCP Server, tab Tools}} ===== Recent calls ===== Time, user, tool, result and duration of the latest calls. In the Vibecat log a call appears as ''plugin:mcp/''. {{vibecat:plugin-mcp-tab3.png?900|MCP Server, tab Recent calls}} [[start|Back to the overview]] ===== ELO systems and system information ===== ^ Tool ^ Does ^ | ''docker_system_make'' | make a system; ''setup'' = ''elo-setup'' or ''vibecat'' | | ''docker_licence_set'' | store the licence from a ''.pk'' file on the Vibecat computer (path only) | | ''docker_database_deploy'' | create the ELO Oracle databases with ECM Database Deployment | | ''docker_system_urls'' | addresses of a system | | ''docker_proxy_targets'', ''docker_proxy_set'' | targets and settings of a reverse proxy system | | ''docker_containers'' | containers with their system and memory | | ''system_info'' | memory, volumes with watermarks, Tomcat / Java processes, Docker containers | [[vibecat:plugins:start|All plug-ins]]