Skip to content
VS Code

carddav mcp for VS Code

io.github.langmail/carddav-mcp

CardDAV contacts as MCP tools: list address books; list, get, create, update and delete contacts.

client:VS Code transport:stdio runtime:npm

Install carddav mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "carddav-base-url",
      "description": "CARDDAV_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "carddav-username",
      "description": "CARDDAV_USERNAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "carddav-password",
      "description": "CARDDAV_PASSWORD",
      "password": true
    }
  ],
  "servers": {
    "carddav-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "carddav-mcp"
      ],
      "env": {
        "CARDDAV_BASE_URL": "${input:carddav-base-url}",
        "CARDDAV_USERNAME": "${input:carddav-username}",
        "CARDDAV_PASSWORD": "${input:carddav-password}"
      }
    }
  }
}

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

carddav mcp in other clients