ask claude for VS Code
io.github.lykhoyda/ask-claude
Bridge Codex and other MCP clients with Anthropic Claude Code CLI for read-only second opinions
client:VS Code
transport:stdio
runtime:npm
Install ask claude in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "ask-claude-model",
"description": "ASK_CLAUDE_MODEL",
"password": true
},
{
"type": "promptString",
"id": "ask-claude-fallback-model",
"description": "ASK_CLAUDE_FALLBACK_MODEL",
"password": true
},
{
"type": "promptString",
"id": "ask-claude-timeout-ms",
"description": "ASK_CLAUDE_TIMEOUT_MS",
"password": true
},
{
"type": "promptString",
"id": "gmcpt-log-level",
"description": "GMCPT_LOG_LEVEL",
"password": true
}
],
"servers": {
"ask-claude": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ask-llm/claude-mcp"
],
"env": {
"ASK_CLAUDE_MODEL": "${input:ask-claude-model}",
"ASK_CLAUDE_FALLBACK_MODEL": "${input:ask-claude-fallback-model}",
"ASK_CLAUDE_TIMEOUT_MS": "${input:ask-claude-timeout-ms}",
"GMCPT_LOG_LEVEL": "${input:gmcpt-log-level}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs