Budget-aware context compilation and context firewall for tool-heavy AI agents.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add contextweaver -- uvx contextweaver --config '<CONFIG>'~/.codex/config.toml
[mcp_servers.contextweaver]
command = "uvx"
args = ["contextweaver", "--config", "<CONFIG>"]
# codex mcp add contextweaver -- uvx contextweaver --config '<CONFIG>'~/.cursor/mcp.json
{
"mcpServers": {
"contextweaver": {
"command": "uvx",
"args": [
"contextweaver",
"--config",
"<CONFIG>"
]
}
}
}.vscode/mcp.json
{
"servers": {
"contextweaver": {
"type": "stdio",
"command": "uvx",
"args": [
"contextweaver",
"--config",
"<CONFIG>"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"contextweaver": {
"command": "uvx",
"args": [
"contextweaver",
"--config",
"<CONFIG>"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"contextweaver": {
"command": "uvx",
"args": [
"contextweaver",
"--config",
"<CONFIG>"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"contextweaver": {
"command": "uvx",
"args": [
"contextweaver",
"--config",
"<CONFIG>"
]
}
}
}