mastyf.ai for VS Code
io.github.mastyf-ai/mastyf.ai
Runtime proxy for MCP security, cost governance & audit
client:VS Code
transport:stdio
runtime:npm
Install mastyf.ai in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "mastyf-ai-db-path",
"description": "MASTYF_AI_DB_PATH",
"password": true
},
{
"type": "promptString",
"id": "alert-webhook-url",
"description": "ALERT_WEBHOOK_URL",
"password": true
},
{
"type": "promptString",
"id": "metrics-enabled",
"description": "METRICS_ENABLED",
"password": true
}
],
"servers": {
"mastyf.ai": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mastyf_ai/server"
],
"env": {
"MASTYF_AI_DB_PATH": "${input:mastyf-ai-db-path}",
"ALERT_WEBHOOK_URL": "${input:alert-webhook-url}",
"METRICS_ENABLED": "${input:metrics-enabled}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs