batfish q mcp for VS Code
io.github.martimy/batfish-q-mcp
An MCP server exposing Batfish tools so AI assistants can query network configs in plain language.
client:VS Code
transport:stdio
runtime:pypi
Install batfish q mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "batfish-server",
"description": "BATFISH_SERVER",
"password": true
}
],
"servers": {
"batfish-q-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"batfish-q-mcp"
],
"env": {
"BATFISH_SERVER": "${input:batfish-server}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs