
cbxcvl/btk
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
圧縮パイプラインでMCPプロキシを埋める — 182KBの応答を~4KBに低減
概要
182 KB のツール応答を ~4 KB に削減します。 設定なし ワークフローの変更はありません。 より速く、より安い保証の仕事。 Burp Suite の MCP 拡張は強力ですが、その応答は大幅です。 単一の get proxy http history コールと 50 個のアイテムが返されます。 〜46,000トークンです。 呼び出しごと ほとんど必要ないデータのため。 そのレートで、コンテキストウィンドウはいくつかの取引所の後に埋め込まれ、ジョブを終了する前にセッションを再起動します。 BTKは、ClaudeコードとBurpの間に座り、すべての応答を傍受し、コンテキストウィンドウに到達する前に圧縮します。 あなたのバープセットアップの変更はありません。 Claudeがツールを使用する方法の変更はありません。 BTK は、Claude config の Burp MCP URL のドロップイン置換です。 実際の測定。 同じ Burp インスタンス。 同じプロキシ履歴。 直接測定される両側。 スキャナの問題は、スキャナが1つのサマリーラインに繰り返された問題タイプを崩壊させるので、823×を達成します。 空のフィールド、null ヘッダー、冗長メタデータを削除します。 何も失わない.
概要(AI 翻訳)
** クラウドコードとバープスイート間の透明なMCPプロキシ。** 182 KB のツール応答を ~4 KB に削減します。 設定なし ワークフローの変更はありません。 より速く、より安い保証の仕事。
お問い合わせ
問題
Burp Suite の MCP 拡張は強力ですが、その応答は大幅です。
単一 [get_proxy_http_history] で 50 個の項目が返されます** 生の HTTP ワイヤー フォーマットの 185 KB**。
〜46,000トークンです。 呼び出しごと ほとんど必要ないデータのため。
そのレートで、コンテキストウィンドウはいくつかの取引所の後に埋め込まれ、ジョブを終了する前にセッションを再起動します。
お問い合わせ
ソリューション
BTKは、ClaudeコードとBurpの間に座り、すべての応答を傍受し、コンテキストウィンドウに到達する前に圧縮します。
あなたのバープセットアップの変更はありません。 Claudeがツールを使用する方法の変更はありません。 BTK は、Claude config の Burp MCP URL のドロップイン置換です。
お問い合わせ
ベンチマーク
実際の測定。 同じ Burp インスタンス。 同じプロキシ履歴。 直接測定される両側。
| 工具 | MCP 原料 | BTK | 削減 | 比率 | お問い合わせ | [T1 | 42,379 B | 526 B | 98.8%** | 81× | | 【T2 | 230,343 B | 280 B | 99.9% | 823× |
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
The Problem
Burp Suite’s MCP extension is powerful — but its responses are enormous.
A single get_proxy_http_history call with 50 items returns 185 KB of raw HTTP wire format.
That’s ~46,000 tokens. Per call. For data you mostly don’t need.
At that rate, your context window fills up after a few exchanges, and you’re restarting sessions before finishing the job.
The Solution
BTK sits between Claude Code and Burp, intercepting every response and compressing it before it reaches your context window.
Claude Code ──stdin──▶ BTK ──POST──▶ Burp MCP
◀──SSE──────────────
│
normalize
lossless strip
group & summarize ──▶ Claude Code
truncate bodies
No changes to your Burp setup. No changes to how Claude uses tools. BTK is a drop-in replacement for the Burp MCP URL in your Claude config.
Benchmark
Real measurements. Same Burp instance. Same proxy history. Both sides measured directly.
| Tool | Burp MCP Raw | BTK | Reduction | Ratio |
|---|---|---|---|---|
get_proxy_http_history (10 items) |
42,379 B | 526 B | 98.8% | 81× |
get_scanner_issues (10 issues) |
230,343 B | 280 B | 99.9% | 823× |
tools/list |
6,837 B | 6,552 B | 4.2% | ~1× |
Scanner issues achieve 823× because the grouper collapses repeated issue types into a single summary line.
How Compression Works
Three layers, all lossless at the information level:
1 — Lossless strip Removes empty fields, null headers, redundant metadata. Nothing useful is lost.
2 — Grouper summary
GET /api/users appearing 50 times with status 200 becomes one line:
GET /api/users (x50) — 200:50
The full data is cached in a snapshot. Claude expands any path on demand with btk_detail.
3 — Body truncation
Response bodies over 2000 chars are trimmed. Binary responses (images, fonts) are replaced with [image/png, 4321B]. Configurable.
Synthetic Tools
BTK injects two extra tools into tools/list that Claude can use to navigate compressed data:
| Tool | What it does |
|---|---|
btk_detail(snapshot, path) |
Expand a specific path from a compressed snapshot — returns full request/response |
btk_next_page(snapshot, cursor) |
Paginate through large history sets |
Usage with RTK
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"burp": {
"command": "/path/to/btk",
"args": ["--burp-url", "http://127.0.0.1:9876"]
}
}
}