Full unofficial agentic Infomaniak MCP server — guided automation of web hosting, mail, kDrive, domains and DNS.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
claude mcp add infomaniak-mcp-agent -- npx -y infomaniak-mcp-agent{
"mcpServers": {
"infomaniak-mcp-agent": {
"command": "npx",
"args": ["-y", "infomaniak-mcp-agent"],
"env": {
"INFOMANIAK_API_TOKEN": "<infomaniak_api_token>",
"INFOMANIAK_XSRF_TOKEN": "<infomaniak_xsrf_token>"
}
}
}
}INFOMANIAK_API_TOKENINFOMANIAK_XSRF_TOKENResumen de MCP Servers
# infomaniak-mcp-agent
[](https://www.npmjs.com/package/infomaniak-mcp-agent)
[](https://www.npmjs.com/package/infomaniak-mcp-agent)
[](https://github.com/Mogacode-ma/infomaniak-mcp-agent/actions/workflows/ci.yml)
[](https://github.com/Mogacode-ma/infomaniak-mcp-agent/actions/workflows/codeql.yml)
[](./LICENSE)
[](https://nodejs.org)
[](https://www.typescriptlang.org/)
[](https://modelcontextprotocol.io/)
[](#tools)
[](./CONTRIBUTING.md)
[](https://github.com/Mogacode-ma/infomaniak-mcp-agent/stargazers)
> **Drive your entire [Infomaniak](https://www.infomaniak.com) account from [Claude](https://www.anthropic.com/claude) — agentic, two-phase commit, open-source.**
`infomaniak-mcp-agent` is an unofficial [Model Context Protocol](https://modelcontextprotocol.io/) server that exposes the full surface of Infomaniak — Switzerland's sovereign cloud — as **81 tools** an LLM can call directly: web hosting, mail (kSuite), kDrive, domains, DNS, DNSSEC, FTP/SSH users, AI products, account audits and more. Every destructive operation goes through a strict two-phase commit, so an agent can never silently delete or mutate something on your account.
```
You → Claude: "audit the example.com hosting and tell me which mailboxes are over quota"
Claude → MCP: infomaniak_audit_account → infomaniak_list_mail_hostings → infomaniak_list_mailboxes
Claude → You: 3 mailboxes >85% — paul@ (94%), notify@ (88%), team@ (87%). Want me to add an alert?
```
## Table of contents
- [Why](#why-this-exists) · [What it does](#what-you-can-do-with-it) · [How it differs](#why-agentic-and-not-wrapper)
- [Install](#install) · [Authentication](#authentication) · [Quick example](#quick-example)
- [Tools](#tools) (81 across 13 areas) · [Limitations](#limitations) · [Roadmap](#roadmap) · [FAQ](#faq)
- [Contributing](#contributing) · [License](#license)
## Why this exists
Infomaniak is one of the very few **independent, Swiss-owned, open-source-friendly cloud providers** in Europe — running its own datacentres in Switzerland, on hydro and wind power, with no parent in the US or China. Its product range is huge (web hosting, mail, kDrive, kChat, DNS, AI cloud, Swiss Backup, …) but its API is split between a documented public surface and a private manager-only one — which means automating real workflows usually requires a browser session, custom scripts, or both.
This project closes that gap by exposing **everything** through a single MCP server, so Claude or any other MCP client can run real account operations through natural language: provision a hosting, rotate a DNS record, create a mailbox, audit your domains for upcoming expirations, browse your kDrive — without ever forcing you to leave the chat or write a script.
## 🎒 Built in the open, in real time, by vibe-coding
This project was built rapidly by an LLM driving a terminal session ("vibe-coding"), with live tests against a real Infomaniak account at every step. **It works perfectly on the maintainer's local setup** and the full pipeline is green (TypeScript strict, ESLint, Prettier, 37 tests, build, CodeQL, gitleaks).
That said — given how it was built and given that several endpoints used here are reverse-engineered (see [`REVERSE-ENGINEERING.md`](./REVERSE-ENGINEERING.md)) — **it is entirely possible that you'll hit (potentially big) bugs** depending on your account topology, plan tier, scopes, or Infomaniak's own changes. We are here to fix them as they show up. Please:
1. Open an issue with the exact tool call, the input, the response, and your environment (Node version, OS, MCP client). Sanitize tokens / cookies / customer names before pasting.
2. Or, even better, send a PR with a failing test and we will work from there together.
We move fast and ship often. Don't be shy.
## ⚠️ Status: unofficial
This project is **not affiliated with, endorsed by, or sponsored by Infomaniak Network SA**. It is a community-driven tool that combines:
1. The **public Infomaniak API** ([api.infomaniak.com](https://developer.infomaniak.com/)), used with a Bearer token you generate yourself.
2. **Reverse-engineered manager endpoints** ([manager.infomaniak.com/proxy/...](https://manager.infomaniak.com/)), required for write operations on web hosting that the public API silently ignores.
For full transparency, read [`REVERSE-ENGINEERING.md`](./REVERSE-ENGINEERING.md). Infomaniak may change these endpoints without notice; we do our best to keep up but cannot guarantee long-term compatibility.
## What you can do with it
Once installed, you can ask Claude things like:
- *"List every domain on my account that expires in less than 60 days, sorted by date."*
- *"Create a new site `staging.example.com` on hosting `WP1234567`, PHP 8.3, root in `/sites/staging`."*
- *"Add a TXT record on `example.com` for the new Postmark DKIM, then verify it resolves."*
- *"How much disk does the database `myprefix_wp123456` use, and which application is wired to it?"*
- *"Create a mailbox `hello@example.com` with a 16-character random password and forward it to my Gmail."*
- *"Show me which kDrives I'm an admin on and how full they are."*
- *"Audit my whole account: any locked product, expiring SSL, broken DNSSEC, ongoing operations?"*
- *"Undo the last DNS change I made through this session."*
It will not silently mutate anything destructive: every change goes through a *plan + confirmation token* round-trip. You stay in control even if the model gets creative.
## Why "agentic" and not "wrapper"
Most MCP servers expose one tool per HTTP endpoint and call it a day. This one is built differently:
- **Guided dialogues** — creating a site walks you through "which organization? which hosting? root domain or subdomain? what type? recap?" instead of asking you to know the right tool to call upfront.
- **Two-phase commit** — every destructive operation returns a *plan* with a single-use confirmation token (60 s TTL). Nothing is mutated until you call back with the token.
- **Pre-flight checks** — the server checks for conflicts (existing FQDN, busy hosting, expired domain) *before* hitting the API.
- **Actionable errors** — every error tells you what happened, why, and the next step you can take.
- **Introspection** — `infomaniak_overview`, `infomaniak_help` and `infomaniak_explain` give the agent context-on-demand instead of forcing it to memorize a tool catalog.
- **Session memory** — `infomaniak_history` lists every destructive action of the current session, and `infomaniak_undo` reverses the ones that are reversible.
See [`ARCHITECTURE.md`](./ARCHITECTURE.md) for the full design rationale.
## Install
Available on npm — the recommended path is to let `npx` fetch the latest release on demand:
```bash
npx infomaniak-mcp-agent
```
(no install step needed; `npx` resolves the latest version on first invocation and caches it).
Or install globally if you prefer a stable binary in your `$PATH`:
```bash
npm install -g infomaniak-mcp-agent
```
If you'd rather pin to a specific commit (or hack on the source), install from this repo:
```bash
git clone https://github.com/Mogacode-ma/infomaniak-mcp-agent.git
cd infomaniak-mcp-agent
npm ci
npm run build
# resulting binary: ./dist/server.js
```
### Configure Claude Desktop
Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%AppData%\Claude\claude_desktop_config.json` (Windows):
```json
{
"mcpServers": {
"infomaniak": {
"command": "npx",
"args": ["-y", "infomaniak-mcp-agent"],
"env": {
"INFOMANIAK_API_TOKEN": "paste-your-token-here",
"INFOMANIAK_AUTH_MODE": "auto"
}
}
}
}
```
Restart Claude Desktop to pick up the change.
### Configure Claude Code
```bash
claude mcp add infomaniak \
-e INFOMANIAK_API_TOKEN=paste-your-token-here \
-e INFOMANIAK_AUTH_MODE=auto \
-- npx -y infomaniak-mcp-agent
```
## Authentication
Two distinct credentials are needed because Infomaniak runs two APIs side-by-side:
| API | Auth | Purpose |
|---|---|---|
| `api.infomaniak.com/{1,2}/...` | **Bearer token** | Read-mostly: profile, products, mail, drive, dns, domains, billing |
| `manager.infomaniak.com/proxy/...` | **SASESSION cookie + CSRF token** | Writes on web hosting (sites, databases, applications) |
### 1. Bearer token (required)
1. Sign in to your Infomaniak account.
2. Go to [manager.infomaniak.com/v3/ng/profile/user/token/list](https://manager.infomaniak.com/v3/ng/profile/user/token/list).
3. Click **"Create a token"**, give it a long lifetime, copy the value.
4. Set it in `INFOMANIAK_API_TOKEN`.
### 2. Manager session (auto, recommended)
The manager-private API does not accept Bearer tokens or OAuth (Infomaniak only exposes `openid profile email phone` scopes to third-party apps; `web`, `mail`, etc. are reserved). Instead, we read the `SASESSION` and `MANAGER-XSRF-TOKEN` cookies that **your local Chrome already has** when you are logged into [manager.infomaniak.com](https://manager.infomaniak.com).
With `INFOMANIAK_AUTH_MODE=auto` (the default), the MCP reads these cookies on demand using [`chrome-cookies-secure`](https://www.npmLo que la gente pregunta sobre infomaniak-mcp-agent
¿Qué es Mogacode-ma/infomaniak-mcp-agent?
+
Mogacode-ma/infomaniak-mcp-agent es mcp servers para el ecosistema de Claude AI. Full unofficial agentic Infomaniak MCP server — guided automation of web hosting, mail, kDrive, domains and DNS. Tiene 4 estrellas en GitHub y se actualizó por última vez yesterday.
¿Cómo se instala infomaniak-mcp-agent?
+
Puedes instalar infomaniak-mcp-agent clonando el repositorio (https://github.com/Mogacode-ma/infomaniak-mcp-agent) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar Mogacode-ma/infomaniak-mcp-agent?
+
Nuestro agente de seguridad ha analizado Mogacode-ma/infomaniak-mcp-agent y le ha asignado un Trust Score de 87/100 (tier: Trusted). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene Mogacode-ma/infomaniak-mcp-agent?
+
Mogacode-ma/infomaniak-mcp-agent es mantenido por Mogacode-ma. La última actividad registrada en GitHub es de yesterday, con 0 issues abiertos.
¿Hay alternativas a infomaniak-mcp-agent?
+
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.
Despliega infomaniak-mcp-agent en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/mogacode-ma-infomaniak-mcp-agent)<a href="https://claudewave.com/repo/mogacode-ma-infomaniak-mcp-agent"><img src="https://claudewave.com/api/badge/mogacode-ma-infomaniak-mcp-agent" alt="Featured on ClaudeWave: Mogacode-ma/infomaniak-mcp-agent" width="320" height="64" /></a>Más MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。