CacheBash MCPサーバー
コミット 2026年11月13日タスクのディスパッチ、リレーメッセージング、永続的なメモリ、およびモバイルからのヒューマン・イン・ザ・ループによる承認を通じて、マルチエージェントの連携を可能にします。
別名 rezzedai/cachebash
- スター
- 0
- ツール
- —
- ダウンロード数(30日間)
- —
- 最新バージョン
- 2.0.0
- 最終コミット
- 2026年11月13日
- ライセンス
- MIT
CacheBash MCPとは
CacheBashはMCPサーバーです。 タスクのディスパッチ、リレーメッセージング、永続的なメモリ、およびモバイルからのヒューマン・イン・ザ・ループによる承認を通じて、マルチエージェントの連携を可能にします。.
プロジェクトのREADMEから生成された概要
CacheBash MCP server について
CacheBashは、Model Context Protocolを使用したマルチエージェントシステム向けのコーディネーションレイヤーを提供します。これにより、異なるエージェント間での通信、タスクの受け渡し、およびセッションをまたいだ永続的なメモリの保持が可能になります。開発者は、このMCP serverをCloud Runまたは任意のNode.jsホストにデプロイでき、分離されたデータストレージとしてGoogle Cloud Firestoreを利用できます。本システムは、Claude Code、Cursor、Copilotを使用したVS Code、およびstreamable HTTP経由のGemini CLIを含む、さまざまなクライアントをサポートしています。
このプラットフォームは、dispatch、relay、stateなどの21のドメインに整理された108個のツールを備えています。タスクの作成、確保、完了のためのツールを通じてタスクのライフサイクル全体を管理し、Firestoreのトランザクションによって2つのエージェントが同じタスクを確保できないように制御します。セキュリティは、利用可能なツールリストをフィルタリングする権限スコープ付きのAPIキーによって管理されます。このMCP serverのユニークな側面は、ヒューマン・イン・ザ・ループ機能です。React Nativeモバイルアプリを使用することで、ユーザーはスマートフォンから直接リクエストを承認したり、質問に答えたりすることができます。
できること
- 1マルチエージェント間のタスク受け渡しを調整特定の作業を別のエージェントに割り当て、ライフサイクルを通じてその進捗を追跡します。
- 2ヒューマン・イン・ザ・ループによる承認の実装自律的なエージェントのワークフローを一時停止し、ユーザーがモバイルデバイス経由で決定を承認するのを待ちます。
- 3エージェントの長期的なメモリの維持エージェントが異なるセッション間で、学習したパターンやコンテキストの履歴を保持できるようにします。
- 4きめ細かなツール権限の適用スコープ付きキーを使用して、メッセージの読み取りや書き込みなどの特定の機能へのエージェントのアクセスを制限します。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
CacheBash MCPのインストール方法
フォーマット検証日 2026年11月10日Cursor に追加Gooseに追加Claude CodeにCacheBash MCPをインストール
$ claude mcp add --transport http cachebash https://cachebash-mcp-922749444863.us-central1.run.app/v1/mcpCursorにCacheBash MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"cachebash": {
"url": "https://cachebash-mcp-922749444863.us-central1.run.app/v1/mcp"
}
}
}VS CodeにCacheBash MCPをインストール
.vscode/mcp.json
{
"servers": {
"cachebash": {
"type": "http",
"url": "https://cachebash-mcp-922749444863.us-central1.run.app/v1/mcp"
}
}
}VS Code CLIにCacheBash MCPをインストール
$ code --add-mcp '{"name":"cachebash","type":"http","url":"https://cachebash-mcp-922749444863.us-central1.run.app/v1/mcp"}'CodexにCacheBash MCPをインストール
$ codex mcp add cachebash --url https://cachebash-mcp-922749444863.us-central1.run.app/v1/mcpCodex config.tomlにCacheBash MCPをインストール
~/.codex/config.toml
[mcp_servers.cachebash] url = "https://cachebash-mcp-922749444863.us-central1.run.app/v1/mcp"
Gemini CLIにCacheBash MCPをインストール
$ gemini mcp add -s user --transport http cachebash https://cachebash-mcp-922749444863.us-central1.run.app/v1/mcpGemini settings.jsonにCacheBash MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"cachebash": {
"url": "https://cachebash-mcp-922749444863.us-central1.run.app/v1/mcp",
"type": "http"
}
}
}自動チェック
実行日 2026年11月15日完全なレポート →まだ検証されていません。サーバーには80点のスコア、重大な問題がないこと、および検証に必要な十分なデータが必要です。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能rezzedai/cachebash is public and reachablegithub.com/rezzedai/cachebash ↗合格
- パッケージがこのリポジトリをソースとして指定未チェック
- ビルドの来歴 (Sigstore 証明)未チェック
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-11-13github.com/rezzedai/cachebash ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していない未チェック
- パッケージおよびその依存関係に重大な勧告なし未チェック
- モデルへの隠れた指示がない0 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされている未チェック
- リモートエンドポイントが MCP ハンドシェイクに応答HTTPS endpoint answered 401 (sign-in required)合格
README
GitHubで見るCacheBash
CacheBash is an open-source MCP server for multi-agent coordination. It is written in TypeScript and works with any model and any MCP client. Agents use it to hand work to each other, message each other, report their state and ask a human for decisions. The human answers from a phone.
Architecture at a glance
- 108 MCP tools in 21 domains. The default deployment profile serves 107 of them. A smaller "lite" profile for tenant deployments serves 96.
- Task dispatch. Agents create, claim and complete tasks. Claims run inside a Firestore transaction, so two agents cannot claim the same task.
- Relay messaging. Direct messages, group multicast and message history. Messages that cannot be delivered go to a dead-letter queue for inspection.
- Human in the loop. Agents send questions and approval requests. The mobile app shows them, and the agent continues when the human answers.
- Capability-scoped keys. Each API key carries capabilities such as
dispatch.readorrelay.write. The tool list a client sees is filtered to that key's capabilities, and every call is checked again. - Policy checks before dispatch. The dispatch pre-flight evaluates the configured policies before a task is created.
- Per-task telemetry. Task completion records the status, model, provider, input and output tokens, cost, and a failure class.
- Persistent agent memory. Each program keeps state, learned patterns and memories across sessions.
How it runs:
- Server: TypeScript on Cloud Run, or any Node.js host.
- Storage: Google Cloud Firestore, with data isolated per user.
- Auth: Firebase Auth (GitHub and Google sign-in) plus per-program API keys.
- Mobile: React Native and Expo, for iOS and Android.
- Transport: MCP Streamable HTTP with Bearer token auth.
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Claude Code │ │ Cursor │ │ VS Code │
└──────┬──────┘ └──────┬──────┘ └──────┬──────┘
└────────────────┼────────────────┘
│ MCP (Streamable HTTP)
▼
┌───────────────────┐
│ CacheBash server │
│ (Cloud Run) │
└─────────┬─────────┘
┌───────┴────────┐
▼ ▼
┌────────────┐ ┌────────────┐
│ Firestore │ │ Mobile app │
└────────────┘ └────────────┘
Supported clients
| Client | Status |
|---|---|
| Claude Code | Supported |
| Cursor | Supported |
| VS Code + Copilot | Supported |
| Gemini CLI | Supported |
| Any MCP-compatible client | Supported |
CacheBash uses the standard MCP protocol. No orchestration logic depends on one vendor's SDK.
Tool domains
Counts come from the tool definitions in services/mcp-server/src/tools/. Most tools are named <domain>_<action>.
| Domain | Tools | What it does |
|---|---|---|
| dispatch | 24 | Task lifecycle: create, claim, complete, approve, retry, reassign, escalate, lineage, telemetry |
| gsp | 9 | Grid State Protocol: bootstrap, read, write, search, diff, propose and resolve shared state |
| pulse | 9 | Sessions and fleet health: create, update, list, pause, resume, timeline, snapshots |
| metrics | 8 | Cost summary and forecast, operational and comms metrics, SLA compliance, rate-limit events |
| state | 8 | Per-program state and memory: store, recall, reinforce, delete, context history |
| relay | 7 | Messages, directives, groups, history and dead letters |
| policy | 6 | Create, read, update, delete, list and check policies |
| schedule | 5 | Recurring and one-off scheduled work |
| sprint | 5 | Sprints with stories, dependencies and wave-based execution |
| keys | 4 | API key create, list, revoke and rotate |
| webhook | 4 | Register, list and delete webhooks, and read delivery logs |
| clu | 3 | Ingest, analyze and report on transcripts |
| signal | 3 | Push alerts and questions to the mobile app, and read the answers |
| audit | 2 | Audit log and acknowledgement compliance |
| dream | 2 | Overnight autonomous runs with budget caps |
| pattern | 2 | Consolidate learned patterns across programs |
| programs | 2 | List and update registered programs |
| trace | 2 | Query request traces |
| admin | 1 | Account administration |
| feedback | 1 | Submit feedback |
| request_help | 1 | Cross-grid help requests (lite profile only) |
| Total | 108 |
API reference: docs/api-reference.md and docs.rezzed.ai
Quick start
Hosted
# 1. Install and authenticate
npx cachebash init
# 2. Verify connection
cachebash ping
# 3. Open the mobile app. Your agent appears.
npx cachebash init signs you in through the browser and writes the MCP config for Claude Code, Cursor or VS Code.
Self-hosted
# 1. Clone the repo
git clone https://github.com/rezzedai/cachebash.git
cd cachebash
# 2. Install dependencies
cd services/mcp-server && npm install
# 3. Set up Firebase
# Create a Firebase project and enable Firestore.
# Download a service account key and set GOOGLE_APPLICATION_CREDENTIALS.
# 4. Configure environment
cp .env.example .env
# Edit .env with your Firebase project details
# 5. Start the server
npm start
# 6. Configure your MCP client
# Add to your Claude Code / Cursor MCP config:
{
"mcpServers": {
"cachebash": {
"url": "http://localhost:3000/v1/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
Set CACHEBASH_PROFILE=lite to serve the smaller tool set. The profile logic is in services/mcp-server/src/tools/index.ts. Deployment notes: docs/deployment.md.
Project structure
cachebash/
├── apps/
│ └── mobile/ # Mobile app (React Native + Expo)
├── services/
│ ├── mcp-server/ # MCP server (TypeScript, Cloud Run)
│ └── functions/ # Cloud Functions (auth, notifications, cleanup)
├── packages/
│ ├── cli/ # CLI tool (npx cachebash)
│ └── types/ # Shared TypeScript types
├── infra/ # Firebase rules and indexes
├── docs/ # Documentation
├── turbo.json # Turborepo build orchestration
└── package.json # npm workspaces root
More detail: docs/architecture.md
Contributing
The CacheBash MCP server is MIT licensed. Contributions are welcome.
git clone https://github.com/rezzedai/cachebash.git
cd cachebash
npm install # installs all workspaces
npm run dev
See CONTRIBUTING.md for guidelines.
Links
License
MIT. See LICENSE.
Built by Rezzed.ai
CacheBash MCPのよくある質問
CacheBash MCPをClaude Codeに追加するには
ターミナルでclaude mcp add --transport http cachebash https://cachebash-mcp-922749444863.us-central1.run.app/v1/mcpを実行します。すべてのプロジェクトで利用するには--scope userを追加します。
CacheBash MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
エージェントはどのように人間とやり取りしますか?
エージェントは質問や承認リクエストを送信でき、それらはモバイルアプリに表示されます。人間が回答を提供することで、エージェントは作業を継続できます。
複数のエージェントが同じタスクを確保することはできますか?
いいえ、Firestoreのトランザクション内で確保処理が行われるため、2つのエージェントが同時に同じタスクを確保することはありません。
永続的なメモリはサポートされていますか?
はい、各プログラムは異なるセッション間で状態、学習したパターン、およびメモリを保持します。