CardDAV address books for VS Code
io.github.ni-c/carddav-mcp
Read and write CardDAV address books: contacts, groups and photos over the open standard
client:VS Code
transport:stdio
runtime:npm
Install CardDAV address books in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "carddav-url",
"description": "CARDDAV_URL",
"password": true
},
{
"type": "promptString",
"id": "carddav-username",
"description": "CARDDAV_USERNAME",
"password": true
},
{
"type": "promptString",
"id": "carddav-password",
"description": "CARDDAV_PASSWORD",
"password": true
},
{
"type": "promptString",
"id": "carddav-token",
"description": "CARDDAV_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "carddav-addressbooks",
"description": "CARDDAV_ADDRESSBOOKS",
"password": true
},
{
"type": "promptString",
"id": "carddav-max-contacts",
"description": "CARDDAV_MAX_CONTACTS",
"password": true
},
{
"type": "promptString",
"id": "carddav-read-only",
"description": "CARDDAV_READ_ONLY",
"password": true
},
{
"type": "promptString",
"id": "carddav-insecure-tls",
"description": "CARDDAV_INSECURE_TLS",
"password": true
},
{
"type": "promptString",
"id": "carddav-allow-plaintext",
"description": "CARDDAV_ALLOW_PLAINTEXT",
"password": true
},
{
"type": "promptString",
"id": "carddav-allow-tools",
"description": "CARDDAV_ALLOW_TOOLS",
"password": true
},
{
"type": "promptString",
"id": "carddav-deny-tools",
"description": "CARDDAV_DENY_TOOLS",
"password": true
},
{
"type": "promptString",
"id": "elicitation",
"description": "ELICITATION",
"password": true
}
],
"servers": {
"carddav-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ni-c/carddav-mcp"
],
"env": {
"CARDDAV_URL": "${input:carddav-url}",
"CARDDAV_USERNAME": "${input:carddav-username}",
"CARDDAV_PASSWORD": "${input:carddav-password}",
"CARDDAV_TOKEN": "${input:carddav-token}",
"CARDDAV_ADDRESSBOOKS": "${input:carddav-addressbooks}",
"CARDDAV_MAX_CONTACTS": "${input:carddav-max-contacts}",
"CARDDAV_READ_ONLY": "${input:carddav-read-only}",
"CARDDAV_INSECURE_TLS": "${input:carddav-insecure-tls}",
"CARDDAV_ALLOW_PLAINTEXT": "${input:carddav-allow-plaintext}",
"CARDDAV_ALLOW_TOOLS": "${input:carddav-allow-tools}",
"CARDDAV_DENY_TOOLS": "${input:carddav-deny-tools}",
"ELICITATION": "${input:elicitation}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs