Skip to content

Self-Hosted MCP


Overview

The self-hosted CloudAEye deployment includes an OAuth-protected MCP server for Claude Code. This page covers the deployment and installation steps.

Prerequisites

  • A deployed CloudAEye self-hosted environment.
  • The value returned by terraform output -raw app_base_url.
  • Claude Code.
  • A tenant account created by the deployment bootstrap task.

Step 1: Get The MCP Endpoint

From the Terraform deployment directory, get the application URL:

terraform output -raw app_base_url

Configure the MCP endpoint as:

<app_base_url>/mcp

The required OAuth scope is mcp:tools.

Step 2: Install The Plugin

Add the marketplace and install the plugin with the self-hosted endpoint:

/plugin marketplace add CloudAEye/cloudaeye-plugin
/plugin install cloudaeye --config url=<app_base_url>/mcp

Restart Claude Code after installation so the MCP server connection is loaded.

Edit The Plugin URL

To change the endpoint after installing the plugin:

  1. Run /plugin configure cloudaeye in Claude Code.
  2. Select the URL option and replace its value with the new endpoint:

    <app_base_url>/mcp
    
  3. Save the configuration and restart Claude Code so the MCP server reconnects with the new URL.

Step 3: Authenticate

  1. Run /mcp in Claude Code.
  2. Select CloudAEye and choose Authenticate.
  3. Sign in at <app_base_url>/ui/auth/sign-in and approve the consent screen.
  4. Return to Claude Code after the browser reports a successful connection.

The initial admin uses the password account created by the bootstrap task.

HTTPS is required to use MCP.

Repository Settings

The .cloudaeye.config and .cloudaeye.rules files in your repositories work the same with a self-hosted deployment. See Configuration.

Run /cloudaeye:help for the full command catalog or /cloudaeye:help inspect for a command manual with options and examples. Help reads installed documentation and works even before authentication or while the self-hosted server is unavailable.

Use the standard MCP documentation for command behavior, inputs, and output.

Command Documentation
/cloudaeye:help help
/cloudaeye:init init
/cloudaeye:inspect inspect
/cloudaeye:security security
/cloudaeye:review review
/cloudaeye:describe describe
/cloudaeye:control-flow control-flow
/cloudaeye:review-arch review-arch
/cloudaeye:ask ask
/cloudaeye:check-task check-task
/cloudaeye:check check
/cloudaeye:implement implement
/cloudaeye:slop-score slop-score
/cloudaeye:risk-score risk-score
/cloudaeye:triage-prs triage-prs
/cloudaeye:assign-reviewer assign-reviewer
/cloudaeye:create-owners create-owners
/cloudaeye:add-docs add-docs
/cloudaeye:add-tests add-tests
/cloudaeye:explain explain
/cloudaeye:create-issue create-issue
/cloudaeye:ultrareview ultrareview
/cloudaeye:config config

For the general MCP workflow, see the MCP overview, Claude Code setup, usage guide, tool reference, and custom context.