claude-operator
claude-operator
Claude Codeセッションを自律型オペレーターに変えるTypeScript MCPサーバーです。目標の分解、複数プロジェクトにまたがるワーカーセッションの生成と調整、2層の永続メモリ管理、ガードレールの強制、そして人間による事後レビューからの学習を行います。
インストール
npm install -g claude-operator
claude-operator init
claude-operator startinit は ~/.claude-operator/ (SQLite DB、バスディレクトリ、設定) をスキャフォールドします。
start は stdio で MCP サーバーを起動し、http://localhost:7373 でダッシュボードを起動します。
Related MCP server: claude-swarm
Claude Codeへの組み込み
~/.claude/settings.json に以下を追加します:
{
"mcpServers": {
"claude-operator": {
"command": "claude-operator",
"args": ["start", "--mcp"]
}
}
}または、ローカルの開発ビルドを指定します:
{
"mcpServers": {
"claude-operator": {
"command": "node",
"args": ["/path/to/claude-operator/packages/server/dist/server.js"]
}
}
}アーキテクチャ
Operator session (Claude Code)
│ MCP tools (10)
▼
┌─────────────────────────────────┐
│ claude-operator MCP server │
│ ┌──────────┐ ┌─────────────┐ │
│ │ SQLite │ │ File bus │ │
│ │ WAL+FTS5│ │ heartbeat │ │
│ └──────────┘ └─────────────┘ │
│ ┌──────────────────────────┐ │
│ │ Monitor loop (30s poll) │ │
│ └──────────────────────────┘ │
└────────────┬────────────────────┘
│ spawn / bus read-write
┌────────┴────────┐
▼ ▼
Worker A Worker B
(git worktree) (git worktree)
operator/w-abc operator/w-def2層メモリ — 第1層(揮発性、30日で自動期限切れ)と第2層(永続的、人間による確認済み)。オペレーターが分類を提案し、人間がダッシュボードで確認します (pending_classification=TRUE)。
ファイルバス — プライマリのワーカー↔オペレーター間状態チャネル。ワーカーは <bus-dir>/<worker-id>.json にハートビートを書き込みます。監視ループが期限切れのワーカー(2分以上ハートビートがないもの)を検出し、失敗としてマークします。
ガードレール — ツール呼び出しの前に強制されるJSONルール。set_guardrail で設定し、get_guardrails で確認します。
ツールリファレンス
ツール | 説明 |
| 目標、プロジェクトパス、優先度、制約を含むタスクを作成 |
| 分離されたgitワークツリー上でClaude Codeワーカー(名前付きまたはヘッドレス)を起動 |
| ワーカーの状態、ハートビートの経過時間、現在のタスクをポーリング |
| タスクを完了としてマークし、ワークツリーブランチをマージし、クリーンアップ |
| オペレーターメモリ全体に対するFTS5全文検索 |
| 層と信頼度を指定してメモリエントリを書き込み/更新 |
| ガードレールルールを追加または更新 |
| アクティブなガードレールルールを一覧表示 |
| ファイルバス経由で実行中のワーカーに指示を送信 |
| 事後学習のために人間の判断を記録 |
ダッシュボード
http://localhost:7373 — タスクボード、ワーカーの状態、ガードレールエディター、メモリブラウザ、判断ログ、SSEログストリーム。
CLI
claude-operator init # scaffold config + DB
claude-operator start # start MCP server + dashboard
claude-operator status # print active workers + tasks
claude-operator retro # open judgment call log開発
git clone https://github.com/MoyGulati/claude-operator
cd claude-operator
pnpm install
pnpm build
pnpm test # 39 tests
./verify.sh # full gate (build + test)要件: Node 24+、pnpm 10+。
ライセンス
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenanceProvides comprehensive session management for Claude Code with automatic initialization/cleanup, quality checkpoints, and local conversation memory with semantic search for capturing learnings across coding sessions.62BSD 3-Clause
- AlicenseNot gradedqualityCmaintenanceOrchestrates parallel Claude Code worker swarms with protocol-based behavioral governance for multi-hour autonomous coding sessions.9111MIT
- AlicenseBqualityAmaintenanceTurns Claude Code into a self-driving AI company with autonomous CEO, agent teams, and self-improvement capabilities.113344MIT
- FlicenseNot gradedqualityDmaintenanceCoordinates multiple Claude Code agents to work collaboratively on projects with role-based task management, shared state, and automated code review.122
Related MCP Connectors
Adaptive plan/build/review cycles for AI coding assistants, persisted across sessions.
Cross-agent artifact workspace with provenance across Claude Code, Codex, Cursor, LangGraph.
Paid remote MCP for Claude Code skill update gate MCP, structured receipts, audit logs, and reviewer
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MoyGulati/claude-operator'
If you have feedback or need assistance with the MCP directory API, please join our Discord server