
Infomaniak Mcp Agent
io.github.Mogacode-ma由 GitHub 帳號 Mogacode-ma 發布v0.15.1更新於 Oct 28, 2026
Unofficial Infomaniak MCP — hosting, Node.js, mail, DNS, kDrive, SSL, VPS, domains. 81 tools.
概覽
非官方 Infomaniak MCP 伺服器,讓助理檢視並修改瑞士雲端主機、郵件、DNS、kDrive、VPS 與網域資源。
- 可以做什麼
- 自省與稽核:檢視組織與產品概況、依意圖搜尋工具、查看工具結構、稽核帳戶、檢視工作階段歷史並復原操作。
- 檢視組織、主機、網域、網站、別名、SSL 憑證、資料庫與資料庫使用者、FTP/SSH 使用者、VPS 及 Node.js 應用程式。
- 讀取並修改 DNS 記錄與 DNSSEC、郵件主機、信箱、別名與轉寄規則、kDrive 內容、短網址、Swiss Backup 及 AI 產品清單。
- 建立、刪除或調整網站、資料庫、憑證、信箱、主機使用者及 Node.js 應用程式動作,皆須先產生計畫再確認。
- 執行多步驟流程,例如一次開通網站並設定資料庫與 DNS,或稽核 DNS 區域,也可直接呼叫其他公開 API 端點。
- 適用情境
- 適合管理 Infomaniak 帳戶、希望在對話中而非管理後台或自寫腳本裡檢視與變更主機、郵件、DNS、網域、kDrive 或 VPS 資源的情境。特別適合以讀取和稽核為主、且能接受計畫加確認步驟的日常變更。
- 執行需求
- 透過 npx 或全域 npm 安裝以 stdio 在本機執行,需要 Node.js。公開 API 需要 INFOMANIAK_API_TOKEN。管理後台私有操作(主機寫入、Node.js 應用程式、kDrive 詳情)需 INFOMANIAK_AUTH_MODE=auto 讀取 Chrome Cookie,或使用 manual 模式並設定 INFOMANIAK_SASESSION 與 INFOMANIAK_XSRF_TOKEN。auto 模式要求 Chrome 已登入管理後台。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Infomaniak Mcp Agent,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
infomaniak-mcp-agent
[npm version] [npm downloads] [CI] [CodeQL] [License: MIT] [Node] [TypeScript strict] [MCP] [Tools] [PRs Welcome] [GitHub stars]
Drive your entire Infomaniak account from Claude — agentic, two-phase commit, open-source.
infomaniak-mcp-agent is an unofficial Model Context Protocol server that exposes the full surface of Infomaniak — Switzerland's sovereign cloud — as 78 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.
Table of contents
- Why · What it does · How it differs
- Install · Authentication · Quick example
- Tools (78 across 22 areas) · Limitations · Roadmap · FAQ
- Contributing · 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, 78 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) — 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:
- 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.
- 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:
- The public Infomaniak API (api.infomaniak.com), used with a Bearer token you generate yourself.
- Reverse-engineered manager endpoints (manager.infomaniak.com/proxy/...), required for write operations on web hosting that the public API silently ignores.
For full transparency, read 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.comon hostingWP1234567, PHP 8.3, root in/sites/staging." - "Add a TXT record on
example.comfor the new Postmark DKIM, then verify it resolves." - "How much disk does the database
myprefix_wp123456use, and which application is wired to it?" - "Create a mailbox
[email protected]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_helpandinfomaniak_explaingive the agent context-on-demand instead of forcing it to memorize a tool catalog. - Session memory —
infomaniak_historylists every destructive action of the current session, andinfomaniak_undoreverses the ones that are reversible.
See ARCHITECTURE.md for the full design rationale.
Install
Available on npm — the recommended path is to let npx fetch the latest release on demand:
(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:
If you'd rather pin to a specific commit (or hack on the source), install from this repo:
Configure Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %AppData%\Claude\claude_desktop_config.json (Windows):
Restart Claude Desktop to pick up the change.
Configure Claude Code
Authentication
Two distinct credentials are needed because Infomaniak runs two APIs side-by-side:
1. Bearer token (required)
- Sign in to your Infomaniak account.
- Go to manager.infomaniak.com/v3/ng/profile/user/token/list.
- Click "Create a token", give it a long lifetime, copy the value.
- 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.
With INFOMANIAK_AUTH_MODE=auto (the default), the MCP reads these cookies on demand using chrome-cookies-secure. Nothing is ever written to disk; cookies live in memory for the duration of one operation.
When the session expires, simply reload manager.infomaniak.com in Chrome — the MCP will pick up the fresh cookies on the next call.
3. Manager session (manual fallback)
For headless environments or troubleshooting:
To copy them: open Chrome DevTools on manager.infomaniak.com, Application → Cookies, copy SASESSION and MANAGER-XSRF-TOKEN (URL-encoded — paste as-is, the MCP decodes).
Quick example
A typical first conversation, end-to-end:
Tools
78 tools across 22 areas. Use infomaniak_help to fuzzy-search by intent, or infomaniak_explain to dump a tool's full JSON schema.
Introspection (start here)
Organizations & products
Web hosting sites
Site aliases
Additional FQDNs bound to an existing site's Apache vhost / DocumentRoot — how you serve several domains from a single install without provisioning a new site.
SSL certificates
Databases
⚠️ Both tools take a
grantsarray that declares every database the user may access — anything omitted is set to no-access. Callinfomaniak_get_database_userfirst and copy the currentpermissions, or you will silently revoke access. This is deliberate: it is also the canonical way to revoke a grant.They use the manager-private endpoint rather than the public API on purpose. The public
PATCH /1/web_hostings/{id}/database_users/{user}accepts a password, changes it, and silently wipespermissionsandapplications— seeREVERSE-ENGINEERING.md§Database users.Prefer these tools over a direct MariaDB
ALTER USER/SET PASSWORDover SSH. The manager is the source of truth for hosting database credentials: a password set only in MariaDB diverges from it silently, and gets reverted to the manager's value at the next Infomaniak maintenance — which can be months later, with no apparent link to the change.
FTP / SSH users
DNS & DNSSEC
Identity ("who am I?")
Account / Org (deep)
Mail (deep)
Domain (deep)
kDrive (deep, manager-private)
VPS / Cloud Server
Node.js apps (Cloud Server hosting_3)
All Node.js tools are manager-private (the public Bearer API exposes only a state-check for Node.js hostings). They require
INFOMANIAK_AUTH_MODE=auto(Chrome cookies) ormanual(SASESSION + MANAGER-XSRF-TOKEN env vars). SeeREVERSE-ENGINEERING.md§Node.js DevOps.
kDrive
URL shortener
Swiss Backup
AI Tools
Workflows (multi-step)
Escape hatch (everything else)
Limitations
- Hard rate limit of 60 req/min on
api.infomaniak.com. The MCP throttles automatically with a token-bucket. You will see brief queueing delays on heavy bursts; this is intentional and protects your token from blacklisting. - No
directoryoutside/sites/when creating a site. Required by the manager backend (silently no-ops otherwise — seeREVERSE-ENGINEERING.md). - Manager session cookies expire (typically every few hours / when you sign out of Chrome). Re-open manager.infomaniak.com to refresh.
- One concurrent operation per hosting — Infomaniak rejects concurrent POSTs on the same hosting with
400 operation_in_progress. The MCP serializes write calls per hosting. - WordPress installation is intentionally out of scope. Create the empty site with this MCP, then install WP from the manager's wizard (the
applications/addflow uses an undocumented per-step wizard that is too brittle to automate cleanly today).
Roadmap
Shipped in v0.7 (current)
- ✅ Web hosting: list + create + delete sites, databases, FTP/SSH users
- ✅ DNS: full CRUD on records, DNSSEC enable/disable/check
- ✅ Mail: mailboxes, aliases, signatures, backups, redirections — all CRUD
- ✅ kDrive: list drives + browse files
- ✅ Swiss Backup: list slots
- ✅ AI Tools: list products + public model catalogue
- ✅ URL shortener: full CRUD
- ✅ Account audit: domains expiring soon, locked products, ongoing operations
- ✅ Workflow tools:
provision_site_full,audit_dns_zones - ✅
undo/historysession tools - ✅ Generic API escape hatch for any documented endpoint
Next (v0.8+)
- ⬜ kDrive write: upload, download, move, share, archive
- ⬜ Newsletter: campaigns, contacts (untouched today)
- ⬜ kChat: channels, threads, posts (no public API yet — needs reverse-engineering)
- ⬜ Workflow:
provision_wordpress_site(needs a WP install path that does not depend on the brittle manager wizard) - ⬜ Swiss Backup write: slot creation, schedules, restores
- ⬜ Per-tool happy-path tests to push coverage from 35% to 70%
- ⬜ MCPB packaging for one-click install in Claude Desktop
FAQ
Is this an official Infomaniak product?
No. It is community-driven, MIT-licensed, and not affiliated with, endorsed by, or sponsored by Infomaniak Network SA. See the disclaimers in NOTICE and REVERSE-ENGINEERING.md.
Does it work with clients other than Claude?
Yes. It speaks the standard Model Context Protocol over stdio, so it works with any MCP-capable client — Claude Desktop, Claude Code, Cursor, Cline, Continue, Zed AI, and the MCP Inspector for debugging.
Will my Infomaniak token / session ever leave my machine?
No. The server runs locally over stdio. Your Bearer token is read from INFOMANIAK_API_TOKEN (env or .env) and used only to call api.infomaniak.com. The Chrome cookies (SASESSION, MANAGER-XSRF-TOKEN) live in memory for the duration of a single tool call and are never persisted. Logs redact every sensitive value (tokens, cookies, passwords).
Does it support self-hosting / running outside macOS?
Yes — INFOMANIAK_AUTH_MODE=manual lets you paste cookies straight into env vars, which is the path to use on Linux servers, Docker containers, or CI. Auto-extraction from Chrome works on macOS, Windows, and Linux when Chrome is installed locally.
Why does site creation use a manager-private endpoint and not the public API?
Because the public POST /1/products/{id}/web_hostings/{hid}/sites endpoint silently returns a success response without actually creating anything. After reverse-engineering the manager bundle we found that the manager-private endpoint requires force_fqdn: true, directory: /sites/..., and environment: apache_php — none of which are documented. Full write-up in REVERSE-ENGINEERING.md.
Can it install WordPress automatically?
Not today. The manager's applications/add flow is a multi-step wizard with per-step tokens that is brittle to script. The recommended pattern is: create the empty site with this MCP, then install WordPress (or any other CMS) from the manager wizard or by uploading via FTP/SSH.
Is there a hosted / SaaS version?
No. By design — this server runs against your own credentials on your own machine. There is no hosted SaaS, no hosted proxy, no telemetry.
How do I report a bug or request a tool?
Open a GitHub issue. Include the exact tool call, the input, the response (sanitized — strip tokens, cookies, customer names), and your environment (Node version, OS, MCP client, plan tier). PRs with a failing test are doubly welcome.
What about Infomaniak's own AI Tools?
Infomaniak runs a Swiss-sovereign AI cloud hosting Llama, Mixtral, Whisper and other open-weights models. This MCP exposes infomaniak_list_ai_products and infomaniak_list_ai_models so an agent can discover what's available and what models are public on your account; we deliberately do not wrap their inference endpoints (use the OpenAI-compatible API directly for that).
Contributing
Contributions are welcome. Please read CONTRIBUTING.md and follow the CODE_OF_CONDUCT.md. Security issues should be reported privately per SECURITY.md.
If this saved you time
The fastest way to support the project is a ⭐ star on GitHub — it helps other Infomaniak users find this and tells me what to keep building.
You can also:
- Open an issue for bugs, edge cases, or missing tools
- Start a discussion for design or API questions
- Share what you built with it — I'd love to hear
License
MIT — see NOTICE for the trademark disclaimer.
This project is not affiliated with Infomaniak Network SA. "Infomaniak", "kDrive", "kChat", "kMeet", "kSuite", "Swiss Backup" are trademarks of Infomaniak Network SA.
Développé par Mogacode, agence de référencement en abonnement : notre technologie.
來源:README.md,提交 2db298b
工具
0版本歷史
1- v0.15.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分