idf mcp for VS Code
io.github.intent-driven-software/idf-mcp
Turn an IDF domain into an MCP server with invariants and role scopes in every tool description.
client:VS Code
transport:stdio
runtime:npm
Install idf mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "idf-server",
"description": "IDF_SERVER",
"password": true
},
{
"type": "promptString",
"id": "idf-domain",
"description": "IDF_DOMAIN",
"password": true
},
{
"type": "promptString",
"id": "idf-bootstrap",
"description": "IDF_BOOTSTRAP",
"password": true
},
{
"type": "promptString",
"id": "idf-ontology-path",
"description": "IDF_ONTOLOGY_PATH",
"password": true
},
{
"type": "promptString",
"id": "idf-auth-token",
"description": "IDF_AUTH_TOKEN",
"password": true
}
],
"servers": {
"idf-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@intent-driven/mcp-server"
],
"env": {
"IDF_SERVER": "${input:idf-server}",
"IDF_DOMAIN": "${input:idf-domain}",
"IDF_BOOTSTRAP": "${input:idf-bootstrap}",
"IDF_ONTOLOGY_PATH": "${input:idf-ontology-path}",
"IDF_AUTH_TOKEN": "${input:idf-auth-token}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs