MCP directory

CardDAV address books

by github.com/ni-c · v0.1.4 · updated Oct 22, 2026

Read and write CardDAV address books: contacts, groups and photos over the open standard

npmDocker

Run it locally

Install the package and point your AI client at it.

npm

npx -y @ni-c/[email protected]

Environment variables

  • CARDDAV_URLrequired

    Root of the CardDAV server, e.g. https://dav.example.net. An address book collection URL also works.

  • CARDDAV_USERNAME

    Account name. Most hosted services want an app-specific password with it.

  • CARDDAV_PASSWORDsecret

    Password or app-specific password. Deleted from the environment once read.

  • CARDDAV_TOKENsecret

    Bearer token, as an alternative to username and password. Not both.

  • CARDDAV_ADDRESSBOOKS

    Comma-separated address books this server may touch, by path or final path segment. Default: all of them.

  • CARDDAV_MAX_CONTACTS

    Contacts a listing returns by default, 1 to 500 (default: 100)

  • CARDDAV_READ_ONLY

    Set to true to register only the read tools (default: false)

  • CARDDAV_INSECURE_TLS

    Set to true to accept a self-signed certificate on the configured host only (default: false)

  • CARDDAV_ALLOW_PLAINTEXT

    Set to true to allow a plain http:// URL to a host that is not loopback, which sends the credentials and every contact unencrypted (default: false)

  • CARDDAV_ALLOW_TOOLS

    Comma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)

  • CARDDAV_DENY_TOOLS

    Comma-separated tool names or list_* prefixes to remove from whatever the allow list left

  • ELICITATION

    Deliberately unprefixed, and reaches every MCP server in the environment. Set to false to make guarded tools use the two-call token instead of a dialog (default: true)

Docker

docker run -i --rm ghcr.io/ni-c/carddav-mcp:0.1.4

Environment variables

  • CARDDAV_URLrequired

    Root of the CardDAV server, e.g. https://dav.example.net. An address book collection URL also works.

  • CARDDAV_USERNAME

    Account name. Most hosted services want an app-specific password with it.

  • CARDDAV_PASSWORDsecret

    Password or app-specific password. Deleted from the environment once read.

  • CARDDAV_TOKENsecret

    Bearer token, as an alternative to username and password. Not both.

  • CARDDAV_ADDRESSBOOKS

    Comma-separated address books this server may touch, by path or final path segment. Default: all of them.

  • CARDDAV_MAX_CONTACTS

    Contacts a listing returns by default, 1 to 500 (default: 100)

  • CARDDAV_READ_ONLY

    Set to true to register only the read tools (default: false)

  • CARDDAV_INSECURE_TLS

    Set to true to accept a self-signed certificate on the configured host only (default: false)

  • CARDDAV_ALLOW_PLAINTEXT

    Set to true to allow a plain http:// URL to a host that is not loopback, which sends the credentials and every contact unencrypted (default: false)

  • CARDDAV_ALLOW_TOOLS

    Comma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)

  • CARDDAV_DENY_TOOLS

    Comma-separated tool names or list_* prefixes to remove from whatever the allow list left

  • ELICITATION

    Deliberately unprefixed, and reaches every MCP server in the environment. Set to false to make guarded tools use the two-call token instead of a dialog (default: true)

More from github.com/ni-c

More MCP servers