A local proxy that strips web pages down to clean text before they enter your AI agent's context window. 704K tokens → 2.6K tokens. No LLM required.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add token-enhancer -- uvx xelektron-token-enhancer~/.codex/config.toml
[mcp_servers.token-enhancer]
command = "uvx"
args = ["xelektron-token-enhancer"]
# codex mcp add token-enhancer -- uvx xelektron-token-enhancer~/.cursor/mcp.json
{
"mcpServers": {
"token-enhancer": {
"command": "uvx",
"args": [
"xelektron-token-enhancer"
]
}
}
}.vscode/mcp.json
{
"servers": {
"token-enhancer": {
"type": "stdio",
"command": "uvx",
"args": [
"xelektron-token-enhancer"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"token-enhancer": {
"command": "uvx",
"args": [
"xelektron-token-enhancer"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"token-enhancer": {
"command": "uvx",
"args": [
"xelektron-token-enhancer"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"token-enhancer": {
"command": "uvx",
"args": [
"xelektron-token-enhancer"
]
}
}
}