infomaniak-mcp-agent

v0.15.1
io.github.Mogacode-ma/infomaniak-mcp-agent Checked 1 day ago Published 5 months ago

Unofficial Infomaniak MCP — hosting, Node.js, mail, DNS, kDrive, SSL, VPS, domains.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

infomaniak_overview

Returns a summary of all Infomaniak organizations and products you have access to. Best called first in a session.

ParameterTypeDescription
account_idinteger

infomaniak_help

Suggest which Infomaniak tools to use for a given intent expressed in natural language. Lightweight keyword matching against tool names and descriptions.

ParameterTypeDescription
intent *stringFree-form description of what you want to do, in any language.
limitinteger

infomaniak_explain

Returns the full definition of a specific tool — description, annotations, input parameters and output shape.

ParameterTypeDescription
tool *stringName of the tool to explain (e.g. 'infomaniak_overview').

infomaniak_audit_account

Scan an Infomaniak organization for actionable issues: products expiring soon, products in maintenance, locked products, ongoing operations.

ParameterTypeDescription
account_idintegerOrganization/account ID. Optional: defaults to the first account the token has access to. Discover via infomaniak_overview.
days_aheadintegerFlag products expiring within this many days as warnings. Default 60.
max_domain_checksintegerCap on the number of `/1/domain/{name}` lookups used to disambiguate stale `expired_at` flags on domain products. Each lookup is one API call. With the 60 req/min rate limit, leave this ≤ 50 unless…

infomaniak_audit_dns_zones

Bulk-read every domain owned by an account: number of DNS records and DNSSEC status per zone. Useful for spot-checking large fleets.

ParameterTypeDescription
account_idintegerOrganization/account ID. Optional: defaults to the first account the token has access to.
filter_containsstringFilter domains by substring (case-insensitive). Use this for targeted audits (e.g. 'broz.be') to avoid scanning the entire fleet.
max_domainsintegerCap the number of domains scanned. Each domain requires 2 sequential API calls (records + dnssec). Default 20 keeps execution under ~30s.

infomaniak_history

List the destructive actions taken in the current session, most recent first. Each entry includes whether it can be reversed via infomaniak_undo.

ParameterTypeDescription
limitinteger

infomaniak_undo

Reverse a destructive action recorded in the session history (when reversible). Two-phase commit: returns a plan first, then applies the undo on the second call.

ParameterTypeDescription
history_id *string
confirmation_tokenstring

infomaniak_get_my_profile

Get the identity of the currently-authenticated Infomaniak user: name, email, language, country, timezone, current_account_id (= the organization being managed by default), and the full security posture (2FA status, recovery email, validated phone, trusted devices, last login). Use this first to confirm which user + account the MCP is acting on behalf of. Manager-private — requires SASESSION cookie.

infomaniak_get_my_security

Security posture report for the current user: 2FA status & method, recovery email, validated phone, Yubikey, remaining rescue codes, last login timestamp, password age, and the list of trusted (auth-paired) devices with their last connection IP and time. Useful as a periodic security review or pre-action sanity check. Manager-private.

infomaniak_provision_site_full

Provision a complete website end-to-end: web site + MariaDB database + DNS A record. Two-phase commit at the workflow level. The plan lists every step that will run; on apply, each step is executed and reported in order so you can see partial completion if anything fails mid-way.

ParameterTypeDescription
database_name *stringMariaDB database to create alongside the site. Alphanumeric + underscores only (no dots / dashes), 1-64 chars. Hosting prefix prepended automatically.
fqdn *stringFull FQDN of the new site (e.g. 'shop.example.com'). Lowercase, must contain at least one dot and end with a TLD of ≥ 2 chars. NOT just a subdomain label.
hosting_id *integerWeb hosting ID where the new site lives. Discover via infomaniak_list_hostings.
confirmation_tokenstringToken from the prior plan response. Required on the apply phase only.
skip_dnsbooleanIf true, the DNS step is skipped. Use when DNS is managed elsewhere (Cloudflare, OVH, etc.) and you only want the site + database provisioned.
target_ipv4stringIPv4 the A record will point at. Default is Infomaniak's shared apache_php front-end (185.177.62.161). Override if your hosting has a dedicated IP.
ttlintegerTTL of the A record in seconds. 60 to 86400 (24h). Default 3600 (1h).
zonestringParent DNS zone to host the A record. If omitted, derived from fqdn (everything after the first dot). Provide explicitly when the subdomain is multi-level, e.g. fqdn='app.subzone.example.com' but zone…

infomaniak_list_organizations

Lists all Infomaniak organizations (accounts) the current token has technical access to.

infomaniak_get_account_full

Full organization detail: legal entity, billing address(es), VAT, locale, timezone, logo URLs, support tier (premium=2), 2FA-required policy, your role (owner/admin/billing/user), user/owner counts, tags. Manager-private.

ParameterTypeDescription
account_id *integerAccount/organization id. Discover via infomaniak_list_organizations.

infomaniak_list_teams_and_tags

List the teams (with owners + user/product counts) AND the tags (with products carrying each tag) of an organization, in a single call. Both are useful to understand how an org partitions access and labels its products. Manager-private.

ParameterTypeDescription
account_id *integer

infomaniak_list_hostings

Lists web hostings (classic + Node.js) for a given Infomaniak organization. Use infomaniak_list_organizations first to discover account IDs.

ParameterTypeDescription
account_idintegerOrganization/account ID. Optional: if omitted, falls back to the first account the token has access to. Use infomaniak_overview to enumerate.
include_nodejsboolean

infomaniak_list_domains

List every domain owned by an Infomaniak organization, with creation and expiration dates.

ParameterTypeDescription
account_idintegerOrganization/account ID. Optional: defaults to the first account the token has access to. Discover via infomaniak_overview.

infomaniak_get_domain

Get detailed information about a domain (DNS management status, DNSSEC, IDN, errors).

ParameterTypeDescription
domain *stringThe domain name, e.g. 'example.com'

infomaniak_get_domain_full

Full domain detail including auth_code (EPP transfer code), transfer_status, trade_status, termination state, glue records, TLD/registry info, attached service (web hosting), DNS detail, DNS health diagnostic, owner (registrant), associated products on the domain AND its subdomains, and the DNS logs API URL. Accepts either domain_id or FQDN. Manager-private.

ParameterTypeDescription
domain *stringEither the numeric domain id (e.g. '1938345') OR the FQDN (e.g. 'agensea.net'). Both work. Discover via infomaniak_list_domains.

infomaniak_find_site

Locate a domain (e.g. broz.be) in the Infomaniak account tree. Returns {account_id, hosting_id, site_id, hosting_label, full site object}. Use this BEFORE any tool that requires hosting_id + site_id (get_certificate, request_certificate, list_databases, etc.) when you only know the domain name. Significantly cheaper than calling list_hostings + list_sites manually because it short-circuits on the first match.

ParameterTypeDescription
domain *stringPublic domain to locate. Accepts root domains (broz.be) or sub-domains (crm.coden.lu). Punycode (xn--...) is fine.
account_idintegerOptional account_id to restrict the lookup. Omit to scan every account the token has access to.

infomaniak_list_sites

Lists all sites on a given web hosting (with applications attached).

ParameterTypeDescription
hosting_id *integer

infomaniak_create_site

Creates a new site on an Infomaniak web hosting. Two-phase commit: first call returns a plan with a confirmation_token, second call (same params + token) actually creates the site.

ParameterTypeDescription
fqdn *string
hosting_id *integer
confirmation_tokenstring
directorystring
environmentstring

infomaniak_delete_site

Delete a site from an Infomaniak web hosting. Two-phase commit: first call returns a plan with the site preview + token, second call (same params + token) actually deletes. WARNING: this also wipes the site directory on the FTP backend after a short grace period.

ParameterTypeDescription
hosting_id *integerWeb hosting ID. Discover via infomaniak_find_site(domain) or infomaniak_list_hostings.
site_id *integerSite ID on that hosting. Same source as hosting_id (infomaniak_find_site or infomaniak_list_sites).
confirmation_tokenstringToken returned by the first (plan) phase. Re-pass on the second call to execute the delete. Omit on first call to receive the plan + token (full preview of what will be removed).

infomaniak_list_site_aliases

List the FQDNs (main + aliases) bound to a web hosting site. The site responds to all of them via the same Apache vhost / DocumentRoot — adding an alias is how you serve more domains from a single WordPress install without provisioning a new site. Manager-private.

ParameterTypeDescription
hosting_id *integerWeb hosting id. Discover via infomaniak_list_hostings / infomaniak_find_site.
site_id *integerSite id on the hosting. Discover via infomaniak_find_site.

infomaniak_add_site_aliases

Bind one or more additional FQDNs (including wildcards like `*.example.com`) to a web hosting site. Lets the site's Apache vhost / DocumentRoot serve those new domains too — no new site provisioning required. Two-phase commit. Asynchronous: returns a `progress_id`; the alias appears in `infomaniak_list_site_aliases` after a few seconds of provisioning. Manager-private.

ParameterTypeDescription
aliases *arrayOne or more FQDNs to bind to the site. WILDCARDS ARE ACCEPTED (e.g. `*.evo.broz.be`) — use this pattern to serve any subdomain from a single WordPress install. The DNS for each alias must already po…
hosting_id *integer
site_id *integer
confirmation_tokenstringToken from the prior plan response. Required on the apply phase only.

infomaniak_delete_site_alias

Remove one alias FQDN from a web hosting site (the main FQDN cannot be removed). Two-phase commit. After this, the site's Apache vhost will no longer respond to the alias. Manager-private.

ParameterTypeDescription
alias *stringThe FQDN to remove (e.g. `*.evo.broz.be` or `client1.example.com`). Cannot remove the main FQDN of the site (that's the `is_main: true` entry in the list).
hosting_id *integer
site_id *integer
confirmation_tokenstring

infomaniak_get_certificate

Return the full SSL certificate detail for one site on a web hosting: provisioning state (`installed`, `updating`, `error`, …), type (free/paid/custom) and sub-type (`lets_encrypt`, …), issuer + organization, validity flags (`is_valid`, `is_expired`, `is_selfsigned`), issue and expiry timestamps, SHA-256 fingerprint, main FQDN in IDN form, ACME identifier errors and the timestamp of the last issuance attempt.

ParameterTypeDescription
hosting_id *integer
site_id *integer

infomaniak_request_certificate

Request a new SSL certificate (or re-issue / renew an existing one) for a site on a web hosting. Two-phase commit. Three types supported: `free` (Let's Encrypt, no extra fields), `paid` (Sectigo, requires `certificate_id`), `custom` (BYO PEM, requires `certificate` + `private_key`). Returns an `operation_uuid`; poll `infomaniak_get_certificate` to track progress.

ParameterTypeDescription
hosting_id *integerWeb hosting ID. Discover via infomaniak_find_site(domain) → hosting_id.
site_id *integerSite ID on that hosting. Same source as hosting_id.
type *stringCertificate kind: `free` (Let's Encrypt, no extra fields), `paid` (pre-purchased Sectigo, requires `certificate_id`), `custom` (bring-your-own PEM, requires `certificate` + `private_key`). Default wor…
certificatestringPEM-encoded leaf certificate. REQUIRED when type=`custom`, ignored otherwise. Multi-line string starting with `-----BEGIN CERTIFICATE-----`.
certificate_idintegerPre-purchased certificate ID. REQUIRED when type=`paid`, ignored otherwise.
confirmation_tokenstringToken from the prior plan response. Required on the apply phase only.
intermediate_certificatestringPEM-encoded intermediate CA chain. OPTIONAL for type=`custom` but recommended; without it some clients may fail trust validation.
private_keystringPEM-encoded private key matching `certificate`. REQUIRED when type=`custom`. Multi-line string starting with `-----BEGIN PRIVATE KEY-----` (or `RSA PRIVATE KEY`).

infomaniak_delete_certificate

Delete the SSL certificate of a site (the site will fall back to no HTTPS or Infomaniak's default cert until a new one is requested). Two-phase commit. The plan pulls the current certificate status so the caller can see what is about to be removed.

ParameterTypeDescription
hosting_id *integerWeb hosting ID. Discover via infomaniak_find_site(domain) → hosting_id.
site_id *integerSite ID on that hosting. Same source as hosting_id.
confirmation_tokenstringToken from the first (plan) phase. Re-pass to execute. Omit to receive the plan + token. Undo afterwards by calling infomaniak_request_certificate with type='free'.

infomaniak_list_databases

List every MariaDB database attached to a web hosting (with disk usage and any running operations).

ParameterTypeDescription
hosting_id *integer

infomaniak_get_database

Get the full detail of a specific database (disk usage, application, permissions, backups).

ParameterTypeDescription
database_name *stringDatabase name as listed by infomaniak_list_databases (e.g. 'myprefix_WP123456')
hosting_id *integer

infomaniak_create_database

Create a new MariaDB database on a web hosting. Two-phase commit. Goes through the manager-private API because the public one silently no-ops on database POSTs.

ParameterTypeDescription
database_name *stringDatabase name. Alphanumeric and underscores only (no dots, dashes or hyphens), 1-64 chars. Infomaniak automatically prepends the hosting prefix (e.g. 'v33dqc_') — do NOT include it yourself.
hosting_id *integerWeb hosting ID where the database will live. Discover via infomaniak_find_site(domain) or infomaniak_list_hostings.
confirmation_tokenstringToken from the prior plan response. Required on the apply phase only.
descriptionstringOptional description shown in the manager UI (≤ 255 chars).

infomaniak_delete_database

Delete a MariaDB database. Two-phase commit, manager-private API. WARNING: the database content (tables, rows) is wiped and cannot be recovered without an Infomaniak backup.

ParameterTypeDescription
database_name *stringFull database name as returned by infomaniak_list_databases (includes the hosting prefix, e.g. 'v33dqc_WP1250842'). NOT the unprefixed name you'd pass to create_database.
hosting_id *integerWeb hosting ID. Discover via infomaniak_find_site(domain) or infomaniak_list_hostings.
confirmation_tokenstringToken from the first (plan) phase. The plan response includes disk usage and any linked application so you can review before confirming. Re-pass to execute.

infomaniak_list_database_users

List the MariaDB-level user accounts attached to a web hosting (each has its own password and a `permissions` array listing the databases they can read/write/administer). For WordPress sites the user account has the same name as its database and is marked `protected: true`.

ParameterTypeDescription
hosting_id *integer

infomaniak_get_database_user

Fetch the detail of a single MariaDB-level user (applications, permissions, link to phpMyAdmin).

ParameterTypeDescription
hosting_id *integer
user_name *stringFull user name including the hosting prefix

infomaniak_change_database_user_password

Rotate a MariaDB user's password AND set its database grants atomically. Manager-private PATCH that preserves grants (the public-API PATCH silently wipes permissions; this uses the manager-private endpoint with the correct full-permissions-object shape). Two-phase commit. The `grants` array declares EVERY database this user should access — anything omitted is set to no-access. Tip: call `infomaniak_get_database_user` first and copy current `permissions`. Manager-private.

ParameterTypeDescription
grants *arrayFULL list of databases this user should have access to AFTER the change. Anything not in this list is set to no-access. Tip: call `infomaniak_get_database_user` first and copy the current `permissions…
hosting_id *integerWeb hosting id.
new_password *stringNew password for the MariaDB user (server enforces complexity rules).
user_name *stringMariaDB user name (e.g. `acct_WP1234066`).
confirmation_tokenstringToken from the prior plan response. Required on apply only.

infomaniak_change_database_user_permissions

Update which databases a MariaDB user can access (read/write/admin per DB). Does NOT change the password. Same manager-private endpoint as the password rotation. Two-phase commit. Anything not in `grants` is set to no-access — this is the canonical way to revoke a grant. Manager-private.

ParameterTypeDescription
grants *arrayFULL list of databases this user should access. Empty list = revoke ALL grants (user can no longer access any database).
hosting_id *integer
user_name *string
confirmation_tokenstring

infomaniak_list_hosting_users

List the FTP / SSH users that have access to a web hosting (with environment and SSH flag).

ParameterTypeDescription
hosting_id *integer

infomaniak_create_hosting_user

Create a new FTP / SSH user on a web hosting. Two-phase commit. Connection types: `ftp` (SFTP-only, no shell) or `ssh` (full shell + FTP). The password follows Infomaniak's default policy.

ParameterTypeDescription
hosting_id *integerWeb hosting ID where the user will be created. Discover via infomaniak_list_hostings.
login *stringUser login WITHOUT the hosting prefix (e.g. 'audit', not 'q387gx_audit'). Alphanumeric + underscore/dash only, 1-32 chars. Infomaniak prepends the hosting prefix automatically.
password *stringUser password. Minimum 8 chars with at least one lowercase, one uppercase, one digit. Special character recommended but not required.
confirmation_tokenstringToken from the prior plan response. Required on the apply phase only.
connection_typestringAccess level. `ssh` = full shell + FTP/SFTP, `ftp` = SFTP-only (no interactive shell). Default `ftp` (safer).
home_directorystringSub-path inside the hosting the user is jailed into. Default '/' (root of the hosting). Use to scope an FTP-only user to a single site, e.g. '/sites/example.com'.

infomaniak_delete_hosting_user

Revoke a hosting user (FTP / SSH access). Two-phase commit. Existing files are not deleted.

ParameterTypeDescription
hosting_id *integerWeb hosting ID. Discover via infomaniak_list_hostings.
login *stringFull user login as shown by infomaniak_list_hosting_users (includes the hosting prefix, e.g. 'q387gx_audit'). User's files are preserved on disk; only access is revoked.
confirmation_tokenstringToken from the first (plan) phase. Re-pass on the second call to actually revoke access. Omit on first call to receive the plan + token.

infomaniak_change_hosting_user_password

Rotate the password of an FTP/SSH user on a web hosting. Two-phase commit. The `connection_type` field is required by Infomaniak (the manager UI always re-sends it); pass the user's current value to avoid changing it. Manager-private endpoint.

ParameterTypeDescription
connection_type *stringConnection type the user keeps after the change. `ftp` = SFTP-only, `ssh` = full shell + SFTP. Pass the CURRENT value if you don't want to change it (the manager UI always sends it).
hosting_id *integer
login *stringFULL hosting-user login as listed by `infomaniak_list_hosting_users` (e.g. `acct_username`).
new_password *stringNew password for the FTP/SSH user.
confirmation_tokenstring

infomaniak_change_hosting_user_connection_type

Promote or demote an FTP/SSH user: `ftp` = SFTP-only, `ssh` = full shell + SFTP. Two-phase commit. Does NOT change the password. Manager-private endpoint.

ParameterTypeDescription
connection_type *stringNew connection type. `ftp` = SFTP-only, `ssh` = full shell + SFTP.
hosting_id *integer
login *string
confirmation_tokenstring

infomaniak_dns_list_records

List every DNS record on a zone managed by Infomaniak. Use the root domain (e.g. 'example.com'), not a subdomain.

ParameterTypeDescription
zone *stringZone (root domain), e.g. 'example.com'

infomaniak_dns_create_record

Create a DNS record on an Infomaniak-managed zone. Two-phase commit: first call returns a plan + token, second call (same params + token) actually creates the record.

ParameterTypeDescription
source *stringSubdomain part (e.g. 'www', 'mail') or '.' for the zone apex. Do NOT include the zone itself.
target *stringRecord value. For MX and SRV, embed the priority inline as Infomaniak does, e.g. '5 mta-gw.infomaniak.ch'.
type *stringRecord type as enum: A, AAAA, CNAME, MX, TXT, NS, SRV, CAA, PTR. Must be UPPERCASE.
zone *stringDNS zone (root domain) to add the record to, e.g. 'broz.be'. Must be a domain whose DNS is managed by Infomaniak (check via infomaniak_get_domain).
confirmation_tokenstringToken from the prior plan response. Required on the apply phase only.
ttlintegerTime-to-live in seconds. Min 60, max 86400 (24h). Default 3600 (1h).

infomaniak_dns_update_record

Update one or more fields of a DNS record. Two-phase commit: first call shows current vs proposed values + token; second call (same params + token) applies the update.

ParameterTypeDescription
record_id *integer
zone *string
confirmation_tokenstring
sourcestring
targetstring
ttlinteger
typestring

infomaniak_dns_delete_record

Delete a DNS record from an Infomaniak-managed zone. Two-phase commit: first call returns a plan with a preview of the record to delete + token, second call (same params + token) actually deletes.

ParameterTypeDescription
record_id *integerNumeric id of the record to delete. Get it from infomaniak_dns_list_records → records[].id. NOT the record name or source.
zone *stringDNS zone (root domain) the record belongs to, e.g. 'broz.be'. Must be a domain whose DNS is managed by Infomaniak.
confirmation_tokenstringToken from the first (plan) phase. The plan response includes a full preview of the record so you can verify before confirming. Re-pass to execute.

infomaniak_manage_dnssec

Unified DNSSEC management for a domain: `check` (read state + KSK/DS records), `enable` (publish DS record at registry), or `disable` (remove DS record). `enable` and `disable` use a two-phase commit: the first call returns a plan + confirmation_token (TTL ~60s), the second call applies the change. Replaces the v0.9 trio `dnssec_check` / `dnssec_enable` / `dnssec_disable` with no loss of capability.

ParameterTypeDescription
domain *stringPublic domain to operate on (e.g. 'broz.be'). Must be a domain registered through or managed by this Infomaniak account.
actionstringOperation to perform. `check` is read-only (default). `enable`/`disable` are destructive and require the two-phase commit (confirmation_token).
confirmation_tokenstringRequired for `enable`/`disable` after receiving a plan. Pass the token from the previous (plan) response within 60 seconds.

infomaniak_list_mail_hostings

List every mail hosting (a.k.a. email_hosting) attached to an Infomaniak organization.

ParameterTypeDescription
account_idintegerOrganization/account ID. Optional: defaults to the first account the token has access to. Discover via infomaniak_overview.

infomaniak_list_mailboxes

List every mailbox on a given mail hosting.

ParameterTypeDescription
mail_hosting_id *integer

infomaniak_get_mailbox_info

Read mailbox metadata in one call. Pick any subset of {aliases, signatures, backups} via the `fields` argument; the tool hits only the corresponding endpoints in parallel. Replaces the v0.9 trio `get_mailbox_aliases` / `get_mailbox_signatures` / `get_mailbox_backups` with no loss of capability.

ParameterTypeDescription
mail_hosting_id *integerMail hosting ID. Discover via infomaniak_list_mail_hostings.
mailbox_name *stringLocal part of the mailbox (the part before @, e.g. 'anthony' for anthony@coden.lu). NOT the full email address.
fieldsarraySections to fetch. Each adds one API call. Omit to fetch all three.

infomaniak_get_mail_hosting_full

Full mail hosting detail with diagnostic_dns (MX/SPF/DKIM/DMARC health check), quotas (mailboxes + redirections + per-mailbox disk), admin user, parent kSuite link, FQDN list, and team access flag. Use this for mail-config sanity checks. Manager-private.

ParameterTypeDescription
mail_hosting_id *integerMail hosting id. Discover via infomaniak_list_mail_hostings.

infomaniak_get_mailbox_full

Full mailbox detail: auto-responder (vacation reply) state + content, aliases, redirections, IMAP/POP3 last login, password age, size on disk, trusted devices count, DKIM signature flag, SMTP ban status, Gmail-style filtering (commercials/social_networks), authorized/blocked senders, attached users + teams. Useful for mailbox audits and onboarding flows. Manager-private.

ParameterTypeDescription
mail_hosting_id *integer
mailbox_name *stringLocal part of the mailbox (e.g. 'anthony' for anthony@coden.lu).

infomaniak_create_mailbox

Create a new mailbox on a mail hosting. Two-phase commit: plan + token first, then apply with token. The password never appears in the plan output.

ParameterTypeDescription
mail_hosting_id *integerMail hosting ID. Discover via infomaniak_list_mail_hostings.
mailbox_name *stringLocal part of the mailbox WITHOUT the @domain (e.g. 'info', NOT 'info@example.com'). Lowercase alphanumeric with dots, underscores or dashes; 1-64 chars.
password *stringInitial mailbox password. Infomaniak policy: ≥ 8 chars, at least one lowercase, one uppercase, one digit and one special character. NEVER appears in the plan response — only in the apply call.
confirmation_tokenstringToken from the prior plan response. Required on the apply phase only.
descriptionstringOptional free-text description (≤ 255 chars), shown in the manager UI.

infomaniak_delete_mailbox

Delete a mailbox. Two-phase commit. WARNING: this also deletes all stored emails for that mailbox.

ParameterTypeDescription
mail_hosting_id *integerMail hosting ID. Discover via infomaniak_list_mail_hostings.
mailbox_name *stringLocal part of the mailbox WITHOUT the @domain (e.g. 'anthony' for anthony@coden.lu). NOT the full email address. Verify with infomaniak_list_mailboxes before deleting — this wipes stored mail.
confirmation_tokenstringToken from the first (plan) phase. The plan response shows the mailbox + a warning that stored mail will be wiped. Re-pass to execute.

infomaniak_create_mailbox_alias

Add a new alias to an existing mailbox. Two-phase commit. The alias will receive emails delivered to the underlying mailbox.

ParameterTypeDescription
alias *string
mail_hosting_id *integer
mailbox_name *string
confirmation_tokenstring

infomaniak_list_redirections

List every server-side redirection rule on a mail hosting.

ParameterTypeDescription
mail_hosting_id *integer

infomaniak_create_redirection

Create a server-side mail redirection. Two-phase commit. Emails received at name@<domain> will be forwarded to every address in targets.

ParameterTypeDescription
mail_hosting_id *integerMail hosting ID. Discover via infomaniak_list_mail_hostings.
name *stringLocal part of the source address (e.g. 'support' to forward 'support@coden.lu'). Lowercase alphanumeric with dots, underscores or dashes; 1-64 chars. NOT the full email.
targets *arrayDestination addresses, full emails. Every address must be valid. Multiple targets fan-out (each receives a copy).
confirmation_tokenstringToken from the prior plan response. Required on the apply phase only.

infomaniak_delete_redirection

Delete a mail redirection. Two-phase commit.

ParameterTypeDescription
mail_hosting_id *integerMail hosting ID. Discover via infomaniak_list_mail_hostings.
name *stringLocal part of the redirection source to remove (e.g. 'support' to delete 'support@coden.lu'). NOT the full email. List existing rules with infomaniak_list_redirections.
confirmation_tokenstringToken returned by the first (plan) phase of the two-phase commit. Re-pass it on the second call to actually delete. Omit on first call to receive the plan + token.

infomaniak_list_drives

List every kDrive the account has access to.

ParameterTypeDescription
account_idintegerOrganization/account ID. Optional: defaults to the first account the token has access to. Discover via infomaniak_overview.

infomaniak_list_drive_files

List files and subfolders of a kDrive root or a specific folder. Supports pagination.

ParameterTypeDescription
drive_id *integer
pageinteger
parent_idintegerFolder id to list inside. Omit to list the drive's root.
per_pageinteger

infomaniak_get_drive_full

Full kDrive detail: name, total size (bytes), used size, creation/update timestamps, maintenance flag. Useful for storage usage monitoring. Manager-private — distinct from the existing `infomaniak_list_drives` which hits the public Bearer API.

ParameterTypeDescription
drive_id *integerkDrive id. Discover via infomaniak_list_drives.

infomaniak_list_drive_users

List the users with access to a kDrive. Useful for access audits — who can touch what's in this drive. Manager-private.

ParameterTypeDescription
drive_id *integer

infomaniak_list_drive_trash

List the items currently in the kDrive trash bin (files and folders). Each item shows when it was deleted and when added to the drive. Use this to audit what's pending hard-deletion. Manager-private.

ParameterTypeDescription
drive_id *integer

infomaniak_list_ai_products

List the Infomaniak AI products the account owns. If empty, the user has not subscribed to any AI plan; subscribe at https://www.infomaniak.com/en/hosting/ai-tools.

infomaniak_list_ai_models

List the public catalogue of LLM/STT/embedding models hosted by Infomaniak (Mixtral, Llama variants, Whisper, …). Useful to know what to target with the OpenAI-compatible chat endpoint.

infomaniak_list_vps

List the VPS (Cloud Server, Jelastic-managed) products of an organization. Returns id, customer_name, internal_name (the server hostname), location, cloud_version, managed/lite flags, billing. Use this before `infomaniak_get_vps_full` to find the id of a specific server. Manager-private.

ParameterTypeDescription
account_id *integerAccount id. Discover via infomaniak_list_organizations.

infomaniak_get_vps_full

Full VPS / Cloud Server detail: location (datacenter), managed/lite flags, IPv4 + IPv6, CPU/RAM/perf, bandwidth + traffic, disk usage (total/assigned/used/database), website/hosting counts, MySQL version + database type, PHP versions, firewall config, premium support contacts (email/url/emergency), migration history. Use after `infomaniak_list_vps` to drill into one server. Manager-private.

ParameterTypeDescription
vps_id *integerVPS id. Discover via infomaniak_list_vps.

infomaniak_list_nodejs_apps

List Node.js applications running on a web hosting. Returns `site_id` + `vhost_route_id` for each app — both are needed for every other nodejs_* tool. Each Infomaniak Node.js hosting runs a single app, so this typically returns one entry. Uses the public Bearer API (more resilient than manager-private during Infomaniak maintenance).

ParameterTypeDescription
hosting_id *integerParent web_hosting id (service_id 1). Discover via infomaniak_list_hostings.

infomaniak_get_nodejs_app

Get full configuration of a Node.js application: Node version, listen port, start_command, build_command, public IPs (v4 + v6), SSL status, primary FQDN, preview URL, directory on disk, and disk usage. Manager-private — requires SASESSION + CSRF cookies.

ParameterTypeDescription
site_id *integerNode.js hosting id.
vhost_route_id *integerThe vhost_route_id of the app — get it from `infomaniak_list_nodejs_apps`. Also called `feature_id` in some responses.

infomaniak_nodejs_app_status

Get the live status of a Node.js application — `Running` or `Stopped`. Cheap call, safe to poll. Manager-private — requires SASESSION + CSRF cookies.

ParameterTypeDescription
site_id *integer
vhost_route_id *integer

infomaniak_nodejs_app_aliases

List the FQDNs (domain names) serving a Node.js application. Returns the primary FQDN plus the automatic preview URL (xxx.preview.hosting-ik.com). Manager-private.

ParameterTypeDescription
site_id *integer
vhost_route_id *integer

infomaniak_nodejs_app_jobs

List the recent jobs that ran for a Node.js app (builds, restarts, etc.) with their status and a JWT-protected log_stream endpoint per job. Manager-private.

ParameterTypeDescription
site_id *integer
vhost_route_id *integer

infomaniak_nodejs_app_logs

Get credentials to consume the LIVE stdout/stderr stream of a Node.js application. Returns a one-shot JWT (valid ~1h) and the endpoint URL on `manager-logs-01.hosting-ik.com`. The stream itself is Server-Sent Events: consume with `curl -N -H 'Authorization: Bearer <jwt>' <endpoint>`. To fetch a single snapshot, kill the curl after a few lines. Manager-private.

ParameterTypeDescription
site_id *integer
vhost_route_id *integer

infomaniak_nodejs_app_thumbnail

Get a screenshot of the running Node.js app as a base64 JPEG data URL. Useful to visually confirm the app is alive without HTTP-probing. Set `refresh=true` to force a fresh screenshot. Manager-private.

ParameterTypeDescription
site_id *integer
vhost_route_id *integer
refreshbooleanAsk the manager to re-screenshot the page (slower). Default false (cached).

infomaniak_nodejs_app_action

Start, stop, restart, or build a Node.js application. Two-phase commit: first call returns a plan + token, second call (with the token + same args) applies. `stop` causes downtime until next start. `build` triggers a build job and returns its log_stream so you can tail the output. Manager-private.

ParameterTypeDescription
action *string`start` — start a Stopped app; `stop` — stop a Running app (causes downtime until next start/restart!); `restart` — gracefully restart the app (a few seconds of downtime); `build` — trigge…
site_id *integer
vhost_route_id *integer
confirmation_tokenstringToken from the prior plan response. Required on the apply phase.

infomaniak_list_swiss_backups

List Swiss Backup subscriptions on an Infomaniak organization (Acronis-based managed backup).

ParameterTypeDescription
account_idintegerOrganization/account ID. Optional: defaults to the first account the token has access to. Discover via infomaniak_overview.

infomaniak_list_short_urls

List the short URLs created by your account on Infomaniak's url-shortener service.

ParameterTypeDescription
pageinteger
per_pageinteger

infomaniak_short_urls_quota

Return the current consumption and limit of your account's short-URL quota.

infomaniak_create_short_url

Create a new short URL pointing to a long target. Two-phase commit. Use infomaniak_short_urls_quota first if you're not sure you have headroom.

ParameterTypeDescription
target *stringLong URL to shorten. Must be a complete http:// or https:// URL (e.g. 'https://example.com/page'). A bare domain like 'example.com' is rejected.
confirmation_tokenstringToken from the prior plan response. Required on the apply phase only.

infomaniak_api_call

Escape hatch: call ANY Infomaniak public API endpoint (api.infomaniak.com) when no dedicated tool exists. GET runs immediately. POST/PUT/PATCH/DELETE follow the two-phase commit pattern. Manager-private (/proxy/...) endpoints are NOT reachable through this tool — use a typed tool instead.

ParameterTypeDescription
method *string
path *string
body
confirmation_tokenstring
queryobject