Skip to content
VS Code

garnet-mcp for VS Code

io.github.tarazou9/garnet-mcp

RAG memory for LLM agents over Garnet Vector Sets: store text as embeddings, recall by meaning.

client:VS Code transport:stdio runtime:nuget

Install garnet-mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "garnet--host",
      "description": "Garnet__Host",
      "password": true
    },
    {
      "type": "promptString",
      "id": "garnet--port",
      "description": "Garnet__Port",
      "password": true
    },
    {
      "type": "promptString",
      "id": "embeddings--provider",
      "description": "Embeddings__Provider",
      "password": true
    },
    {
      "type": "promptString",
      "id": "embeddings--endpoint",
      "description": "Embeddings__Endpoint",
      "password": true
    },
    {
      "type": "promptString",
      "id": "embeddings--deploymentname",
      "description": "Embeddings__DeploymentName",
      "password": true
    },
    {
      "type": "promptString",
      "id": "embeddings--dimensions",
      "description": "Embeddings__Dimensions",
      "password": true
    }
  ],
  "servers": {
    "garnet-mcp": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "GarnetMcp.Server",
        "--yes"
      ],
      "env": {
        "Garnet__Host": "${input:garnet--host}",
        "Garnet__Port": "${input:garnet--port}",
        "Embeddings__Provider": "${input:embeddings--provider}",
        "Embeddings__Endpoint": "${input:embeddings--endpoint}",
        "Embeddings__DeploymentName": "${input:embeddings--deploymentname}",
        "Embeddings__Dimensions": "${input:embeddings--dimensions}"
      }
    }
  }
}

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

garnet-mcp in other clients