neuron-explorer
Qwen3.5‑4B 전용 조향형 뉴런 탐색기, 모든 MLP 뉴런을 밀어 결과를 보관·탐색
The Ultimate Multi-Agent MCP Hub & Go CLI connecting Claude Code, OpenAI Codex, and Google Antigravity
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
🚀 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 (OpenAI GPT-5.6 / GPT-6 Astra)
• Google Antigravity (Gemini 3.1 Pro / 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.README 전문 보기 ↗Centralize, enhance, and distribute high-performance MCP (Model Context Protocol) servers connecting the world's leading AI developer CLIs:
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
Explore the full interactive system architecture with Light/Dark themes and semantic tracing: 👉 View Interactive Architecture Diagram
@h0wzy/mcp-shared):
createMcpServer() engine manages 100% of JSON-RPC 2.0 stdio protocol handling, error catching, and lifecycle handshakes.PATH.split(':') by utilizing native path delimiters (; on Windows, : on POSIX)..exe, .cmd, .bat from PATHEXT), finding agy.exe and codex.cmd without requiring manual environment path overrides.npx Latency):
npx network/cache-checking delays.ResourceExhausted provider quota limits, returning structured { isError: true } responses so host agents fall back seamlessly without crashing the session.hmcp / h0wzy-mcp):
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.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
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
Download zero-dependency native binaries directly from Releases:
amd64): h0wzy-mcp-windows-amd64.exeamd64): h0wzy-mcp-linux-amd64arm64): h0wzy-mcp-darwin-arm64amd64): h0wzy-mcp-darwin-amd64The 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!
# 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
| Provider | Tool Name | Description |
|---|---|---|
| Antigravity | configure_antigravity | Session control. Inspect or switch active model and reasoning effort. Supports tiers (light, balanced, deep), explicit models, or custom efforts (low..max). Actions: get, set, reset, list. |
| Antigravity | ask_antigravity | Independent second opinion or general inquiry from Gemini 3.8 Flash / Pro |
| Antigravity | review_antigravity | Comprehensive code & security review inspecting correctness, edge cases, and diffs |
| Antigravity | brainstorm_antigravity | Architectural exploration, trade-offs, and design patterns with Gemini |
| Antigravity | plan_antigravity | Structured implementation roadmaps and dependency-ordered execution steps |
| Antigravity | delegate_antigravity | Edits files. Hands an implementation task to Antigravity inside cwd (prompt, cwd, optional paths, model, effort, timeout_minutes 1-60, default 30). Review the diff afterwards |
| Codex | configure_codex | Session control. Inspect or switch active model and reasoning effort. Supports tiers (light, balanced, deep), explicit models, or custom efforts (low..ultra). Actions: get, set, reset, . |
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 |
|---|---|---|---|---|
light | Quick lookups, summaries, trivial syntax checks | gemini-3.8-flash @ low | gpt-6-luna @ low | sonnet @ low |
balanced | Everyday coding, routine code reviews, checklists | gemini-3.8-flash @ medium | gpt-6-astra @ medium | opus @ medium |
deep | Complex refactors, architectural trade-offs, security audits | gemini-3.8-flash @ high | gpt-6-astra @ xhigh | fable @ high |
Every task execution appends a standardized verification footer confirming the active settings:
[codex · model=gpt-6-astra · effort=high · source=tier:deep]
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 using model[:effort] syntax (e.g. gpt-6-sol:high).CLAUDE_BRIDGE_ prefix (CLAUDE_BRIDGE_MODEL, CLAUDE_BRIDGE_MAX_TIER, …), plus CLAUDE_BRIDGE_MAX_TURNS and CLAUDE_BRIDGE_MAX_BUDGET_USD caps per call. The prefix is not CLAUDE_, because Claude Code exports CLAUDE_EFFORT and other CLAUDE_* 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.
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 | H0WZY_MCP_MAX_DEPTH |
| Calling back an agent already in the chain | refused | — | H0WZY_MCP_ALLOW_REVISIT=1 |
| Bridge calls per chain | 8 | 32 | H0WZY_MCP_MAX_CALLS |
| Chain deadline (children never outlive it) | 60 min | 240 min | H0WZY_MCP_DEADLINE_MINUTES |
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.--strict-mcp-config, Codex mcp_servers.<name>.enabled=false), and its prompt opens with its position in the chain.⛔ [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=1 keeps a JSON Lines log at ~/.h0wzy-mcp/chain.log (run id, agents, depth, outcome, duration; never prompt text).hmcp doctor lists every installed direction, the cycles they form, and the active limits.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 |
|---|---|---|
ask_claude (Haiku, one-line answer) | ~380k tokens of tool definitions, US$ 0.38 | US$ 0.004 |
ask_codex (one-line answer) | 37 s | 13 s |
--strict-mcp-config plus a temporary --mcp-config that lists only the bridges registered in your user config (~/.claude.json, user and local scope). A project's .mcp.json is never passed on, because Claude Code asks you before it starts those servers.-c mcp_servers.<name>.enabled=false for every server that isn't a bridge.~/.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 disable was not enough in agy 1.3.1.
ask_* / review_* / …, and delegate_antigravity), and a custom --agent with a tools list 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.agy mcp disable <server> fixes that case.--disallowedTools for delegate_* / configure_*, nested Codex gets them in disabled_tools, whatever permission mode your own settings give the nested run.H0WZY_MCP_USER_SERVERS=1 lets nested Claude Code and Codex load your own servers again. At the maximum depth they still get none.@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 skills
Then, in your usual interactive session:
| Harness | Start a team |
|---|---|
| Claude Code | /agent-team review the auth module with a Codex security reviewer and an Antigravity architect |
| Codex | $agent-team … |
| Antigravity | /agent-team … |
| Any | Plain language, e.g. "put Codex and Antigravity on this so you don't spend your own tokens" |
team_spawn returns at once. Each teammate has a role, a vendor and a tier, and is read-only unless spawned with can_edit. Editing teammates work in their own git worktree.team_wait: returns as soon as something happens, with compact results capped at 8,000 chars. Full outputs are read on demand with team_result, which keeps the lead's own token use low.H0WZY_TEAM_*). Every turn goes through the loop guard, and teammates can't start teams of their own.See servers/team/README.md for every tool and setting.
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>
~/.h0wzy-mcp/registry.json (or $H0WZY_MCP_REGISTRY), never in a repository. It holds names, targets and env var names, never secret values.--replace. Other keys you add to an entry (env, headers, …) are kept.--clients claude,codex keeps a server out of Antigravity, which calls its MCP tools without asking. --no-apply changes the registry only.H0WZY_MCP_USER_SERVERS=1 (see above).H0wZy/mcp is built with privacy and execution safety as first-class guarantees:
.claude.json, .codex/config.toml, .gemini/config/mcp_config.json) are secured with POSIX mode 0600 (0700 for directories) on Unix systems to prevent unauthorized local reading.For full audit methodology and double-check verification, read the Security Audit & Codebase Integrity Report.
# Run all Node.js MCP server & resilience tests
npm test
# Run all Go CLI detector & config tests
go test -v ./cli/...
Created and architected by Marcos (H0wZy) under the MIT License.
This project unifies and enhances foundational work from the open-source MCP community:
list| Codex | ask_codex | Cross-verification with OpenAI Codex (GPT-6-Astra by default). Read-only sandbox |
| Codex | review_codex | Structured repository code review from OpenAI Codex. Read-only sandbox |
| Codex | brainstorm_codex | Architectural exploration, trade-offs, and system design ideation with Codex |
| Codex | plan_codex | Step-by-step implementation planning and checklist generation |
| Codex | delegate_codex | Edits files. Hands an implementation task to Codex inside cwd (workspace-write sandbox; prompt, cwd, optional paths, model, effort, timeout_minutes 1-60, default 30). Review the diff afterwards |
| Claude Code | configure_claude | Session control. Same actions and tiers as the others; models are Claude Code aliases (opus, sonnet, haiku, fable) or full ids. |
| Claude Code | ask_claude | Second opinion from Claude Code. Read-only: only Read, Grep and Glob exist in the session |
| Claude Code | review_claude | Structured code review. Read-only |
| Claude Code | brainstorm_claude | Architectural alternatives and trade-offs. Read-only |
| Claude Code | plan_claude | Dependency-ordered implementation plan. Read-only |
| Claude Code | delegate_claude | Edits files. Hands a task to Claude Code inside cwd: edits are auto-approved, anything else that would ask is denied, so it never waits on a prompt |