Install
$ agentstack add mcp-abhiunix-agentharbor β scanned Β· β verified, works with Claude Code, Cursor, and more.
Security review
β PassedNo issues found. Passed automated security review. Β· v0.1.0 How review works β
- β Prompt-injection patterns
- β Secret / credential exfiltration
- β Dangerous shell & filesystem operations
- β Untrusted network calls
- β Known-malicious package signatures
What it can access
- β Network access No
- β Filesystem access No
- β Shell / process execution No
- β Environment & secrets No
- β Dynamic code execution No
From automated source analysis of v0.1.0. βUsedβ means the capability is present in the source β more access means more to trust, not that itβs unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work βAbout
AgentHarbor
One tray app to manage all your AI coding agents.
For developers running Claude Code, Cursor, Codex, Gemini CLI, or Windsurf: track usage and spend, manage configurations, deploy capabilities, and keep every tool in sync β all from one native app.
[](https://github.com/abhiunix/AgentHarbor/releases/latest) [](https://github.com/abhiunix/AgentHarbor/releases) [](https://github.com/abhiunix/AgentHarbor/releases/latest) [](https://github.com/abhiunix/AgentHarbor/releases/latest) [](LICENSE)
[](https://tauri.app) [](https://www.rust-lang.org) [](https://react.dev) [](https://www.typescriptlang.org) [](https://tailwindcss.com)
Website Β· Download Β· [Getting Started](docs/getting-started.md) Β· [Features](docs/features.md) Β· [Docs](docs/)
What is it?
AgentHarbor is an AI coding agent manager β a native tray app for macOS and Windows that sits quietly in your menu bar / system tray while you code. It shows you real-time rate limits, session usage, and monthly spend for every AI provider you use β without opening a browser or running CLI commands. When you want to deploy an MCP server, rule, skill, or sub-agent across Claude Code, Cursor, and Windsurf at once, a guided wizard handles the diffs, backups, and atomic writes for you.
Why AgentHarbor?
Tools like ccusage and Claude Code Usage Monitor do one job very well: if you want a terminal-based Claude Code usage monitor, use them. AgentHarbor is built for a different job β an always-on desktop app that watches all your providers and also manages the config files they read.
| | AgentHarbor | ccusage | Claude Code Usage Monitor | |---|---|---|---| | Interface | Native tray app (macOS / Windows) | CLI | Terminal UI | | Providers | Claude Code, Cursor, Codex, Gemini CLI, Windsurf | Claude Code | Claude Code | | Spend tracking | Per-provider, incl. API-equivalent cost engine | Claude Code cost reports | Claude Code cost projections | | MCP / rules / skills / sub-agent deploy | β guided wizard with diffs, backups, undo | β | β | | Drift detection | β hash-based, with side-by-side review | β | β | | Local-only (no telemetry) | β | β | β |
Features
- Live tray analytics β menu-bar metric updates every ~120 s: session percentage, monthly spend, quota bars β whichever is most relevant for each provider.
- Limit-state ladder β tracks
Unauthenticated β ApiDisabled β BillablePaused β SubscriptionIssue β RateLimited β Reached β Approaching β Healthyand surfaces native macOS notifications on transitions. - Deploy wizard β syntax-highlighted split/unified diffs, per-file
Replace / Merge / Appendstrategy, automatic backups before every write. - Undo Deploy β one click restores the pre-deploy snapshot from the backup store.
- Presets β bundle any set of capabilities for one-click deploy; ships with
Full-Stack WebandData Scienceexamples. - Drift detection β keeps MCP config sync honest across editors: detects when a teammate or another tool changes a managed file and shows a side-by-side diff with Accept or Restore.
- Cost engine β per-model API-equivalent costs for Claude (Opus / Sonnet / Haiku) and Codex (GPT-5 / 4 / 3.5), token-deduplicated across session windows.
- Secrets manager β stores sensitive env vars in the macOS Keychain and injects them into MCP
envblocks at deploy time. - Auto-update β Tauri updater checks GitHub Releases every 4 hours; in-app banner with one-click install and optional 24 h snooze.
- Native macOS β Keychain integration, system tray popover with click-through, optional menu-bar-only mode, native notifications.
Supported providers
| Provider | Analytics | Rate limits / spend | Deploy targets | |---|---|---|---| | Claude Code | Full (Pro / Max / Enterprise) | Session 5h, Weekly, Sonnet/Opus, monthly $ | MCP, skills, rules, hooks, agents | | Cursor | Full | Plan included + bonus + on-demand $, team OD | MCP, rules, agents | | Codex (OpenAI) | Full | Primary 5h, Weekly 7d, per-model $ | MCP, skills | | Gemini CLI | Quota | Pro β Flash β Flash Lite tier waterfall | Skills, hooks, agents | | Windsurf | Config | β | MCP, rules | | GitHub Copilot | β | β | Skills | | VS Code | β | β | Skills | | Antigravity | β | β | Skills | | JetBrains | Coming soon | | | | Amp | Coming soon | | | | Kiro | Coming soon | | |
Cursor spend tracking covers the full picture β plan-included, bonus, and on-demand usage β not just a single total. See [Analytics & Tray](docs/analytics.md) for how each metric is derived.
Installation
> macOS 13+ Β· Apple Silicon Β· Signed with Apple Developer ID and notarized.
- Download the latest DMG: AgentHarbor β latest release
- Pick
AgentHarbor__aarch64.dmg.
- Open the DMG and drag AgentHarbor.app into Applications.
- Launch from Spotlight or
/Applications.
If macOS flags it as "damaged" (rare, caused by quarantine attribute surviving an unusual download path):
xattr -cr /Applications/AgentHarbor.app
Windows 10/11 Β· x64
- Download
AgentHarbor__x64-setup.exe(NSIS, friendlier wizard) orAgentHarbor__x64_en-US.msi(MSI, enterprise-deployable) from the latest release. - Run the installer β it adds a Start menu shortcut (search AgentHarbor) and registers under Settings β Apps β Installed apps. Per-user install, no admin required.
> First-run note: the Windows installer is currently unsigned, so Windows SmartScreen will show "Windows protected your PC". Click More info β Run anyway. A code-signing cert is on the roadmap.
On Windows the tray popover anchors above the system tray (clamped to the monitor). The tray icon shows the active provider's logo; hover reveals the current spend (Provider Β· $X.YZ) in the tooltip β Windows tray icons can't show inline text the way macOS NSStatusItem can, so the spend lives in the hover tooltip.
Linux β Coming soon.
Tray metric quick reference
| Provider | Menu-bar title | Source | |---|---|---| | Claude Code Pro/Max | XX% of active Session (5h), fallback to Weekly | /api/oauth/usage | | Claude Code Enterprise | $N total spend this cycle | /api/oauth/usage extra_usage | | Cursor | $N total spend = included + bonus + on-demand | Cursor API | | Codex | XX% of Primary (5h) WHAM window | OpenAI wham | | Gemini CLI | XX% of highest-priority tier with quota remaining | Cloud Code Assist |
The icon swaps to its red variant and appends ! whenever the active provider is in any non-healthy state.
Documentation
| Document | Contents | |---|---| | [Features](docs/features.md) | Visual tour of every major feature | | [Getting Started](docs/getting-started.md) | Install, first launch, connect providers, first deploy | | [Analytics & Tray](docs/analytics.md) | Menu-bar metrics, tray popover, LimitState ladder, per-provider pages | | [Deploying Capabilities & Agents](docs/deploying-capabilities.md) | Deploy wizard, presets, backups, drift detection, removing capabilities | | [Build & Release](docs/build-and-release.md) | Local dev, signed builds, release checklist | | [Troubleshooting](docs/troubleshooting.md) | Common issues and fixes | | [Regression Checklist](docs/regression-checklist.md) | QA checklist before every release |
Privacy
AgentHarbor is local-only. The only outbound network calls it makes are to each provider's official API endpoints using your OAuth tokens. No telemetry, no analytics pings, no data leaves your machine.
Local files (Claude project JSONLs, Gemini telemetry) are read with file-share-friendly opens and never copied off-disk.
Tech stack
| Layer | Technology | |---|---| | Framework | [](https://tauri.app) | | Backend | [](https://www.rust-lang.org) Β· reqwest, serde, keyring, chrono | | Frontend | [](https://react.dev) [](https://www.typescriptlang.org) [](https://vite.dev) | | Styling | [](https://tailwindcss.com) Β· dark theme | | State | [](https://zustand-demo.pmnd.rs) | | Build target | macOS aarch64 + Windows x64 |
Development
npm install
npm run tauri dev # hot reload dev
npm run test:regression # tsc + vite build + cargo test
For signed/notarized release builds, see [docs/build-and-release.md](docs/build-and-release.md).
Project layout
agentharbor/
βββ src/ React frontend
β βββ components/ UI (tray, registry, deploy, settings, analytics)
β βββ pages/ Route pages
β βββ stores/ Zustand state
β βββ lib/ Tauri IPC, types, utilities
β βββ hooks/ Custom hooks
βββ src-tauri/ Rust backend
β βββ src/
β β βββ analytics/ Per-provider analytics + tray commands
β β βββ adapters/ Adapter implementations (Claude/Cursor/Windsurf/β¦)
β β βββ commands/ Tauri IPC commands
β β βββ registry/ Capability registry loader & validator
β β βββ utils/ File I/O, keychain, paths, drift, manifest, backup
β β βββ tray.rs System tray
β β βββ lib.rs App setup & command registration
β βββ tauri.conf.json
βββ registry/ Bundled capability/agent definitions
βββ docs/ User & contributor docs
βββ scripts/ bump-build, clear-quarantine, tauri-wrapper
βββ public/ Static assets served by Vite
Star History
Contributing
Contributions are welcome β bug fixes, new registry capabilities, provider analytics, or docs improvements.
See [CONTRIBUTING.md](CONTRIBUTING.md) for the full guide: dev setup, code standards, adding registry entries, PR checklist, and commit conventions.
License
MIT β see [LICENSE](LICENSE).
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source β we do not rehost the code.
- Author: abhiunix
- Source: abhiunix/AgentHarbor
- License: MIT
- Homepage: https://agentharbor.openxsecurity.com
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.