
jgravelle/jmunch-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
jgravelle / jmunch-mcp - кандидат на сервер MCP, импортированный из https://github.com/jgravelle/jmunch-mcp.
Обзор
jgravelle / jmunch-mcp - кандидат на сервер MCP, импортированный из https://github.com/jgravelle/jmunch-mcp.
Обзор (машинный перевод)
Прозрачный MCP-прокси, который снижает стоимость токенов для больших ответов на инструменты для почти всех других MCP-серверов. Обертывает один MCP вверх по течению, пересылает каждый вызов и обрабатывает жирные полезные нагрузки в контент-знающие бэкэнды, агент может запрашивать с небольшим набором универсальных глаголов peek, slice, search, aggregate, describe, list_handles.
Знаки отличия
Измеряется сквозняк против двух популярных в реальном мире MCP-серверов. Каждый запуск запускает фиксированный скрипт вызовов инструмента дважды — один раз прямой, один раз через jmunch-mcp — с тремя последующими глаголами jmunch.*, чтобы смоделировать агент, сверлящий в большой результат, а не засыпающий его целиком.
| suite | upstream | direct tokens | via jmunch-mcp | save |
[скрыто] [скрыто] [скрыто] [скрыто] [скрыто]
| GitHub (facebook/react issues/PRs/commits) | @modelcontextprotocol/server-github | 379 878 | 44 328 | 335 550 (88,3%)
| Firecrawl (Википедия царапает + карта сайта + поиск) | firecrawl-mcp | 259 574 | 2 928 | 256 646 (98,9%)
Настенные часы также были быстрее с прокси-сервером на обоих люксах, несмотря на дополнительные вызовы глагола — агенту никогда не приходилось перелистывать жирную полезную нагрузку:
| suite | direct | через jmunch-mcp | delta |
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
jmunch-mcp
Transparent MCP proxy that reduces the token cost of large upstream tool responses for nearly every other MCP server imaginable. Wraps a single upstream MCP, forwards every call, and handle-ifies fat payloads into content-aware backends the agent can query with a small set of universal verbs (peek, slice, search, aggregate, describe, list_handles).
Benchmarks
Measured end-to-end against two popular real-world MCP servers. Each run fires a fixed script of tool calls twice — once direct, once through jmunch-mcp — with three follow-up jmunch.* verb calls on the proxied side to model an agent drilling into a large result rather than slurping it whole.
| suite | upstream | direct tokens | via jmunch-mcp | saved |
|---|---|---|---|---|
GitHub (facebook/react issues/PRs/commits) |
@modelcontextprotocol/server-github |
379,878 | 44,328 | 335,550 (88.3%) |
| Firecrawl (Wikipedia scrapes + site map + search) | firecrawl-mcp |
259,574 | 2,928 | 256,646 (98.9%) |
Wall-clock time was also faster with the proxy on both suites, despite the extra verb calls — the agent never has to page through the fat payload:
| suite | direct | via jmunch-mcp | delta |
|---|---|---|---|
| GitHub | 8.4s | 6.8s | −1.6s (−19.0%) |
| Firecrawl | 16.4s | 9.2s | −7.2s (−43.9%) |
Tabular content (GitHub) routes to the SQLite backend and answers peek/slice/aggregate; JSON content (Firecrawl scrape/map) routes to the JSON-tree backend and answers peek/slice (JSONPath)/search. See bench/README.md to reproduce.
Install
pip install jmunch-mcp
From source:
git clone https://github.com/jgravelle/jmunch-mcp
cd jmunch-mcp
pip install -e .
Quickstart
jmunch-mcp init
init scans three sources — your MCP client configs (Claude Desktop, Claude Code, Cursor, Windsurf, Continue), running processes, and a small catalog of popular upstreams (GitHub, Firecrawl, filesystem, fetch, Brave Search, Slack) — and renders a checklist. Tick the upstreams you want wrapped, and it writes one .toml per selection into ./configs/. Non-interactive flags: --yes (pick everything already registered in a client), --dry-run, --overwrite, --out , --no-running, --no-catalog.
Manual
jmunch-mcp --config examples/config.toml
Configure your MCP client to launch jmunch-mcp --config instead of the upstream server directly. Add --report to print a session summary on shutdown.
Gateway mode (v2 — universal proxy)
The MCP proxy above saves tokens for MCP clients. The gateway saves tokens for any AI application that speaks the OpenAI or Anthropic HTTP API — LangChain, LlamaIndex, CrewAI, AutoGen, Continue, Cline, Aider, or a raw SDK. No code changes in the app; just point base_url at jmunch.
pip install 'jmunch-mcp[gateway]'
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →