Skip to content
VS Code

ravendb mcp for VS Code

io.github.ravendb/ravendb-mcp

Read-only MCP diagnostics server for RavenDB.

client:VS Code transport:stdio runtime:nuget

Install ravendb mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "ravendb-urls",
      "description": "RAVENDB_URLS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ravendb-certificate-path",
      "description": "RAVENDB_CERTIFICATE_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ravendb-certificate-password",
      "description": "RAVENDB_CERTIFICATE_PASSWORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ravendb-artifacts-path",
      "description": "RAVENDB_ARTIFACTS_PATH",
      "password": true
    }
  ],
  "servers": {
    "ravendb-mcp": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "RavenDB.Mcp",
        "--yes"
      ],
      "env": {
        "RAVENDB_URLS": "${input:ravendb-urls}",
        "RAVENDB_CERTIFICATE_PATH": "${input:ravendb-certificate-path}",
        "RAVENDB_CERTIFICATE_PASSWORD": "${input:ravendb-certificate-password}",
        "RAVENDB_ARTIFACTS_PATH": "${input:ravendb-artifacts-path}"
      }
    }
  }
}

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

ravendb mcp in other clients