infomaniak-mcp
Provides tools for interacting with Infomaniak kSuite contacts, calendars, and reminders over the standard CalDAV and CardDAV endpoints.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@infomaniak-mcp show my upcoming calendar events"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
infomaniak-mcp
An MCP server and CLI for Infomaniak kSuite contacts, calendars and reminders, over the standard CalDAV and CardDAV endpoints.
No third party dependencies. It runs on the Python that ships with macOS and most Linux distributions, 3.9 or newer, so there is nothing to install.
What kSuite is
kSuite is Infomaniak's collaborative suite: mail, calendars and contacts, plus kDrive for files, kChat and kMeet. Infomaniak is a Swiss company that, in its own words, "designs and manages its own data centers in Switzerland" and whose "employees hold the majority of its capital". A free tier for individuals, my kSuite, exists alongside the paid organisation plans.
What matters here is that the suite is built on open protocols rather than a private
API. Contacts and calendars are served over CardDAV and CalDAV at sync.infomaniak.com,
which is what this project speaks. Nothing below depends on a vendor SDK.
Related MCP server: macOS Calendar MCP Server
Why
Infomaniak exposes CalDAV and CardDAV at sync.infomaniak.com, but two details make
it awkward to automate, and both are handled here:
The DAV username is the internal account id such as
AB12345, not the mailbox address, and nothing in the public documentation says so. Worse, the wrong value does not fail cleanly: the server accepts any username at the authentication step and echoes it straight back as the principal path, so a mailbox address signs in successfully and only fails later with a404on a principal that was never real. Credentials shows the screen that prints the id.The CardDAV write path double-encodes some UTF-8, so a contact saved from a phone can be silently corrupted. See Known server defect.
Install
git clone https://github.com/austinpnguyen/infomaniak-mcp
cd infomaniak-mcp
python3 -m unittest discover -s tests # optional, confirms it runs hereThat is the whole install. There is nothing to build and nothing to download.
The macOS system interpreter at /usr/bin/python3 is enough.
Credentials
You need two values. Neither is your normal login password, and neither is your email address, which is the part that trips most people up.
1. The application password
Sign in at manager.infomaniak.com.
Open the account menu at the top right, then My Profile.
In the left sidebar choose Application password(s).
Click Generate an application password, give it a name such as
mcp, and confirm.Use the Copy button in the dialog. Do not select the text by hand: the value is displayed in groups of four characters and a manual selection tends to lose part of it. Spaces are ignored, so
AB12 CD34andABCD1234are the same password.Save it now. The dialog says so and means it: once closed, the value is gone and you have to generate a new one.
Application passwords belong to a single account. If you have more than one Infomaniak
account, check which one you are signed in as before generating, because a password
made in one account returns 401 on another.
Do not confuse it with the other password Infomaniak issues. The same page carries a banner reading If you want to generate a password for your email addresses, use the configuration wizard, and that wizard hands out a mailbox password instead:

The two are not interchangeable. Measured on one account, each password is accepted by exactly one service:
Password | CardDAV and CalDAV | IMAP |
Application password, from the page above | works | rejected |
Mailbox password, from the wizard |
| works |
This server speaks CardDAV and CalDAV only, so the application password is the one you want. The wizard matters only if you are also setting up a mail client.
2. The account id
This is the DAV username, an internal identifier such as AB12345. It is not your
mailbox address. Nothing in the interface labels it "your username", but the
synchronisation help screen prints it in full.
Open ksuite.infomaniak.com and go to Contacts.
In the left sidebar click Synchronise your contacts on all your devices.
Choose any device, pick My Contacts & Calendars, then open the Manual synchronization tab.

The same panel confirms the other two settings: the server is
https://sync.infomaniak.com/, and the password is an account password rather than
anything generated on that screen.
One caveat, measured rather than assumed. The panel offers the username in two forms,
AB12345@sync.infomaniak.com and a bare AB12345. Paired with an application password,
only the bare form authenticates; the suffixed form answers 401. Use the bare id.
If you would rather not click through the interface, the profile that the Automatic synchronization tab downloads is plain XML and carries the same value:
grep -A1 CardDAVUsername ~/Downloads/*.mobileconfigPutting them together
export INFOMANIAK_USER=AB12345 # the account id from step 2
export INFOMANIAK_APP_PASSWORD=xxxxxxxxxxxx # the password from step 1Check the pair before going further:
PYTHONPATH=src python3 -m infomaniak_mcp.cli collectionsThat prints every address book and calendar the account can reach. If it fails instead, the cause is almost always one of these:
Symptom | Cause |
|
|
| The password was generated in a different Infomaniak account. Each account needs its own |
| Part of the value was lost selecting it by hand. Generate a new one and use the Copy button |
Note that a wrong username does not produce a 401. Only a wrong password does. That
is why the error above names the principal rather than talking about credentials.
Optional settings
export INFOMANIAK_DAV_URL=https://sync.infomaniak.com # default
export INFOMANIAK_ADDRESSBOOK="Personal" # default: the first one found
export INFOMANIAK_CALENDAR="Personal" # default: the first one foundRun collections to see the exact names to use for the last two.
Everything else, the principal path and the collection URLs, is discovered at runtime. Nothing about an account is hard coded.
Install into an MCP client
Both clients below run the server as a subprocess and talk to it on stdin and stdout, so the only things they need are a command and the two environment variables.
Replace /path/to/infomaniak-mcp with wherever you cloned this, and AB12345 with
your account id.
Claude Code
claude mcp add infomaniak --scope user \
-e INFOMANIAK_USER=AB12345 \
-e INFOMANIAK_APP_PASSWORD=xxxxxxxxxxxx \
-e PYTHONPATH=/path/to/infomaniak-mcp/src \
-- python3 -m infomaniak_mcp--scope user makes it available in every project. Use --scope project instead to
share it with a repository through a checked in .mcp.json, but do not do that with
credentials written inline, see below.
Check it came up:
claude mcp listIt should print infomaniak: ... - ✓ Connected. To remove it again:
claude mcp remove infomaniak --scope userClaude Desktop
Edit the configuration file, creating it if it does not exist:
Platform | Path |
macOS |
|
Windows |
|
Linux |
|
{
"mcpServers": {
"infomaniak": {
"command": "python3",
"args": ["-m", "infomaniak_mcp"],
"env": {
"PYTHONPATH": "/path/to/infomaniak-mcp/src",
"INFOMANIAK_USER": "AB12345",
"INFOMANIAK_APP_PASSWORD": "xxxxxxxxxxxx"
}
}
}
}Restart Claude Desktop afterwards. The server appears under the tools icon in the message box.
On Windows, use python rather than python3, and write the path with forward
slashes or escaped backslashes.
Keeping the password out of the config
Both methods above put the application password in a file that other tools read, sync and back up. A small launcher avoids that by reading the value at startup instead:
#!/bin/sh
# infomaniak-mcp-launch
SECRETS="$HOME/.config/infomaniak.env" # INFOMANIAK_USER=... and INFOMANIAK_APP_PASSWORD=...
REPO="/path/to/infomaniak-mcp"
[ -r "$SECRETS" ] || { echo "cannot read $SECRETS" >&2; exit 1; }
INFOMANIAK_USER=$(grep '^INFOMANIAK_USER=' "$SECRETS" | cut -d= -f2- | tr -d ' \n')
INFOMANIAK_APP_PASSWORD=$(grep '^INFOMANIAK_APP_PASSWORD=' "$SECRETS" | cut -d= -f2- | tr -d ' \n')
export INFOMANIAK_USER INFOMANIAK_APP_PASSWORD
export PYTHONPATH="$REPO/src"
exec python3 -m infomaniak_mcpchmod 700 ~/bin/infomaniak-mcp-launch
chmod 600 ~/.config/infomaniak.env
claude mcp add infomaniak --scope user -- ~/bin/infomaniak-mcp-launchThe client config then holds a path and nothing else. Because the launcher reads the file itself rather than taking an argument, the password never appears in the process list either. Rotating the password means editing one file, with no client config to update.
Any other client
The server speaks JSON-RPC 2.0 on stdin and stdout. Anything that can run a command and exchange line delimited JSON can drive it:
printf '%s\n' \
'{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}' \
'{"jsonrpc":"2.0","id":2,"method":"tools/list"}' \
| PYTHONPATH=src python3 -m infomaniak_mcpTools
Tool | What it does |
| Address books and calendars the account can reach |
| Accent insensitive search over name, organisation, note, email, phone |
| Add a contact, verified on write |
| Upcoming events, with a day window |
| Add a timed or all day event |
| Remove an event by resource path |
| Reminders stored as |
| Add a reminder, optionally with a due date |
| Mark a reminder done |
Use as a CLI
export PYTHONPATH=src
python3 -m infomaniak_mcp.cli contacts find "nguyen"
python3 -m infomaniak_mcp.cli contacts add --name "Jane Doe" --phone +15551234567
python3 -m infomaniak_mcp.cli cal list --days 30
python3 -m infomaniak_mcp.cli cal add --title "Dentist" --start "2026-09-05 14:30"
python3 -m infomaniak_mcp.cli todo add --title "Renew passport" --due 2026-10-01
python3 -m infomaniak_mcp.cli todo listKnown server defect
Infomaniak's CardDAV write path reinterprets some valid UTF-8 as ISO-8859-1 and
re-encodes it. Sending the bytes E1 BA A1 for ạ stores C3 A1 C2 BA C2 A1, and one
affected character corrupts every field on the card. Confirmed on two separate
accounts and from a real iPhone, so it is not client specific.
Reads are unaffected. Calendar and task writes are unaffected, verified by round tripping the same characters. Importing through the kSuite web interface is unaffected.
Reported to Infomaniak support in August 2026.
How this library protects you
create_contact writes the card, reads it back, and deletes it and raises if the
stored bytes differ from what was sent. A failed write is far better than a card that
looks saved and is quietly wrong.
There is also carddav_unsafe(text), which flags characters observed to trigger the
defect. Treat it as an early warning only: the list came from sampling ten characters,
so untested codepoints may also be affected. The read back is the guarantee.
double_encoded(text) repairs a mojibake string, and returns None if the text was
already fine. A string is double-encoded exactly when reading its bytes back as
Latin-1 and decoding them as UTF-8 succeeds and changes it, which is the corruption
itself, so it is also the test.
Tests
python3 -m unittest discover -s tests -vThe tests cover the encoding helpers and the vCard and iCalendar builders. They do not touch the network, so they run without credentials. They are also the fastest way to confirm the interpreter on a given machine is new enough.
Notes
Times without an explicit zone are read in the host's local zone. Pass timezone with
an IANA name to override.
Reminders are VTODO components stored on the calendar collection, which is what the
Infomaniak server advertises support for.
Licence
MIT
Available Tools
9 toolscomplete_taskA
Mark a reminder done by its resource path, as returned by list_tasks.
Inputs: resource (required).
create_contactA
Add a contact. The write is read back and rolled back if the server altered it, so a success means the stored card matches what was sent.
Inputs: name (required), note, emails, phones, +2 more.
create_eventA
Add a calendar event. Give start as 'YYYY-MM-DD HH:MM' for a timed event or 'YYYY-MM-DD' for an all day one.
Inputs: start (required), title (required), end, note, +3 more.
create_taskC
Add a reminder, optionally with a due date.
Inputs: title (required), due, note, calendar, +1 more.
delete_eventA
Delete a calendar event by its resource path, as returned by list_events.
Inputs: resource (required).
list_collectionsA
List the address books and calendars this account can reach. Useful when the account has more than one and you need the exact name.
Inputs: no named parameters.
list_eventsC
Upcoming calendar events.
Inputs: days, start, calendar, timezone.
list_tasksD
Reminders and tasks stored as VTODO on the calendar.
Inputs: calendar, timezone, include_done.
search_contactsA
Search the address book by name, organisation, note, email or phone digits. Accent insensitive.
Inputs: query (required), limit, addressbook.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool targets a distinct resource and action: collections, contacts, events, and tasks are cleanly separated. There is no meaningful overlap between search_contacts and the calendar/task operations.
All tools follow a consistent verb_noun pattern such as list_events, create_contact, delete_event. The naming is predictable and uniform across the entire surface.
Nine tools is well scoped for a contacts and calendar server. Each tool covers a clear need without unnecessary duplication or bloat.
The domain is covered for basic listing, creating, and in some cases deleting, but notable lifecycle gaps exist: contacts have no update or delete, events have no update, and tasks have no delete. Agents can accomplish core workflows but will hit dead ends when trying to modify existing contacts or rearrange events.
Related MCP Connectors
Read and send iCloud Mail, manage iCloud Calendar. Needs an approved account at icloud.mcp.visin.ch.
Model Context Protocol server for todo.vu task management and time tracking.
Model Context Protocol server for Studex tools, notifications, and profile integrations
EU-hosted calendar MCP: Google, Outlook, iCloud, GMX, WEB.DE, CalDAV. Read, book, RSVP, sync.
Related MCP Servers
- AlicenseDqualityDmaintenanceA Model Context Protocol server that allows users to interact with their CalDAV, CardDAV, and WebDAV services (calendars, contacts, and files) from Fastmail and Apple iCloud accounts.648 npm3MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables direct integration with macOS Calendar application using AppleScript, allowing users to create, list, and search calendar events without requiring OAuth setup.8590 npm6MIT
- AlicenseNot gradedqualityDmaintenanceEnables CRUD operations for calendar events, journal entries, and todos on any CalDAV server (like Radicale) through the Model Communication Protocol.MIT
- AlicenseNot gradedqualityAmaintenanceProvides native integration with Apple Reminders and Calendar on macOS, enabling full CRUD operations and smart task management through the Model Context Protocol. It allows users to search, create, and organize reminders and calendar events using natural language via the macOS EventKit framework.776 npm232MIT