Configure VS Code with the Continue extension to query mcp-injector and compress local context.
Continue is a popular open-source autopilot for VS Code. Unlike other extensions, it features full-featured configuration files allowing external MCP servers. Running mcp-injector side-by-side with Continue ensures your large codebase references are automatically compressed using AST folding, avoiding context bloat and maximizing response accuracy.
Download and run the setup script:
Continue configuration is managed via a `config.json` file. To register mcp-injector:
~/.continue/config.json."contextProviders" and "mcp" properties.
{
"contextProviders": [],
"slashCommands": [],
"mcp": {
"mcp-injector": {
"command": "/usr/local/bin/mcp-injector"
}
}
}
Open your workspace folder. Run the command to talk to mcp-injector. In the chat box, type @mcp-injector or use the slash tool to verify that the tool list loads successfully.