什么是 CacheBash?
让不同 AI sessions 彼此通信,提供 messaging、tasks、sessions 与 alerts 等能力。
README
CacheBash
The coordination layer between your AI coding agents and your phone.
Your AI agents can't reach you when you close the laptop. CacheBash connects them. Task queues, relay messaging, session monitoring, human-in-the-loop approvals. One MCP server. Every client that speaks the protocol.
The Problem
You're running AI agents in your terminal. They write code, run tests, make decisions. But the moment they need your input, everything stops. You're at lunch. You closed the laptop. You're in a meeting.
Your agents can't coordinate with each other without you copying context between sessions. They can't ask you a question unless you're staring at the terminal. They can't run overnight because nobody's there to answer when they get stuck.
The Fix
npx cachebash init
One command. Authenticates via browser. Injects the MCP config into your Claude Code, Cursor, or VS Code setup. Done. Under 60 seconds.
Open the mobile app. Your agents appear. Send tasks, answer questions, monitor sessions — all from your phone.
What It Does
Task Queues — Dispatch work from your phone. Your agent picks it up in the terminal. Create tasks while you're away from your desk. Agents execute when they check in.
Relay Messaging — Your agents talk to each other through CacheBash. Agent A creates a task. Agent B claims it. Direct messaging, multicast to groups, delivery confirmation. No copy-paste. No you in the middle.
Session Monitoring — See which agents are running, what they're working on, how far along they are. Real-time updates. Push notifications when something needs your attention.
Human-in-the-Loop — Agent needs a decision? Your phone buzzes. Read the context. Tap to respond. The agent continues. You never opened a laptop.
Dream Mode — Dispatch work before bed. Set budget caps. Agents execute autonomously overnight. Wake up to pull requests, not a blank terminal.
Sprint Orchestration — Group related tasks into sprints with wave-based execution. Define dependencies between stories. Track progress across parallel workstreams.
Supported Clients
| Client | Status |
|---|---|
| Claude Code | Supported |
| Cursor | Supported |
| VS Code + Copilot | Supported |
| Gemini CLI | Supported |
| Any MCP-compatible client | Supported |
CacheBash uses Streamable HTTP transport with Bearer token auth. Standard MCP protocol. No vendor lock-in.
34 MCP Tools
Organized into 8 modules:
| Module | What It Does | Tools |
|---|---|---|
| Dispatch | Task lifecycle — create, claim, complete, query | create_task, get_tasks, claim_task, complete_task |
| Relay | Inter-agent messaging with delivery confirmation | send_message, get_messages, get_sent_messages, query_message_history |
| Pulse | Session health — create, update, list, heartbeat | create_session, update_session, list_sessions |
| Sprint | Parallel work orchestration with dependencies | create_sprint, update_sprint_story, add_story_to_sprint, complete_sprint, get_sprint |
| Signal | Push notifications and mobile questions | ask_question, get_response, send_alert |
| Dream | Autonomous overnight execution with budget caps | dream_peek, dream_activate |
| State | Persistent per-program memory across sessions | get_program_state, update_program_state |
| Keys | API key lifecycle — create, revoke, list | create_key, revoke_key, list_keys |
| Observability | Audit logs, metrics, cost tracking, traces | get_audit, get_comms_metrics, get_cost_summary, get_operational_metrics, query_traces |
Full reference: docs.rezzed.ai
Quick Start
Hosted (Recommended)
# 1. Install and authenticate
npx cachebash init
# 2. Verify connection
cachebash ping
# 3. Open the mobile app — your agent appears
The hosted version runs on Google Cloud. Free tier: 3 programs, 500 tasks/month, 1 concurrent session.
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, enable Firestore
# Download service account key → 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"
}
}
}
}
Architecture
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Claude Code │ │ Cursor │ │ VS Code │
└──────┬───────┘ └──────┬───────┘ └──────┬───────┘
│ │ │
└────────────┬────┴────────────────┘
│ MCP Protocol
▼
┌─────────────────┐
│ CacheBash MCP │
│ Server │
│ (Cloud Run) │
└────────┬────────┘
│
┌────────┴────────┐
│ │
▼ ▼
┌────────────┐ ┌────────────┐
│ Firestore │ │ Mobile App │
│ (Storage) │ │ (iOS/And) │
└─────────────┘ └────────────┘
- MCP Server: TypeScript, runs on Cloud Run (or any Node.js host)
- Storage: Google Cloud Firestore (multi-tenant, per-user isolation)
- Auth: Firebase Auth (GitHub + Google OAuth) + per-program API keys
- Mobile: React Native + Expo (iOS + Android)
- Transport: Streamable HTTP with Bearer token auth
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
Pricing
| Free | Pro | Team | |
|---|---|---|---|
| Price | $0 | $29/mo | $99/mo |
| Programs | 3 | Unlimited | Unlimited |
| Tasks/month | 500 | Unlimited | Unlimited |
| Concurrent sessions | 1 | 5 | 10 |
You bring the models. CacheBash runs the orchestra. We never touch your LLM API keys.
Free tier is real. 500 tasks/month runs a serious workflow. Upgrade when you outgrow it.
Contributing
CacheBash MCP server is MIT licensed. Contributions welcome.
# Set up development environment
git clone https://github.com/rezzedai/cachebash.git
cd cachebash
npm install # installs all workspaces
npm run dev
See CONTRIBUTING.md for guidelines.
Links
- Documentation
- Mobile App (iOS) (coming soon)
- Mobile App (Android) (coming soon)
- Privacy Policy
- Blog
License
MIT — see LICENSE
Built by Rezzed.ai
常见问题
CacheBash 是什么?
让不同 AI sessions 彼此通信,提供 messaging、tasks、sessions 与 alerts 等能力。
相关 Skills
MCP构建
by anthropics
聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。
✎ 想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。
Slack动图
by anthropics
面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。
✎ 帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。
邮件模板
by alirezarezvani
快速搭建生产可用的事务邮件系统:生成 React Email/MJML 模板,接入 Resend、Postmark、SendGrid 或 AWS SES,并支持本地预览、i18n、暗色模式、反垃圾优化与追踪埋点。
✎ 面向营销与服务场景,快速搭建高质量邮件模板,省去反复设计与切图成本,成熟度和社区认可都很高。
相关 MCP Server
Slack 消息
编辑精选by Anthropic
Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。
✎ 这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。
by netdata
io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。
✎ 这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。
by d4vinci
Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。
✎ 这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。