Skip to content

CloudAEye in IntelliJ IDEA

Connect CloudAEye through JetBrains AI Assistant and run its skills with Claude Agent or Codex. Add the server connection once, then import the skills you want to use.

Prerequisites

  • JetBrains AI Assistant with Claude Agent or Codex activated.
  • A CloudAEye account with Code Review access.
  • A Git repo with at least one commit.
  • Git, Python 3, curl, and Bash installed and available to your coding agent.
  • Node.js and npm installed to run CloudAEye's authentication helper through npx.

On Windows, use Git Bash and check that you can run Python from it. See the shared prerequisites for setup details.

For self-hosted CloudAEye, follow the Self-Hosted MCP guide using the endpoint provided by your administrator.

Step 1 - Prepare AI Assistant

Install or enable JetBrains AI Assistant under Settings > Plugins. Use the latest IntelliJ IDEA and AI Assistant versions to access skills.

Step 2 - Connect your account

Open Settings > Tools > AI Assistant > Model Context Protocol (MCP). Click Add, choose STDIO, and use this Windows configuration:

{
  "mcpServers": {
    "cloudaeye": {
      "command": "npx.cmd",
      "args": [
        "-y",
        "--ignore-scripts",
        "mcp-remote@0.14.3",
        "https://api.cloudaeye.com/mcp",
        "--transport",
        "http-only",
        "--static-oauth-client-metadata",
        "{\"client_name\":\"CloudAEye JetBrains\",\"application_type\":\"native\",\"token_endpoint_auth_method\":\"none\",\"scope\":\"mcp:tools openid offline_access\"}"
      ]
    }
  }
}

On macOS and Linux, replace npx.cmd with npx.

Click OK > Apply, then complete sign-in and consent in the browser. Choose your organization and return to the IDE. Confirm that CloudAEye is connected.

If you already have a CloudAEye connection, replace it rather than adding a second one. See JetBrains MCP setup.

Step 3 - Install the skills

Clone the complete plugin outside the repository you want to review. Run this in Git Bash on Windows, or Bash on macOS/Linux:

mkdir -p "$HOME/cloudaeye-tools"
git clone https://github.com/CloudAEye/cloudaeye-plugin.git "$HOME/cloudaeye-tools/cloudaeye-plugin"
export CLAUDE_PLUGIN_ROOT="$HOME/cloudaeye-tools/cloudaeye-plugin"
test -f "$CLAUDE_PLUGIN_ROOT/scripts/repository_preflight.py" && printf '%s\n' "$CLAUDE_PLUGIN_ROOT"

If you have already cloned the plugin there, skip the clone command. The final command prints the path you will use below. If it prints nothing, check that the clone completed and that you used the same folder path.

  1. Open Settings > Tools > AI Assistant > Skills.
  2. Click the gear, then Manage Skill Directories.
  3. Add a Global directory named CloudAEye, pointing to the checkout's skills directory. Use the native filesystem path in this dialog.
  4. Install init, describe, inspect, and help at IDE level. Install the other skills in the catalog as needed. If already installed, check that they are enabled.
  5. Click Apply > OK.

Use these skills with Claude Agent or Codex. See JetBrains skills.

Configure imported skills

Give the agent the path to your CloudAEye installation:

Replace <absolute-plugin-path> below with the path printed by the Bash command, then paste the instructions into the chat you open in Step 4. On Windows, use the Git Bash path, such as /c/Users/your-name/cloudaeye-tools/cloudaeye-plugin.

For CloudAEye skills, set CLAUDE_PLUGIN_ROOT to "<absolute-plugin-path>"
in each Bash command. Run the skills from the repository being reviewed.
Use Bash for the skills' shell commands, including on Windows.
When a skill names a Claude Code tool, use the connected CloudAEye tool
with the same operation name. Stop if that tool is unavailable.
Use AI Assistant's MCP settings to sign in, and select the installed
CloudAEye skill when instructions refer to /cloudaeye:<verb>.
Follow the skill's authentication, upload, polling, and approval instructions.

Step 4 - Initialize a repository

Open View > Tool Windows > AI Assistant (or AI Chat). Select Claude Agent or Codex, send a message, and complete agent activation. See agent activation and AI Chat.

In AI Assistant > Agents, enable Pass custom MCP servers where exposed, then start a new chat. See agent settings.

Paste the skill configuration into this new chat. Repeat this for each new chat, or save it in your agent's project instructions.

Initialize the repository using the format for your selected agent:

  • Claude Code (Claude Agent): /cloudaeye:init
  • Codex: $cloudaeye:init

For manually imported skills, Try in chat opens the installed skill directly.

Run Init once for each repository before using the review commands. It detects the repository and branch, then guides you through connecting your Git provider and choosing the branch to monitor. Wait for initialization to finish.

Step 5 - Verify

Make a small edit in the repository, then run /cloudaeye:inspect with Claude Code or $cloudaeye:inspect with Codex.

A working setup reports findings or confirms that it found none. If it reports an error, see Troubleshooting.

The commands

Use the command format for the agent you are using: /cloudaeye:<command> for Claude Code (Claude Agent), or $cloudaeye:<command> for Codex. Enter commands in the agent chat and append any arguments after the command.

Claude Code Codex What it does
/cloudaeye:inspect $cloudaeye:inspect Bug pass, without security checks; use after an ordinary coding task.
/cloudaeye:security $cloudaeye:security Application, LLM, agent, and MCP security, including secrets.
/cloudaeye:review $cloudaeye:review Combined bug and security review.
/cloudaeye:ultrareview $cloudaeye:ultrareview Every review at once with a merge verdict; on a PR, posted as one comment.
/cloudaeye:slop-score $cloudaeye:slop-score Assess how much careful manual review a change needs.
/cloudaeye:risk-score $cloudaeye:risk-score Assess whether an open PR needs human review and why.
/cloudaeye:triage-prs $cloudaeye:triage-prs Prioritize the review queue across connected repositories; does not review or post on PRs.
/cloudaeye:assign-reviewer $cloudaeye:assign-reviewer Recommend reviewers and what to check; request reviews only when asked.
/cloudaeye:create-owners $cloudaeye:create-owners Write local OWNERS.md files from Git history; never commit or push.
/cloudaeye:config $cloudaeye:config Set your team's settings and review rules, in files you commit.
/cloudaeye:control-flow $cloudaeye:control-flow Show changes to execution order as before/after diagrams.
/cloudaeye:review-arch $cloudaeye:review-arch Explain architectural impact, layers, and boundary violations.
/cloudaeye:describe $cloudaeye:describe Produce a change description for a PR body or commit message.
/cloudaeye:check-task $cloudaeye:check-task Check pending changes against a ticket, issue, or written task.
/cloudaeye:ask $cloudaeye:ask Answer questions about pending changes using repository context.
/cloudaeye:explain $cloudaeye:explain Explain a Jira or GitHub issue against the code it touches.
/cloudaeye:check $cloudaeye:check Run the PR hygiene checklist and post its report on the PR.
/cloudaeye:add-docs $cloudaeye:add-docs Generate docstrings and post them as PR suggestions.
/cloudaeye:add-tests $cloudaeye:add-tests Generate unit tests and post them as PR suggestions.
/cloudaeye:implement $cloudaeye:implement Get a fix plan for selected local-review findings; the agent applies requested fixes.
/cloudaeye:create-issue $cloudaeye:create-issue File selected findings as Jira tickets or GitHub issues.
/cloudaeye:init $cloudaeye:init Connect the current repository and configure its provider integration.
/cloudaeye:help $cloudaeye:help Show the command catalog or a command's manual without running it.

Run /cloudaeye:help in Claude Code or $cloudaeye:help in Codex to see the commands in your installed version. If a command is missing, update CloudAEye.

Each command links to its section in the User Guide. For a command's manual, append its name to the help command, for example /cloudaeye:help add-docs or $cloudaeye:help add-docs.

The workflow

The commands are built to sit inside a coding turn rather than beside it. Rather than running a review yourself and relaying the findings, ask for the whole loop in one prompt:

Implement the retry logic in the webhook handler, then review it with
CloudAEye Inspect and fix anything it finds.

Claude Agent or Codex writes the code, runs the CloudAEye inspect skill, and brings back the findings with the file and line for each. CloudAEye identifies the issues; the coding agent applies the fixes you request. To see the findings before deciding what to fix, end your prompt with "Show me the findings before making any fixes."

Ask for specific fixes, then run the same review again. CloudAEye resumes the review session, and the agent describes what it changed and which findings it deliberately left. This gives the next pass the context to focus on the latest changes rather than repeat findings you have already addressed or set aside.

For findings from a review of local changes, use implement to get a fix plan and have the agent apply it. See the User Guide for more workflows.

Make the review part of "done"

Add this to your project's CLAUDE.md for Claude Agent or AGENTS.md for Codex to have your agent review its own work before it reports a task complete. Keep any instructions already in the file.

You can also save the skill configuration there to reuse it in new chats. Keep your machine-specific path out of shared commits.

## Code review policy (cloudaeye)

After completing any coding task, before reporting done:

1. Run the CloudAEye inspect skill (bug pass, no security checks).
2. Show the findings and reviewed scope. Do not auto-fix unless asked.

If the review fails, report the error instead of marking the review complete.

If the change touches auth, untrusted input, deserialization, secrets, crypto,
LLM prompts, tool definitions, or agent orchestration, suggest CloudAEye security
after reporting the inspect findings. Do not run it uninvited.

This snippet tells the agent to run the check before reporting a task complete. Without it, the commands are available, but you need to ask for a review.

Update

Update your local CloudAEye clone, then refresh or reinstall its skills in Settings > Tools > AI Assistant > Skills. Start a new chat and add the skill configuration again if you have not saved it in your project instructions.

Troubleshooting

Problem Fix
CloudAEye is connected in AI Assistant, but Claude Agent or Codex cannot see it In Settings > Tools > AI Assistant > Agents, enable Pass custom MCP servers. Pass IntelliJ MCP server exposes IDE tools, not CloudAEye. Agent settings
A CloudAEye skill is listed in Settings but unavailable in chat In AI Assistant > Skills, install it at IDE level, enable its checkbox, and use Try in chat. Select Claude Agent or Codex; these are the supported agents for skills. Skill installation
CloudAEye is available in one project but missing in another In the MCP settings, change CloudAEye's Level from project to global if you want it available across projects. Server scope

For a disconnected server, select CloudAEye in the MCP settings and click Reconnect. For startup errors, open Help > Show Log in Explorer (Show Log in Finder on macOS), then the mcp folder. Connection controls and logs