advisor
Reads the workspace's git status and current diff to provide context for advisor consultations and to audit changes with a review verdict.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Agent Advisor brings the two-tier reasoning workflow popularized by Anthropic's Claude Code /advisor to every coding agent inside Orca.
The idea is simple: let a fast model handle day-to-day edits, searches, and test runs, and summon a stronger senior model only when it actually matters — on a tricky architectural decision, a stubborn debugging loop, or a final diff check before wrapping up.
Everything happens quietly behind the scenes. Your working agent calls the advisor MCP tool, the senior model reasons in headless read-only mode, and the answer lands straight back inside the same conversation. No extra chat tabs, no manual copy-pasting, no context switching.
Contents
Related MCP server: severally
How It Works
flowchart LR
E["Working Agent<br/>Grok, OpenCode, Codex, Claude, Gemini..."]
M["advisor MCP Server<br/>stdio bridge"]
W["Orca Plugin Worker<br/>IPC · Threads · Guardrails"]
A["Advisor Model<br/>Headless · Read-Only"]
E -- "advisor(question, files)" --> M
M -- "127.0.0.1 /v1/consult" --> W
W -- "git diff + files + branch thread" --> A
A -- "plan / diagnosis / verdict" --> W
W --> M
M -- "tool result" --> EWhen the executor agent asks for advice, the worker automatically gathers git status, the current git diff, any files the agent requested, and the workspace's ongoing advisor thread. Secrets are redacted before anything leaves the machine. The advisor model responds in strict read-only mode, and the thread stays persisted per branch in orca.storage so follow-up questions keep full continuity.
Features
Inspired by Claude Code
/advisor, built for all of Orca — Works withGrok,OpenCode,Codex,Claude Code,Gemini,Kilocode,Cline, andAntigravity.Invisible headless execution —
Codex,Claude,Grok,Gemini, and direct APIs run silently in the background without opening extra tabs in your workspace.Minimal control panel — Click Advisor in Orca's status bar or press
Mod+Shift+Ato toggle it on/off, pick a provider, choose a model, adjust reasoning effort, and set how often it steps in.Real model lists, never stale defaults — Reads your actual available models directly from local agent caches, CLIs, or live APIs.
Independent Thinking / Effort control — Tune reasoning depth (
low,medium,high,xhigh,max) right beside the model picker without overwriting it when switching frequency presets.Automatic MCP &
/advisorsetup — Registers theadvisortool across your installed agents and installs the global/advisorskill automatically on startup.Built-in guardrails — Soft per-turn call budget, loop detection when an agent repeats failing commands, and optional diff review checks after large edits.
Zero runtime dependencies — Pure TypeScript, Node.js built-ins, and native Orca Components UI with English and Russian localization.
Providers & Models
Provider | Execution | Extra Tab | Model Source |
Codex | Headless | No |
|
Claude | Headless | No |
|
Grok | Headless | No | Live |
Gemini | Headless | No |
|
OpenCode / OpenCode 2 | Native Orca agent | Fallback | Live |
Kilocode | Native Orca agent | Fallback | Live |
Cline / Antigravity | Native Orca agent | Fallback | Local config or Orca default |
OpenRouter API | Direct HTTPS with prompt caching | No |
|
Anthropic API | Direct HTTPS with prompt caching | No |
|
OpenAI / Compatible API | Direct HTTPS with custom base URL support | No |
|
Switching providers automatically remembers the model you last used for each one.
Advisor Levels
Instead of tuning ten separate thresholds, pick one of three presets directly in the panel. Changing the level keeps your chosen model and reasoning effort intact.
Level | Calls per Turn | Loop Warning | Post-Finish Diff Check | When to Use |
Rare |
| After | Off | Uninterrupted flow; step in only when stuck or at major forks |
Balanced |
| After | Suggest | Everyday default |
Frequent |
| After | Auto-review | Complex refactors, migrations, and high-risk changes |
Installation
From Git via Orca CLI
orca plugin install https://github.com/aElDi/orca-agent-advisor --jsonReview the permissions Orca prints and confirm with the provided fingerprint.
Local Development
git clone https://github.com/aElDi/orca-agent-advisor.git
cd orca-agent-advisor
orca plugin dev load . --jsonThen approve the displayed fingerprint:
orca plugin dev load . --json --approve <fingerprint>Open the panel anytime from the Advisor button in Orca's bottom bar or via Ctrl+Shift+A / Cmd+Shift+A.
Automatic Setup
On startup, with autoConnectAgents enabled by default, the worker handles all wiring automatically:
Launches an authenticated loopback IPC bridge on
127.0.0.1with a per-session random bearer token.Registers the
advisorstdio MCP server across every installed agent it detects on your machine: Claude Code, Codex CLI, OpenCode, Grok, Gemini CLI, Antigravity, Cline, and Kilocode.Installs the
/advisorskill to~/.agents/skills/advisor/SKILL.mdand syncs it into installed agent skill directories.
If you prefer managing agent configs manually, disable Auto-connect agents & skill in Orca Settings.
Commands & Settings
Command | Shortcut | What It Does |
|
| Opens the Advisor sidebar panel |
| — | Runs a quick workspace sanity-check |
| — | Audits the current diff with |
| — | Clears the current workspace's advisor history |
| — | Resets the per-turn autonomous MCP call counter |
| — | Turns |
Advanced options — custom OpenAI-compatible base URL, diff size caps, secret redaction, notifications, and additional system instructions — are available in Orca Settings → Agent Advisor in both English and Russian.
Security
Strict read-only execution — Advisors run sandboxed or tool-less and cannot edit files or run mutating commands.
No recursive self-calls — Headless Codex and Claude advisor subprocesses strip the
advisorMCP tool automatically.Secret redaction & path safety — Common API keys, bearer tokens, and private keys are masked before leaving the machine; sensitive files such as
.env,.pem, and.keyare skipped, and file reads are locked inside the workspace root.Encrypted API keys — Optional API keys are stored exclusively in the OS keyring via Orca's
secretsAPI.Loopback-only bridge — Local IPC binds strictly to
127.0.0.1with constant-time bearer token verification.
Development
orca plugin types . --json
npx tsc -p . --noEmit
node --check src/mcp-server.mjs
orca plugin validate . --json
orca plugin test . --json
orca plugin check . --jsonTo run the optional live end-to-end suite against local CLIs and live catalogs:
$env:ADVISOR_LIVE_E2E='1'; orca plugin test . --jsonCredits & License
Inspired by Anthropic's Claude Code /advisor multi-model strategy.
MIT © 2026 aElDi
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Security reviews for coding agents: diffs checked against your org policy and live infrastructure.
Multi-model code review: a panel of models + detectors return a pass/fail verdict. Paid via x402.
Multi-LLM council: 25+ frontier models in parallel, consensus scoring, verdict-first code review.
Guardian agent for AI coding: four frontier models review risky diffs and commits before they ship.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI agents to consult expert models (Claude, GPT, Gemini, DeepSeek, Z.ai) for technical guidance, code reviews, and architectural advice without switching context.414 npm4MIT
- AlicenseAqualityBmaintenanceEnables coding agents to consult other coding-agent CLIs for independent opinions on proposals, receiving per-agent responses that can be verified and recorded without sharing conversation history.690 npmApache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI coding agents to request a second opinion from a different frontier model via a single tool call, with PII scrubbed before transit, live web search, and support for Claude, ChatGPT, Cursor, and Gemini.Apache 2.0
- AlicenseAqualityBmaintenanceGet a second opinion on your code from every coding agent you have. Claude Code, Codex and Grok review each other's diffs and answer each other's questions, even inside a session that's already running. Uses the CLIs you're signed in to, no API keys.497 npm1MIT