Skip to content
VS Code

swiss truth mcp for VS Code

io.github.swisstruthorg/swiss-truth-mcp

Verified knowledge base for AI agents — stop hallucinations with certified facts.

client:VS Code transport:stdio runtime:npm

Install swiss truth mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "swiss-truth-api-key",
      "description": "SWISS_TRUTH_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "swiss-truth-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "swiss-truth-mcp"
      ],
      "env": {
        "SWISS_TRUTH_API_KEY": "${input:swiss-truth-api-key}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

swiss truth mcp in other clients