MCP proxy that collapses 50+ tools into 4 meta-tools and compresses tool outputs by 60-95% (HTML, base64, huge JSON) - cut context-token costs for any MCP client, any model
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add context-firewall -- npx -y context-firewall --config '<CONFIG>'~/.codex/config.toml
[mcp_servers.context-firewall]
command = "npx"
args = ["-y", "context-firewall", "--config", "<CONFIG>"]
# codex mcp add context-firewall -- npx -y context-firewall --config '<CONFIG>'~/.cursor/mcp.json
{
"mcpServers": {
"context-firewall": {
"command": "npx",
"args": [
"-y",
"context-firewall",
"--config",
"<CONFIG>"
]
}
}
}.vscode/mcp.json
{
"servers": {
"context-firewall": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"context-firewall",
"--config",
"<CONFIG>"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"context-firewall": {
"command": "npx",
"args": [
"-y",
"context-firewall",
"--config",
"<CONFIG>"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"context-firewall": {
"command": "npx",
"args": [
"-y",
"context-firewall",
"--config",
"<CONFIG>"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"context-firewall": {
"command": "npx",
"args": [
"-y",
"context-firewall",
"--config",
"<CONFIG>"
]
}
}
}