@h0wzy/mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@h0wzy/mcpHave Claude, Codex, and Antigravity review my current branch"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π H0wZy/mcp β The Ultimate Multi-Agent MCP Hub & Go CLI
Centralize, enhance, and distribute high-performance MCP (Model Context Protocol) servers connecting the world's leading AI developer CLIs:
Claude Code (Anthropic)
OpenAI Codex CLI (GPT-6 family, default GPT-6-Astra)
Google Antigravity (Gemini, default Gemini 3.8 Flash)
Cross-model code reviews, independent second opinions, and autonomous multi-agent validation β configured effortlessly via an interactive Golang TUI CLI and distributed via standalone binaries and npx @h0wzy/mcp.
π·οΈ #mcp #ai-agents #multi-agent #antigravity #claude-code #openai-codex #gemini #cli #go #bubbletea #tui #developer-tools #model-context-protocol
ποΈ Interactive Architecture Diagram
Explore the full interactive system architecture with Light/Dark themes and semantic tracing: π View Interactive Architecture Diagram
Related MCP server: forge-mcp
π Why H0wZy/mcp?
DRY Shared Core (
@h0wzy/mcp-shared):Eliminates matrix code duplication across host agents. A single
createMcpServer()engine manages 100% of JSON-RPC 2.0 stdio protocol handling, error catching, and lifecycle handshakes.
Native Cross-Platform (Zero Windows Glitches):
Eliminates POSIX-only bugs like
PATH.split(':')by utilizing native path delimiters (;on Windows,:on POSIX).Resolves executable extensions automatically (
.exe,.cmd,.batfromPATHEXT), findingagy.exeandcodex.cmdwithout requiring manual environment path overrides.
Instant Performance (Zero
npxLatency):Directly executes local binaries with sub-50ms invocation overhead, removing runtime
npxnetwork/cache-checking delays.
Resilient Rate Limits & Quotas:
Gracefully traps HTTP 429 and
ResourceExhaustedprovider quota limits, returning structured{ isError: true }responses so host agents fall back seamlessly without crashing the session.
Interactive Go CLI (
hmcp/h0wzy-mcp):Auto-detects local CLI installations (
claude,codex,agy), tests binary health, checks for updates, and guides the user through an interactive checklist to configure MCP connections globally or per-project.
π Repository Layout
H0wZy/mcp/
βββ .github/workflows/ # CI/CD pipelines & cross-platform testing
βββ cli/ # Interactive CLI in Go (Bubble Tea / Lip Gloss)
β βββ cmd/ # Commands: doctor, install, list, remove, setup-path, upgrade, version
β βββ config/ # Read/write ~/.claude.json, config.toml, and mcp_config.json
β βββ detector/ # Discovers local claude, codex, and agy CLIs + health checks
β βββ ui/ # Terminal user interface, lilac ASCII banner, and interactive TUI
β βββ version/ # Background update detector & registry version cache
βββ servers/ # Decoupled, host-agnostic MCP servers
β βββ antigravity/ # Google Antigravity bridge (Gemini, default 3.8 Flash)
β βββ claude/ # Claude Code bridge (default opus), so Codex/Antigravity can call Claude
β βββ codex/ # OpenAI Codex CLI bridge (GPT-6, default Astra)
βββ shared/ # Reusable core (@h0wzy/mcp-shared)
β βββ server.js # createMcpServer() generic JSON-RPC 2.0 stdio engine
β βββ chain-guard.js # Loop guard: depth, cycles, call budget, deadline (spec 006)
β βββ ancestry.js Β· l1.js # Nesting fallback via process ancestry Β· start agents without bridge tools
β βββ configure-tool.js # The configure_<agent> tool shared by every bridge
β βββ executor.js # Child process runner: timeouts, tree kill, cancel, output cap
β βββ validate.js # cwd / paths / timeout validation for agent command lines
β βββ agent-config.js # Model & reasoning-effort catalogs, tiers and ceilings
β βββ resolver.js # Cross-platform executable resolver
β βββ errors.js # Resilient Quota, HTTP 429 handler & secret/token sanitizer
βββ npm/ # Lightweight npx runner wrapper & cross-platform binary installer
βββ specs/ # SpecKit feature specs & Archify diagrams
βββ test/ # Node.js integration & security resilience tests
βββ SECURITY_AUDIT.md # Security audit, credential double-check & hardening report
βββ LICENSE # MIT License
βββ package.json # Monorepo workspaces configurationπ Quick Start
1. Interactive Setup (Recommended)
Choose your preferred way to run H0wZy/mcp:
# 1. Instant execution via npx (Zero setup):
npx @h0wzy/mcp
# 2. Or install globally via npm (provides 'hmcp', 'hwzmcp', and 'h0wzy-mcp'):
npm install -g @h0wzy/mcp
hmcp
# 3. Or directly from source with Go:
go run ./cli setup-path
hmcpπ¦ Precompiled Standalone Binaries (v1.0.7)
Download zero-dependency native binaries directly from Releases:
πͺ Windows (
amd64):h0wzy-mcp-windows-amd64.exeπ§ Linux (
amd64):h0wzy-mcp-linux-amd64π macOS Apple Silicon (
arm64):h0wzy-mcp-darwin-arm64π macOS Intel (
amd64):h0wzy-mcp-darwin-amd64
The CLI will scan your system:
π H0wZy/mcp β Multi-Agent MCP Hub Setup
Scanning local AI developer CLIs...
β Claude Code (C:\Users\...\claude.exe)
β OpenAI Codex CLI (C:\Users\...\codex.cmd)
β Google Antigravity (C:\Users\...\agy.exe)
? Select MCP bridges to configure:
[x] Claude Code -> Google Antigravity (Gemini)
[x] Claude Code -> OpenAI Codex (GPT-6)
[ ] OpenAI Codex -> Google Antigravity (Gemini)
? Configuration Scope: User (Global across all projects)
? Apply configuration now? Yes
β
All selected bridges configured successfully!2. Commands & Management
# Launch interactive TUI setup and configuration
hmcp
# Check version and verify if updates are available
hmcp version
# Upgrade hmcp to latest release (or 'hmcp update')
hmcp upgrade
# Windows, upgrading FROM v1.0.6 or older: those versions can't replace the running
# hmcp.exe, yet still print "Successfully upgraded". Upgrade through another alias,
# then check with 'hmcp version':
h0wzy-mcp upgrade --force
# Setup PATH and shims (~/.local/bin) so 'hmcp', 'hwzmcp', and 'h0wzy-mcp' work everywhere
hmcp setup-path
# Diagnose local environment, paths, and agent communication health
hmcp doctor
# Diagnose and output as JSON ({ tools, bridges, cycles, guard })
hmcp doctor --json
# Install all supported integrations automatically (asks before creating cycles;
# non-interactive runs skip cycle-forming directions unless --allow-cycles is given)
hmcp install --all
hmcp install --all --allow-cycles
# Install a specific bridge globally or locally
hmcp install claude-antigravity --scope user
hmcp install claude-codex --scope project
hmcp install codex-claude # Codex β Claude Code
hmcp install antigravity-claude # Antigravity β Claude Code
# List available bridges
hmcp list
# Remove an integration
hmcp remove claude-antigravityπ Available MCP Tools (Symmetrical Parity)
Provider | Tool Name | Description |
Antigravity |
| Session control. Inspect or switch active model and reasoning effort. Supports tiers ( |
Antigravity |
| Independent second opinion or general inquiry from Gemini 3.8 Flash / Pro |
Antigravity |
| Comprehensive code & security review inspecting correctness, edge cases, and diffs |
Antigravity |
| Architectural exploration, trade-offs, and design patterns with Gemini |
Antigravity |
| Structured implementation roadmaps and dependency-ordered execution steps |
Antigravity |
| Edits files. Hands an implementation task to Antigravity inside |
Codex |
| Session control. Inspect or switch active model and reasoning effort. Supports tiers ( |
Codex |
| Cross-verification with OpenAI Codex (GPT-6-Astra by default). Read-only sandbox |
Codex |
| Structured repository code review from OpenAI Codex. Read-only sandbox |
Codex |
| Architectural exploration, trade-offs, and system design ideation with Codex |
Codex |
| Step-by-step implementation planning and checklist generation |
Codex |
| Edits files. Hands an implementation task to Codex inside |
Claude Code |
| Session control. Same actions and tiers as the others; models are Claude Code aliases ( |
Claude Code |
| Second opinion from Claude Code. Read-only: only |
Claude Code |
| Structured code review. Read-only |
Claude Code |
| Architectural alternatives and trade-offs. Read-only |
Claude Code |
| Dependency-ordered implementation plan. Read-only |
Claude Code |
| Edits files. Hands a task to Claude Code inside |
ποΈ Dynamic Model & Reasoning Effort Control
Claude Code can now autonomously (or on request) escalate or de-escalate reasoning power according to task complexity:
Tier | Task Type Fit | Antigravity Default | Codex Default | Claude Code Default |
| Quick lookups, summaries, trivial syntax checks |
|
|
|
| Everyday coding, routine code reviews, checklists |
|
|
|
| Complex refactors, architectural trade-offs, security audits |
|
|
|
Every task execution appends a standardized verification footer confirming the active settings:
[codex Β· model=gpt-6-astra Β· effort=high Β· source=tier:deep]
Developer Ceilings & Environment Overrides
To keep resource and quota consumption under strict developer control, set optional ceilings in your client's environment:
AGY_MAX_EFFORT/CODEX_MAX_EFFORT: Clamps reasoning effort to a maximum level (e.g.medium).AGY_MAX_TIER/CODEX_MAX_TIER: Clamps autonomous model escalation to a maximum tier (e.g.balanced).AGY_TIER_LIGHT/CODEX_TIER_DEEP: Override default tier mappings usingmodel[:effort]syntax (e.g.gpt-6-sol:high).Claude Code bridge: the same settings with the
CLAUDE_BRIDGE_prefix (CLAUDE_BRIDGE_MODEL,CLAUDE_BRIDGE_MAX_TIER, β¦), plusCLAUDE_BRIDGE_MAX_TURNSandCLAUDE_BRIDGE_MAX_BUDGET_USDcaps per call. The prefix is notCLAUDE_, because Claude Code exportsCLAUDE_EFFORTand otherCLAUDE_*variables to its children.
Delegation tools write to disk.
delegate_codexanddelegate_antigravityrun the agent inside the givencwdand may create or modify files. They never commit for you: always review the resulting diff (git diff) before keeping the changes.Startup defaults: Antigravity tools default to
Gemini 3.8 Flash (High)(override withAGY_MODEL/AGY_EFFORT). Codex tools default togpt-6-astraatmediumeffort (override withCODEX_MODEL/CODEX_EFFORT). Codex's read-only tools run in Codex'sread-onlysandbox, and Antigravity's run without auto-approval, so actions that need approval are skipped; only thedelegate_*tools can write.
π‘οΈ Loop Guard (agents calling agents)
With bridges in every direction, Codex can ask Antigravity, which asks Claude, which asks Codex⦠Every bridge runs the same guard before it starts an agent:
Rule | Default | Hard cap | Setting |
Max depth (A β B β C, then stop) | 2 | 4 |
|
Calling back an agent already in the chain | refused | β |
|
Bridge calls per chain | 8 | 32 |
|
Chain deadline (children never outlive it) | 60 min | 240 min |
|
Each top-level call starts its own chain. The chain context travels to child agents in
H0WZY_MCP_*variables. When a host strips them (Codex forwards only allow-listed variables), the bridge still finds its chain through a registry of running bridge-started agents (~/.h0wzy-mcp/) and its process ancestry. If it can't tell, it refuses.No bridge tools at the maximum depth. An agent started there gets no bridge tools where its CLI allows it (Claude Code
--strict-mcp-config, Codexmcp_servers.<name>.enabled=false), and its prompt opens with its position in the chain.Refusals start nothing. They come back as
β [Loop guard: β¦]errors that tell the calling agent to finish the work itself. Every reply ends with a trace line such as[chain claudeβcodex Β· depth 1/2 Β· calls 1/8 Β· run a1b2c3d4].H0WZY_MCP_CHAIN_LOG=1keeps a JSON Lines log at~/.h0wzy-mcp/chain.log(run id, agents, depth, outcome, duration; never prompt text).hmcp doctorlists every installed direction, the cycles they form, and the active limits.
What an agent started by a bridge loads
A nested agent gets the mesh bridges (codex, antigravity, claude) and none of your other MCP servers. Measured on a real setup (11 MCP servers plus the claude.ai connectors in Claude Code, 11 servers in Codex):
Call | All your MCP servers | Mesh only |
| ~380k tokens of tool definitions, US$ 0.38 | US$ 0.004 |
| 37 s | 13 s |
Claude Code runs with
--strict-mcp-configplus a temporary--mcp-configthat lists only the bridges registered in your user config (~/.claude.json, user and local scope). A project's.mcp.jsonis never passed on, because Claude Code asks you before it starts those servers.Codex runs with
-c mcp_servers.<name>.enabled=falsefor every server that isn't a bridge.Antigravity has no per-call switch, so it always loads every server in
~/.gemini/config/mcp_config.json, and it waits until all of them have connected before it starts. If an Antigravity call returnsβ±οΈ Antigravity did not finishβ¦and names a server it was waiting for, bring that server back online or remove it (agy mcp remove <name>);agy mcp disablewas not enough in agy 1.3.1.β οΈ Antigravity can call those servers' tools without asking. In agy 1.3.1 an MCP tool runs without a permission prompt in every mode the bridge uses (read-only
ask_*/review_*/ β¦, anddelegate_antigravity), and a custom--agentwith atoolslist does not restrict it. If your agy config has servers that publish, spend credits or drive other apps (a shop, a video generator, Blender, Unityβ¦), any Antigravity bridge call or agy teammate can reach them. Keep such servers out of agy's config, or don't install the Antigravity bridge on that machine.If agy rejects one MCP tool's schema, every call fails at once; the bridge's error names the tool.
agy mcp disable <server>fixes that case.
Read-only calls never reach the bridges' editing tools: nested Claude Code gets
--disallowedToolsfordelegate_*/configure_*, nested Codex gets them indisabled_tools, whatever permission mode your own settings give the nested run.H0WZY_MCP_USER_SERVERS=1lets nested Claude Code and Codex load your own servers again. At the maximum depth they still get none.
π₯ Agent Teams across vendors (spec 007)
@h0wzy/mcp-server-team lets any of the three agents lead a team whose teammates are any mix of Claude Code, Codex and Antigravity. It works like Claude Code's Agent Teams, but across vendors:
hmcp install team # team server in every detected CLI + the agent-team skill where each one finds skillsThen, in your usual interactive session:
Harness | Start a team |
Claude Code |
|
Codex |
|
Antigravity |
|
Any | Plain language, e.g. "put Codex and Antigravity on this so you don't spend your own tokens" |
Background teammates:
team_spawnreturns at once. Each teammate has a role, a vendor and a tier, and is read-only unless spawned withcan_edit. Editing teammates work in their own git worktree.Shared task list: tasks have dependencies, and claims are atomic. Teammates claim the next task themselves, and the orchestrator owns every status change.
Messages: teammates message each other or the lead by name, and an idle teammate wakes for one turn.
team_wait: returns as soon as something happens, with compact results capped at 8,000 chars. Full outputs are read on demand withteam_result, which keeps the lead's own token use low.Hard limits: 3 teammates, 10 turns each, 30 in total, 60 min (
H0WZY_TEAM_*). Every turn goes through the loop guard, and teammates can't start teams of their own.Lean teammates: like any agent a bridge starts, Claude Code and Codex teammates load only the mesh bridges, not your other MCP servers (see above).
See servers/team/README.md for every tool and setting.
ποΈ Your own MCP servers (spec 008)
hmcp registry keeps one list of the MCP servers you build or run, and writes each into Claude Code (user scope), Codex and Antigravity. Move a server once, and every agent follows:
hmcp registry add my-server --url http://<host>:<port>/my-server/mcp
hmcp registry add my-local-server --env MY_TOKEN -- node <path>/server.js --stdio
hmcp registry update my-local-server -- node <new path>/server.js --stdio # every client follows
hmcp registry status # in sync / differs / missing, and whether URLs answer
hmcp registry apply [nameβ¦] [--codex-project] [--replace]
hmcp registry list | remove <name>Private by design: the registry lives in
~/.h0wzy-mcp/registry.json(or$H0WZY_MCP_REGISTRY), never in a repository. It holds names, targets and env var names, never secret values.Only what it manages: hmcp touches only the client entries it wrote or adopted. A hand-made entry with the same target is adopted, and one that points elsewhere is reported as a conflict until you pass
--replace. Other keys you add to an entry (env,headers, β¦) are kept.--clients claude,codexkeeps a server out of Antigravity, which calls its MCP tools without asking.--no-applychanges the registry only.Agents started by a bridge don't load these servers unless
H0WZY_MCP_USER_SERVERS=1(see above).
π Security & Privacy
H0wZy/mcp is built with privacy and execution safety as first-class guarantees:
Automatic Token Redaction: Built-in regex sanitizers proactively scrub OpenAI keys, Google Gemini keys, GitHub/NPM tokens, and Bearer authorization headers before errors or diagnostic messages reach host agents.
Owner-Only File Permissions: Configuration files (
.claude.json,.codex/config.toml,.gemini/config/mcp_config.json) are secured with POSIX mode0600(0700for directories) on Unix systems to prevent unauthorized local reading.Atomic Precompiled Downloads: The npm binary installer streams release archives to unique temporary files and validates payloads before atomic renames, preventing corrupt or truncated executables.
For full audit methodology and double-check verification, read the Security Audit & Codebase Integrity Report.
π§ͺ Testing
# Run all Node.js MCP server & resilience tests
npm test
# Run all Go CLI detector & config tests
go test -v ./cli/...π License & Acknowledgements
Created and architected by Marcos (H0wZy) under the MIT License.
This project unifies and enhances foundational work from the open-source MCP community:
antigravity-claude-mcp by Arjun Thilak (MIT License)
codex-mcp-tool by Taras Trishchuk (MIT License)
This server cannot be deployed
Maintenance
Related MCP Connectors
One MCP endpoint for Claude, GPT & Gemini: 100+ tools + no-code connectors + agent workers.
Coordinate coding agents through MCP using existing AI plans, saved work, and independent checks.
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
Real-time chat for AI agents. Claude Code, Cursor, Cline and Codex join channels over MCP.
Related MCP Servers
- AlicenseBqualityFmaintenanceEnables orchestrating multiple AI CLI agents (Claude Code, Codex, Gemini CLI, Copilot CLI) through a unified MCP interface for task delegation, cross-agent comparison, and specialized tools like code review and debugging.1417 npm14MIT
- AlicenseNot gradedqualityBmaintenanceProvides MCP tools for AI-powered code review, research, and book writing via a fleet of coding agents.Apache 2.0
- AlicenseNot gradedqualityBmaintenanceMCP servers that let Claude Code delegate to other coding CLIs (Copilot, Codex, Gemini) for cross-model second opinions, structured reviews, and multi-engine consultations.MIT

forge-orchestratorofficial
FlicenseNot gradedqualityAmaintenanceEnables orchestrating multiple AI coding tools (Claude Code, Codex CLI, Gemini CLI) on shared repositories with file locking, knowledge capture, task planning, and drift detection via an MCP server.162-