nobleed-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
NoBleed — Universal AI Agent Token-Saver Plugin & Skill

Stop the token bleed across any AI coding agent (OpenCode, Antigravity, Claude Code, Cursor, Codex CLI, Gemini CLI, Windsurf, Cline, Roo Code, GitHub Copilot). NoBleed packages always-on terse-output rules, an 8-tool stdio MCP server, cross-agent lifecycle hooks, 13 RTK compression filters, cached zero-token project maps, and an optional local compression proxy into one lightweight TypeScript plugin — zero UI bloat.
Quick Install (Any AI Agent)
npm install
npm run build
node dist/index.js agents # detect installed agents & status
node dist/index.js install opencode # install into OpenCode (MCP + skill + AGENTS.md)
node dist/index.js install # auto-install on all detected agents (global)
node dist/index.js install --project # install into the current repo (.agents + AGENTS.md + .mcp.json)
node dist/index.js install claude-code cursor antigravity # specific targets
node dist/index.js uninstall # cleanly remove NoBleed entries (backups kept as *.nobleed.bak)Supported targets: antigravity, claude-code, cursor, codex, gemini-cli, opencode, windsurf, cline, roo, copilot, universal (or all). Use --dry-run to preview changes without writing files.
Direct Native Installs
OpenCode:
node dist/index.js install opencode(installs~/.config/opencode/skills/nobleed/, updates~/.config/opencode/AGENTS.md, and registersmcp.nobleedinopencode.jsonwhile preserving commentedopencode.jsonc)Antigravity (
agy):agy plugin install .(usesplugin.json,mcp_config.json,hooks.json,rules/AGENTS.md,skills/nobleed/)Claude Code: install via
.claude-plugin/plugin.json/.claude-plugin/marketplace.json(includes.mcp.json,hooks/hooks.jsonwith noisy-command auto-wrap,skills/nobleed/)Gemini CLI:
gemini extensions link .(usesgemini-extension.json+rules/AGENTS.md)Cursor: copy
.cursor/rules/nobleed.mdc+skills/nobleed/(or runnode dist/index.js install cursor)Codex / Windsurf / Cline / Roo / Copilot / Generic: run
node dist/index.js install <agent>or point your agent's skill loader atskills/nobleed/SKILL.md
Related MCP server: turbocontext
How It Saves Maximum Tokens
Layer | Mechanism | Typical Savings |
Output tokens (3–8× costlier) | Always-on Caveman/Ponytail rules ( | 40–65% |
Repo exploration |
| 5k–25k tok/session |
File reading |
| 70–98% |
Shell & test output |
| 50–99% |
Runaway loops | Loop guard stops identical failing tool calls after 3 repeats in 60s | Prevents retry bleed |
MCP Tools (nobleed mcp / nobleed-mcp)
Tool | Purpose |
| Cached repo orientation brief ( |
| Run shell command with RTK filters, test-failure delta, JSON schema folding, blob/stack folding, and >16KB spill |
| Targeted file read with |
| Compress raw text/JSON/logs with |
| Bounded slice/query inspection of spilled >16KB outputs |
| Live token savings ledger, proxy stats, style level, and daily budget |
| Search compression history and touched files |
| Structured compact Markdown checkpoint for session handoff/compaction |
CLI & Optional Compression Proxy
nobleed exec -- git diff # run command + RTK compress + preserve exit code
git log -n 30 | nobleed pipe # compress any stdin stream
nobleed mcp # start stdio MCP server (or `nobleed-mcp`)
nobleed overview # view token savings summary
nobleed setup # optional: start local HTTP compression proxy (:8199)Environment Kill Switches
NOBLEED_HOOKS=off— disable all lifecycle hooksNOBLEED_AUTO_WRAP=off— disable Claude CodePreToolUsenoisy-command auto-wrappingNOBLEED_PROJECT_MAP=off— disableSessionStartproject map injectionNOBLEED_GUARD=off— disable repeated-tool-call loop guard (NOBLEED_GUARD_REPEAT=3)NOBLEED_OUTPUT_STYLE=off— disable proxy terse-output prompt injection
Repository Layout
├── plugin.json # Antigravity native plugin manifest
├── mcp_config.json # Antigravity MCP server config
├── hooks.json # Antigravity lifecycle hooks
├── .claude-plugin/ # Claude Code plugin & marketplace manifests
├── .mcp.json # Claude Code / generic MCP config
├── hooks/hooks.json # Claude Code / Gemini CLI hooks
├── gemini-extension.json # Gemini CLI extension manifest
├── .cursor/rules/nobleed.mdc # Cursor always-on rule
├── rules/AGENTS.md # Universal always-on token-reduction rule
├── skills/nobleed/ # Universal Agent Skill (SKILL.md + references)
├── src/ # Core TypeScript engine (MCP, hooks, installer, RTK, proxy)
└── tests/ # Full Node test suiteDevelopment
npm run build # Compile dist/ (index.js, mcp-entry.js, hook-entry.js)
npm run typecheck # Strict TypeScript check
npm test # Run full test suite
npm run verify # Encoding check + typecheck + testsRequires Node.js v22.13+. SQLite uses optional better-sqlite3 or built-in node:sqlite.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Project memory, documentation and controlled secret access for AI coding agents.
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
LLM cost optimization gateway, repo token-waste auditor & model arbitrage MCP server.
Shared memory for coding agents. Stop re-explaining your codebase every session.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceLocal MCP server that lets your AI coding agent query its own cross-tool project history - file/command freshness, past test failures, cost & token spend, cache status, and session handoff - over stdio, 100% local, no telemetry.67-
- AlicenseAqualityCmaintenanceEnables AI coding agents to intelligently index and search codebases with sub-20ms retrieval, 8x memory compression, and cross-encoder reranking via MCP stdio.5MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP-compatible developer environments to shrink verbose tool outputs—test logs, git diffs, directory listings, and file dumps—before they reach the context window, preserving compiler errors, failure signatures, and decisive anchors. It runs either as direct callable tools or as a transparent proxy wrapping other MCP servers such as filesystem, git, or terminal providers.24 PyPI1MIT
- AlicenseBqualityBmaintenanceEnables AI coding agents and local LLMs to store and recall project memory, compact verbose logs, look up code symbols, create and rewind workspace snapshots, detect risky commands and loops, pack context optimally, and draft tokens through MCP tools.102Apache 2.0