Server data from the Official MCP Registry
CardDAV contacts as MCP tools: list address books; list, get, create, update and delete contacts.
About
CardDAV contacts as MCP tools: list address books; list, get, create, update and delete contacts.
Security Report
The carddav-mcp server is a straightforward CardDAV client that reads credentials from environment variables, uses them only to connect to the user-configured CardDAV server, and exposes contact CRUD tools whose permissions (network_http to the user's own CardDAV host, env_vars for credentials, database-like contact storage) match its stated purpose. No data exfiltration, shell execution, or hardcoded secrets were found; the main observations are minor, such as the server failing hard on login errors and the resolve-contact.ts source being truncated so the fallback scan could not be fully reviewed. Supply chain analysis found 7 known vulnerabilities in dependencies (0 critical, 4 high severity). Package verification found 1 issue.
12 files analyzed ยท 14 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: CARDDAV_BASE_URL
Environment variable: CARDDAV_USERNAME
Environment variable: CARDDAV_PASSWORD
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"carddav-mcp": {
"command": "npx",
"args": [
"-y",
"carddav-mcp@0.2.0"
],
"env": {
"CARDDAV_BASE_URL": "your-carddav-base-url-here",
"CARDDAV_PASSWORD": "your-carddav-password-here",
"CARDDAV_USERNAME": "your-carddav-username-here"
}
}
}
}Some servers take additional arguments. See the repository for details.
Documentation
View on GitHubFrom the project's GitHub README.
carddav-mcp
๐ A CardDAV Model Context Protocol (MCP) server to expose contacts and address books as tools for AI assistants.
Maintained by the team behind Langmail. Want mail, calendar and contacts for your agent over one hosted MCP, with OAuth and nothing to run? โ langmail.me
โจ Features
- Connect to CardDAV servers
- List address books
- List contacts in an address book
- Get the full details of a single contact
- Create contacts (vCard)
- Update contacts โ partial updates that preserve vCard properties written by other clients
- Delete contacts by UID
Setup
{
"mcpServers": {
...,
"contacts": {
"command": "npx",
"args": [
"carddav-mcp"
],
"env": {
"CARDDAV_BASE_URL": "<CardDAV server URL>",
"CARDDAV_USERNAME": "<CardDAV username>",
"CARDDAV_PASSWORD": "<CardDAV password>"
}
}
}
}
Development
Quick Start
Run the MCP server in development mode with auto-reload:
npm run dev
This will run the TypeScript code directly with watch mode and automatically load environment variables from .env.
Manual Build
Alternatively, you can compile TypeScript to JavaScript and run it:
- Compile:
npx tsc
- Run:
node dist/index.js
Available Tools
list-address-books
List all address books returning both name and URL
Parameters: none
Returns:
- List of all available address books
list-contacts
List all contacts in the address book specified by its URL. Returns a summary per contact; use get-contact for full details.
Parameters:
addressBookUrl: string
Returns:
- A list of contacts, each containing
uid,fn(formatted name),emails, andphones
get-contact
Get the full details of a single contact in the address book specified by its URL
Parameters:
uid: string โ Unique identifier of the contact to fetch (obtained from list-contacts)addressBookUrl: string
Returns:
- The contact's parsed fields (
uid,fn,name,emails,phones, and optionallyorg,title,note), any recorded relations inrelations, keyed by role with a list of names because a role such as Child can occur several times (e.g.{"Spouse": ["Ada Lovelace"]}), plus the vCard invcard. That copy has embedded binary values such as PHOTO replaced by a size marker and is normalised rather than byte-for-byte: continuation lines are unfolded and line endings are rewritten, so do not treat it as the stored representation
create-contact
Creates a contact (vCard) in the address book specified by its URL. If name is omitted, structured name parts are derived from fn.
Parameters:
addressBookUrl: stringfn: string โ Formatted display name of the contactname: object (optional) โ Structured name parts (family, given, middle, ...)family: string (optional)given: string (optional)middle: string (optional)prefix: string (optional)suffix: string (optional)
emails: array of string (optional)phones: array of string (optional)org: string (optional) โ Organization / companytitle: string (optional) โ Job title or rolenote: string (optional)
Returns:
- The unique ID of the created contact
update-contact
Updates an existing contact in the address book specified by its URL. Only provided fields are changed; emails and phones replace the full list (pass an empty array to clear them, or an empty string to clear org, title, or note). Other vCard properties are preserved.
Parameters:
uid: string โ Unique identifier of the contact to update (obtained from list-contacts)addressBookUrl: stringfn: string (optional)name: object (optional)family: string (optional)given: string (optional)middle: string (optional)prefix: string (optional)suffix: string (optional)
emails: array of string (optional)phones: array of string (optional)org: string (optional)title: string (optional)note: string (optional)
Returns:
- The unique ID of the updated contact
delete-contact
Deletes a contact in the address book specified by its URL
Parameters:
uid: string โ Unique identifier of the contact to delete (obtained from list-contacts)addressBookUrl: string
Returns:
- Confirmation message when the contact is successfully deleted
Smoke Tests
Two complementary end-to-end checks against a real CardDAV server (both read credentials from .env):
npm run smokeโ deterministic SDK harness (scripts/smoke.ts). Spawns the built server over stdio via the MCP client SDK and asserts the create โ list โ get โ update โ delete contact round-trip.npm run smoke:agentโ agent-ergonomics harness (scripts/smoke-agent.sh). Drives the server viaclaude -pwith a JSON output schema, validating that tool names, descriptions, schemas, and error messages are usable by an LLM.
License
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto ยท Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai ยท Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci ยท Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol ยท Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno ยท Developer Tools
Toleno Network MCP Server โ Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace ยท Developer Tools
Search and install MCP servers from inside your AI client.
