A community-driven registry for the Claude Code ecosystem. Not affiliated with Anthropic.
Are you the author? Sign in to claim
A lightweight MCP bridge that lets Claude Code delegate heavy tasks to the Antigravity CLI - saving context window and t
A lightweight MCP bridge that lets Claude Code delegate heavy tasks to the Antigravity CLI (agy) - saving context window and tokens for what matters.
Registers a delegate_to_agy MCP tool that Claude automatically uses when it encounters:
git log, git diff, grepClaude sends a prompt + file paths → the bridge runs agy CLI → returns the result.
agy CLI installed and authenticated# 1. Clone anywhere on your machine
git clone https://github.com/rauls-kjarners/claude-to-agy.git ~/.claude-to-agy
# 2. Install dependencies via uv
cd ~/.claude-to-agy
uv sync
# 3. Register the MCP server (global - works in any project)
claude mcp add -s user claude-to-agy uv run --directory ~/.claude-to-agy claude-to-agy
# 4. Copy the rules file into any project where you want delegation
cp ~/.claude-to-agy/CLAUDE.md /path/to/your/project/CLAUDE.md
# 5. (Optional) Add the PreToolUse hook to enforce delegation for subagents
Then merge the following into your ~/.claude/settings.json (or per-project .claude/settings.json):
{
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "claude-agy-hook",
"onError": "block"
}
]
}
]
}
}
That's it. Claude will now automatically delegate heavy tasks to Antigravity CLI in any project that has the CLAUDE.md file.
Tip: To enable globally without copying
CLAUDE.mdper project, add the rules to~/.claude/CLAUDE.mdinstead.
CLAUDE.md rules only apply to the main Claude agent. Subagents (spawned via run_subagent or similar) do not read CLAUDE.md and will run grep -r, git diff, etc. directly - wasting tokens and defeating the purpose of delegation.
The PreToolUse hook runs at the Claude Code platform level for all agents (main + sub), mechanically blocking banned commands before they execute.
This project also includes a SKILL.md file, which is the standard format for reusable Claude Code skills. If your setup supports skills, you can use it instead of manually copying CLAUDE.md:
claude skill add ~/.claude-to-agy/SKILL.md
Note: You still need the MCP server registered (step 2 above). The skill provides the rules, MCP provides the tool.
All settings are optional environment variables:
| Variable | Default | Description |
|---|---|---|
AGY_CONNECT_TIMEOUT | 60 | Seconds to start the agy process |
AGY_TOTAL_TIMEOUT | 1200 | Hard timeout for entire execution |
User → Claude Code → MCP bridge ([FastMCP](https://github.com/jlowin/fastmcp)) → agy CLI → Gemini API
← ← ←
CLAUDE.md instructs Claude when to delegatedelegate_to_agy(prompt, cwd, files?) via MCPbridge.py prepends file paths to the promptagy --dangerously-skip-permissions --add-dir <cwd> -p "<prompt>"# Linting & Formatting
uv run ruff check .
uv run ruff format .
# Type Checking
uv run pyright
# Tests
uv run pytest
# Pre-commit Hooks (Run before committing)
uv run pre-commit install
MIT
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
English-first Korean equity intelligence MCP — DART filings, foreign-holder 5%-rule flows, activist filings, KRX news. F
Unity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control sc