Koskamo

4chems Platform MCP

Official MCP server for the 4chems EU-hosted regulatory platform, enabling AI agents to manage tenant onboarding, account registration, billing, and service administration for IUCLID, CHESAR, and QSAR Toolbox without exposing dossier data.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

4chems Platform MCP logo, by 4chemsVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-30Operated by 4chems
You need:Every other tool call requires a Bearer token, passed as the tool&rsquo;s authorization argument ( Bearer <token> )Tokens are issued by 4chemspass tokens, or trigger mutations with the user&rsquo;s explicit consent
MCP endpoint (Streamable HTTP)
https://mcp.4chems.com/mcp
Vendor documentation

What its tools do

32 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

32 of 32 have a description · 32 of 32 declare behavior hints · 0 of 32 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to 4chems.com ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 49% over 90 days
  • Availability 2 of 3 checks passed in 30 days

What you can do with it

  • Register new accounts and verify device login
  • Manage tenant members, consents, and service assignments
  • Submit inquiries and check onboarding requirements
  • Handle billing and invitation workflows

Source and maintenance

Vendor evidenceRegistry 0.12.1
Last repository push
Maintenance checked

Protocol and capabilities

Server
platform-api-customer 0.12.1
MCP protocol negotiated in check
2025-11-25
Tools
32 advertised
Resources
0 advertised
Resource templates
0 advertised
Prompts
0 advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  },
  "logging": {},
  "prompts": {
    "listChanged": true
  },
  "resources": {
    "subscribe": false,
    "listChanged": true
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Customer-tier tools for the platform API (/v1 endpoints only). Anonymous tools — get_catalog_templates, get_legal_entity_types, get_onboarding_route, start_inquiry, verify_inquiry, start_account_registration, verify_account_registration, start_device_login, and verify_device_login — work without an 'authorization' argument: call them with no token to explore the catalog, learn the next onboarding step, register, sign in, or send 4chems an inquiry. For inquiries, call start_inquiry, ask the user for the 6-digit code from their email, then call verify_inquiry — never guess or retry codes on your own. To create an account, call start_account_registration, ask the user for the 6-digit code from their email, then call verify_account_registration — never guess or retry codes, and never ask the user for a password. The user sets their password through the link Keycloak emails; then sign in with start_device_login and verify_device_login (poll while it answers pending, waiting retry_after seconds) and pass the returned access_token as 'authorization'. A tenant needs a business email (free-mail domains are refused), an attestation that the user may act for the company, and one trial per email domain; it starts as a 7-day trial. All other tools require a Bearer token as the 'authorization' argument ('Bearer <token>'). Mutation tools poll to completion before returning (the terminal operation envelope); if the poll bound is exceeded the tool returns the last polled envelope (status pending or running, with operation_id) for follow-up. Before record_consent, show the user the document URL and version and obtain an explicit affirmative answer; never record a consent on inference, on silence, or on a general instruction to proceed. Tool results carry structuredContent that validates against the tool's outputSchema; error results carry the problem+json object (code, detail, next_step…) in structuredContent.

Tools

32 advertised

get_catalog_templates — Get Catalog Templates
Advertised by the server during the last successful anonymous check.
Advertised read-only

Return the enabled ApplicationTemplate catalog, ordered by name. Call this to discuss trial and template options with a prospect or customer before starting a trial. If this doesn't answer your question, call `start_inquiry` to ask 4chems directly or request a call.

get_catalog_templates input schema
{
  "type": "object",
  "properties": {
    "authorization": {
      "type": "string",
      "default": ""
    }
  },
  "additionalProperties": false
}
get_catalog_templates output schema
{
  "type": "object",
  "required": [
    "result"
  ],
  "properties": {
    "result": {
      "type": "array",
      "items": {
        "type": "object",
        "title": "TemplateV1Out",
        "required": [
          "id",
          "code",
          "name",
          "description",
          "kind",
          "legacy",
          "legacy_note",
          "includes",
          "options",
          "enabled",
          "created_at",
          "updated_at"
        ],
        "properties": {
          "id": {
            "type": "string",
            "title": "Id",
            "format": "uuid"
          },
          "code": {
            "type": "string",
            "title": "Code"
          },
          "kind": {
            "type": "string",
            "title": "Kind"
          },
          "name": {
            "type": "string",
            "title": "Name"
          },
          "legacy": {
            "type": "boolean",
            "title": "Legacy"
          },
          "enabled": {
            "type": "boolean",
            "title": "Enabled"
          },
          "options": {
            "title": "Options"
          },
          "includes": {
            "title": "Includes"
          },
          "created_at": {
            "type": "string",
            "title": "Created At",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "title": "Updated At",
            "format": "date-time"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "legacy_note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Legacy Note"
          }
        },
        "description": "Customer-facing (/v1) catalog item (UC-072).\n\nDeliberately narrower than ``TemplateOut``: ``version``, ``image_url`` and\n``repository_url`` are dropped — no data source populates them and they were\npermanently null in the public response. The `/infra` catalog admin schema\n(``TemplateOut``) and the database columns are unchanged."
      },
      "title": "Response Get Catalog Templates"
    }
  },
  "x-fastmcp-wrap-result": true
}
get_catalog_templates annotations
{
  "title": "Get Catalog Templates",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
list_consents — List Consents
Advertised by the server during the last successful anonymous check.
Advertised read-only

Return the caller's own recorded consents plus the tenant-scope consents of every tenant where the caller is at least a viewer. Call this to check which legal documents have already been accepted before asking again. Pass `tenant_id` to list one tenant's consents only (a caller of several tenants must).

list_consents input schema
{
  "type": "object",
  "required": [
    "authorization"
  ],
  "properties": {
    "tenant_id": {
      "type": "string",
      "default": ""
    },
    "authorization": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
list_consents output schema
{
  "type": "object",
  "required": [
    "result"
  ],
  "properties": {
    "result": {
      "type": "array",
      "items": {
        "type": "object",
        "title": "ConsentOut",
        "required": [
          "id",
          "subject_sub",
          "document_code",
          "document_version",
          "granted_at",
          "source"
        ],
        "properties": {
          "id": {
            "type": "string",
            "title": "Id",
            "format": "uuid"
          },
          "source": {
            "type": "string",
            "title": "Source"
          },
          "tenant_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tenant Id"
          },
          "granted_at": {
            "type": "string",
            "title": "Granted At",
            "format": "date-time"
          },
          "subject_sub": {
            "type": "string",
            "title": "Subject Sub"
          },
          "document_code": {
            "type": "string",
            "title": "Document Code"
          },
          "document_version": {
            "type": "string",
            "title": "Document Version"
          }
        }
      },
      "title": "Response List Consents"
    }
  },
  "x-fastmcp-wrap-result": true
}
list_consents annotations
{
  "title": "List Consents",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
record_consent — Record Consent
Advertised by the server during the last successful anonymous check.

Record acceptance of a legal document version and return the entry; call this only after showing the user the document URL and version and receiving an explicit affirmative answer.

record_consent input schema
{
  "type": "object",
  "required": [
    "authorization",
    "document_code",
    "document_version"
  ],
  "properties": {
    "tenant_id": {
      "type": "string",
      "default": ""
    },
    "authorization": {
      "type": "string"
    },
    "document_code": {
      "type": "string"
    },
    "document_version": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
record_consent output schema
{
  "type": "object",
  "title": "ConsentOut",
  "required": [
    "id",
    "subject_sub",
    "document_code",
    "document_version",
    "granted_at",
    "source"
  ],
  "properties": {
    "id": {
      "type": "string",
      "title": "Id",
      "format": "uuid"
    },
    "source": {
      "type": "string",
      "title": "Source"
    },
    "tenant_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tenant Id"
    },
    "granted_at": {
      "type": "string",
      "title": "Granted At",
      "format": "date-time"
    },
    "subject_sub": {
      "type": "string",
      "title": "Subject Sub"
    },
    "document_code": {
      "type": "string",
      "title": "Document Code"
    },
    "document_version": {
      "type": "string",
      "title": "Document Version"
    }
  }
}
record_consent annotations
{
  "title": "Record Consent",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
start_inquiry — Start Inquiry
Advertised by the server during the last successful anonymous check.

Store an anonymous inquiry draft and email a 6-digit verification code. Ask the user for the code, then call verify_inquiry with the returned challenge_id and code — the inquiry reaches 4chems only after that verification succeeds.

start_inquiry input schema
{
  "type": "object",
  "properties": {
    "body": {
      "type": "object",
      "default": "",
      "required": [
        "name",
        "email",
        "topic",
        "message"
      ],
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 120,
          "minLength": 1
        },
        "email": {
          "type": "string",
          "format": "email"
        },
        "topic": {
          "enum": [
            "migration",
            "hosting",
            "iuclid",
            "chesar",
            "qsar_toolbox",
            "other"
          ],
          "type": "string"
        },
        "company": {
          "type": "string",
          "default": "",
          "maxLength": 120
        },
        "message": {
          "type": "string",
          "maxLength": 4000,
          "minLength": 10
        },
        "website": {
          "type": "string",
          "default": ""
        }
      }
    },
    "authorization": {
      "type": "string",
      "default": ""
    }
  },
  "additionalProperties": false
}
start_inquiry output schema
{
  "type": "object",
  "title": "InquiryChallengeOut",
  "required": [
    "challenge_id",
    "expires_in_seconds",
    "next_step"
  ],
  "properties": {
    "next_step": {
      "type": "string",
      "title": "Next Step"
    },
    "challenge_id": {
      "type": "string",
      "title": "Challenge Id",
      "format": "uuid"
    },
    "expires_in_seconds": {
      "type": "integer",
      "title": "Expires In Seconds"
    }
  }
}
start_inquiry annotations
{
  "title": "Start Inquiry",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
verify_inquiry — Verify Inquiry
Advertised by the server during the last successful anonymous check.

Verify the 6-digit code and deliver the inquiry to the helpdesk inbox.

verify_inquiry input schema
{
  "type": "object",
  "properties": {
    "body": {
      "type": "object",
      "default": "",
      "required": [
        "challenge_id",
        "code"
      ],
      "properties": {
        "code": {
          "type": "string",
          "maxLength": 6,
          "minLength": 6
        },
        "challenge_id": {
          "type": "string",
          "format": "uuid"
        }
      }
    },
    "authorization": {
      "type": "string",
      "default": ""
    }
  },
  "additionalProperties": false
}
verify_inquiry output schema
{
  "type": "object",
  "title": "InquiryReceivedOut",
  "required": [
    "inquiry_id",
    "reference",
    "status"
  ],
  "properties": {
    "status": {
      "type": "string",
      "title": "Status"
    },
    "reference": {
      "type": "string",
      "title": "Reference"
    },
    "inquiry_id": {
      "type": "string",
      "title": "Inquiry Id",
      "format": "uuid"
    }
  }
}
verify_inquiry annotations
{
  "title": "Verify Inquiry",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
accept_invitation — Accept Invitation
Advertised by the server during the last successful anonymous check.

Accept a pending invitation and grant the invitee's first role assignment. Call this when an invitee has a valid invite link and wants to join the tenant; single-use, consuming the token marks it accepted.

accept_invitation input schema
{
  "type": "object",
  "required": [
    "authorization",
    "token"
  ],
  "properties": {
    "token": {
      "type": "string"
    },
    "authorization": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
accept_invitation output schema
{
  "type": "object",
  "title": "InvitationOut",
  "required": [
    "id",
    "tenant_id",
    "email",
    "level",
    "status",
    "expires_at",
    "invited_by",
    "created_at"
  ],
  "properties": {
    "id": {
      "type": "string",
      "title": "Id",
      "format": "uuid"
    },
    "email": {
      "type": "string",
      "title": "Email"
    },
    "level": {
      "type": "string",
      "title": "Level"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "tenant_id": {
      "type": "string",
      "title": "Tenant Id"
    },
    "created_at": {
      "type": "string",
      "title": "Created At",
      "format": "date-time"
    },
    "expires_at": {
      "type": "string",
      "title": "Expires At",
      "format": "date-time"
    },
    "invited_by": {
      "type": "string",
      "title": "Invited By"
    },
    "accepted_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Accepted At"
    },
    "billing_contact": {
      "type": "boolean",
      "title": "Billing Contact",
      "default": false
    }
  }
}
accept_invitation annotations
{
  "title": "Accept Invitation",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
get_my_access — Get My Access
Advertised by the server during the last successful anonymous check.
Advertised read-only

Return the caller's access level per related tenant. Call this to check what the current caller is authorized to do before attempting an action that requires a specific level, or to discover a pending invitation or access request.

get_my_access input schema
{
  "type": "object",
  "required": [
    "authorization"
  ],
  "properties": {
    "authorization": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
get_my_access output schema
{
  "type": "object",
  "required": [
    "result"
  ],
  "properties": {
    "result": {
      "type": "array",
      "items": {
        "type": "object",
        "title": "TenantAccessOut",
        "required": [
          "tenant",
          "level",
          "via",
          "subscription"
        ],
        "properties": {
          "via": {
            "type": "string",
            "title": "Via"
          },
          "level": {
            "enum": [
              "none",
              "requester",
              "viewer",
              "member",
              "admin",
              "owner"
            ],
            "type": "string",
            "title": "Level"
          },
          "tenant": {
            "type": "string",
            "title": "Tenant"
          },
          "subscription": {
            "type": "object",
            "title": "SubscriptionOut",
            "required": [
              "state",
              "expires_at",
              "grace_ends_at"
            ],
            "properties": {
              "state": {
                "enum": [
                  "trialing",
                  "expired",
                  "erased",
                  "active"
                ],
                "type": "string",
                "title": "SubscriptionState",
                "description": "Commercial state (UC-096, UC-086 D7); `TrialStatus` is provisioning only."
              },
              "expires_at": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date-time"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Expires At"
              },
              "grace_ends_at": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date-time"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Grace Ends At"
              }
            }
          }
        }
      },
      "title": "Response Get My Access"
    }
  },
  "x-fastmcp-wrap-result": true
}
get_my_access annotations
{
  "title": "Get My Access",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
create_access_request — Create Access Request Endpoint
Advertised by the server during the last successful anonymous check.

Request access to the tenant that owns the caller's verified email domain.

create_access_request input schema
{
  "type": "object",
  "required": [
    "authorization"
  ],
  "properties": {
    "authorization": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
create_access_request output schema
{
  "type": "object",
  "title": "OperationOut",
  "required": [
    "operation_id",
    "status",
    "type",
    "created_at"
  ],
  "properties": {
    "type": {
      "type": "string",
      "title": "Type"
    },
    "error": {
      "anyOf": [
        {
          "type": "object",
          "title": "ErrorDetail",
          "required": [
            "code",
            "message"
          ],
          "properties": {
            "code": {
              "type": "string",
              "title": "Code"
            },
            "message": {
              "type": "string",
              "title": "Message"
            }
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "result": {
      "anyOf": [
        {},
        {
          "type": "null"
        }
      ],
      "title": "Result"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "target_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Target Id"
    },
    "created_at": {
      "type": "string",
      "title": "Created At",
      "format": "date-time"
    },
    "finished_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Finished At"
    },
    "target_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Target Type"
    },
    "operation_id": {
      "type": "string",
      "title": "Operation Id",
      "format": "uuid"
    }
  }
}
create_access_request annotations
{
  "title": "Create Access Request Endpoint",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
approve_access_request — Approve Access Request Endpoint
Advertised by the server during the last successful anonymous check.

Approve a pending access request: issue a `member` invitation to the requester and resolve the request (level `admin` or `owner` of the request's tenant). The response carries the single-use invitation token to hand to the requester, who accepts via `accept_invitation`. 409 `access_request.not_pending` unless the request is pending.

approve_access_request input schema
{
  "type": "object",
  "required": [
    "authorization",
    "access_request_id"
  ],
  "properties": {
    "authorization": {
      "type": "string"
    },
    "access_request_id": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
approve_access_request output schema
{
  "type": "object",
  "title": "AccessRequestApprovedOut",
  "required": [
    "id",
    "tenant_id",
    "status",
    "created_at",
    "updated_at",
    "invitation_id",
    "token"
  ],
  "properties": {
    "id": {
      "type": "string",
      "title": "Id",
      "format": "uuid"
    },
    "token": {
      "type": "string",
      "title": "Token"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "tenant_id": {
      "type": "string",
      "title": "Tenant Id",
      "format": "uuid"
    },
    "created_at": {
      "type": "string",
      "title": "Created At",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "title": "Updated At",
      "format": "date-time"
    },
    "invitation_id": {
      "type": "string",
      "title": "Invitation Id",
      "format": "uuid"
    }
  },
  "description": "`approve_access_request` response: the issued invitation, with its\nsingle-use accept token for the admin to hand to the requester."
}
approve_access_request annotations
{
  "title": "Approve Access Request Endpoint",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
dismiss_access_request — Dismiss Access Request Endpoint
Advertised by the server during the last successful anonymous check.
Advertised destructive

Dismiss a pending access request (level `admin` or `owner` of the request's tenant). The requester is mailed — naming the tenant, never the dismissing admin — and may ask again. 409 `access_request.not_pending` unless the request is pending.

dismiss_access_request input schema
{
  "type": "object",
  "required": [
    "authorization",
    "access_request_id"
  ],
  "properties": {
    "authorization": {
      "type": "string"
    },
    "access_request_id": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
dismiss_access_request output schema
{
  "type": "object",
  "title": "AccessRequestOut",
  "required": [
    "id",
    "tenant_id",
    "status",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "id": {
      "type": "string",
      "title": "Id",
      "format": "uuid"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "tenant_id": {
      "type": "string",
      "title": "Tenant Id",
      "format": "uuid"
    },
    "created_at": {
      "type": "string",
      "title": "Created At",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "title": "Updated At",
      "format": "date-time"
    }
  },
  "description": "An access request after approve / dismiss / withdraw (UC-094)."
}
dismiss_access_request annotations
{
  "title": "Dismiss Access Request Endpoint",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
withdraw_access_request — Withdraw Access Request Endpoint
Advertised by the server during the last successful anonymous check.
Advertised destructive

Withdraw the caller's own pending access request; no notification is sent. Any other caller gets 404 `access_request.not_found`, the same as for an unknown id. 409 `access_request.not_pending` unless pending.

withdraw_access_request input schema
{
  "type": "object",
  "required": [
    "authorization",
    "access_request_id"
  ],
  "properties": {
    "authorization": {
      "type": "string"
    },
    "access_request_id": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
withdraw_access_request output schema
{
  "type": "object",
  "title": "AccessRequestOut",
  "required": [
    "id",
    "tenant_id",
    "status",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "id": {
      "type": "string",
      "title": "Id",
      "format": "uuid"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "tenant_id": {
      "type": "string",
      "title": "Tenant Id",
      "format": "uuid"
    },
    "created_at": {
      "type": "string",
      "title": "Created At",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "title": "Updated At",
      "format": "date-time"
    }
  },
  "description": "An access request after approve / dismiss / withdraw (UC-094)."
}
withdraw_access_request annotations
{
  "title": "Withdraw Access Request Endpoint",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
enrich_domain — Enrich Domain Endpoint
Advertised by the server during the last successful anonymous check.
Open-world

Fetch the caller's domain imprint and suggest legal-entity details (UC-057).

enrich_domain input schema
{
  "type": "object",
  "required": [
    "authorization"
  ],
  "properties": {
    "authorization": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
enrich_domain output schema
{
  "type": "object",
  "title": "EnrichmentOut",
  "properties": {
    "country": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Country"
    },
    "confidence": {
      "type": "number",
      "title": "Confidence",
      "default": 0
    },
    "source_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Url"
    },
    "entity_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Entity Type"
    },
    "legal_entity_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Legal Entity Name"
    }
  },
  "description": "Response for POST /v1/onboarding/enrichment (UC-057).\n\nSuggest-only: all fields are nullable; confidence=0 means no suggestion.\nThe UI must fall back to manual entry when confidence is low."
}
enrich_domain annotations
{
  "title": "Enrich Domain Endpoint",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
start_device_login — Start Device Login
Advertised by the server during the last successful anonymous check.

Sign in to an existing account by device login (UC-091, RFC 8628). Anonymous, empty body; the account must exist (start_account_registration, then set the password through the emailed link). Show `verification_uri` (or `verification_uri_complete`) and `user_code` to the human, who signs in there, then call `verify_device_login` with `challenge_id`, waiting `interval` seconds between calls. The response never contains the Keycloak device_code or the agent client secret.

start_device_login input schema
{
  "type": "object",
  "properties": {
    "authorization": {
      "type": "string",
      "default": ""
    }
  },
  "additionalProperties": false
}
start_device_login output schema
{
  "type": "object",
  "title": "DeviceChallengeOut",
  "required": [
    "challenge_id",
    "verification_uri",
    "verification_uri_complete",
    "user_code",
    "expires_in",
    "interval"
  ],
  "properties": {
    "interval": {
      "type": "integer",
      "title": "Interval"
    },
    "user_code": {
      "type": "string",
      "title": "User Code"
    },
    "expires_in": {
      "type": "integer",
      "title": "Expires In"
    },
    "challenge_id": {
      "type": "string",
      "title": "Challenge Id",
      "format": "uuid"
    },
    "verification_uri": {
      "type": "string",
      "title": "Verification Uri"
    },
    "verification_uri_complete": {
      "type": "string",
      "title": "Verification Uri Complete"
    }
  },
  "description": "Response for POST /v1/onboarding/registrations/device (UC-075).\n\nNever carries the Keycloak device_code or the agent client secret."
}
start_device_login annotations
{
  "title": "Start Device Login",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
verify_device_login — Verify Device Login
Advertised by the server during the last successful anonymous check.

Poll a device login to token issuance (UC-091, RFC 8628). Anonymous. While the human has not signed in yet it answers `{"status": "pending", "retry_after": <seconds>}`: wait `retry_after` seconds and call again with the same `challenge_id`. On approval it returns Keycloak's token set (`access_token`, `refresh_token`, `expires_in`, ...) exactly once; pass the `access_token` as `authorization` ('Bearer <token>') to every other tool.

verify_device_login input schema
{
  "type": "object",
  "properties": {
    "body": {
      "type": "object",
      "default": "",
      "required": [
        "challenge_id"
      ],
      "properties": {
        "challenge_id": {
          "type": "string",
          "format": "uuid"
        }
      },
      "description": "Request body for POST /v1/onboarding/registrations/device/verify (UC-075)."
    },
    "authorization": {
      "type": "string",
      "default": ""
    }
  },
  "additionalProperties": false
}
verify_device_login output schema
{
  "type": "object"
}
verify_device_login annotations
{
  "title": "Verify Device Login",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
start_account_registration — Start Account Registration
Advertised by the server during the last successful anonymous check.

Start registering a 4chems account with a business email address (`email`, `name`, optional `company`). Anonymous. Emails a 6-digit code to the address; no account exists yet. Ask the user for the code, then call verify_account_registration with the returned challenge_id and code. Free-mail addresses (gmail.com, ...) are refused: use the company address, or call start_inquiry. The answer is the same whether or not the address already has an account.

start_account_registration input schema
{
  "type": "object",
  "properties": {
    "body": {
      "type": "object",
      "default": "",
      "required": [
        "email",
        "name"
      ],
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 120,
          "minLength": 1
        },
        "email": {
          "type": "string"
        },
        "company": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 120
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "description": "Request body for POST /v1/onboarding/registrations/account (UC-088)."
    },
    "authorization": {
      "type": "string",
      "default": ""
    }
  },
  "additionalProperties": false
}
start_account_registration output schema
{
  "type": "object",
  "title": "AccountChallengeOut",
  "required": [
    "challenge_id",
    "expires_in_seconds",
    "next_step"
  ],
  "properties": {
    "next_step": {
      "type": "string",
      "title": "Next Step"
    },
    "challenge_id": {
      "type": "string",
      "title": "Challenge Id",
      "format": "uuid"
    },
    "expires_in_seconds": {
      "type": "integer",
      "title": "Expires In Seconds"
    }
  }
}
start_account_registration annotations
{
  "title": "Start Account Registration",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
verify_account_registration — Verify Account Registration
Advertised by the server during the last successful anonymous check.

Verify the emailed 6-digit code (`challenge_id`, `code`) and create the 4chems account. Never guess or retry codes, and never ask the user for a password.

verify_account_registration input schema
{
  "type": "object",
  "properties": {
    "body": {
      "type": "object",
      "default": "",
      "required": [
        "challenge_id",
        "code"
      ],
      "properties": {
        "code": {
          "type": "string",
          "maxLength": 32,
          "minLength": 1
        },
        "challenge_id": {
          "type": "string",
          "format": "uuid"
        }
      },
      "description": "Request body for POST /v1/onboarding/registrations/account/verify (UC-089)."
    },
    "authorization": {
      "type": "string",
      "default": ""
    }
  },
  "additionalProperties": false
}
verify_account_registration output schema
{
  "type": "object",
  "title": "AccountCreatedOut",
  "required": [
    "account",
    "next_step"
  ],
  "properties": {
    "account": {
      "type": "string",
      "const": "created",
      "title": "Account"
    },
    "next_step": {
      "type": "string",
      "title": "Next Step"
    }
  }
}
verify_account_registration annotations
{
  "title": "Verify Account Registration",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
start_registration — Start Registration (deprecated — use start_device_login)
Advertised by the server during the last successful anonymous check.

DEPRECATED: use start_device_login. Deprecated — use start_device_login (same behaviour).

start_registration input schema
{
  "type": "object",
  "properties": {
    "authorization": {
      "type": "string",
      "default": ""
    }
  },
  "additionalProperties": false
}
start_registration output schema
{
  "type": "object",
  "title": "DeviceChallengeOut",
  "required": [
    "challenge_id",
    "verification_uri",
    "verification_uri_complete",
    "user_code",
    "expires_in",
    "interval"
  ],
  "properties": {
    "interval": {
      "type": "integer",
      "title": "Interval"
    },
    "user_code": {
      "type": "string",
      "title": "User Code"
    },
    "expires_in": {
      "type": "integer",
      "title": "Expires In"
    },
    "challenge_id": {
      "type": "string",
      "title": "Challenge Id",
      "format": "uuid"
    },
    "verification_uri": {
      "type": "string",
      "title": "Verification Uri"
    },
    "verification_uri_complete": {
      "type": "string",
      "title": "Verification Uri Complete"
    }
  },
  "description": "Response for POST /v1/onboarding/registrations/device (UC-075).\n\nNever carries the Keycloak device_code or the agent client secret."
}
start_registration annotations
{
  "title": "Start Registration (deprecated — use start_device_login)",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
verify_registration — Verify Registration (deprecated — use verify_device_login)
Advertised by the server during the last successful anonymous check.

DEPRECATED: use verify_device_login. Deprecated — use verify_device_login (same behaviour).

verify_registration input schema
{
  "type": "object",
  "properties": {
    "body": {
      "type": "object",
      "default": "",
      "required": [
        "challenge_id"
      ],
      "properties": {
        "challenge_id": {
          "type": "string",
          "format": "uuid"
        }
      },
      "description": "Request body for POST /v1/onboarding/registrations/device/verify (UC-075)."
    },
    "authorization": {
      "type": "string",
      "default": ""
    }
  },
  "additionalProperties": false
}
verify_registration output schema
{
  "type": "object"
}
verify_registration annotations
{
  "title": "Verify Registration (deprecated — use verify_device_login)",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
get_onboarding_route — Get Onboarding Route
Advertised by the server during the last successful anonymous check.
Advertised read-only

Return the next onboarding step. If this doesn't answer your question, call `start_inquiry` to ask 4chems directly or request a call.

get_onboarding_route input schema
{
  "type": "object",
  "properties": {
    "authorization": {
      "type": "string",
      "default": ""
    }
  },
  "additionalProperties": false
}
get_onboarding_route output schema
{
  "type": "object",
  "title": "RoutingOut",
  "required": [
    "action"
  ],
  "properties": {
    "action": {
      "type": "string",
      "title": "Action",
      "x-extensible-enum": [
        "wizard",
        "wizard_no_tenant_domain",
        "request_access",
        "trial_used",
        "member",
        "register"
      ]
    },
    "next_step": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "object",
          "title": "NextStepOut",
          "required": [
            "operation",
            "documents"
          ],
          "properties": {
            "documents": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "title": "Documents"
            },
            "operation": {
              "type": "string",
              "title": "Operation"
            }
          },
          "description": "What a `member` must do next: record consents to the listed documents (UC-093)."
        },
        {
          "type": "null"
        }
      ],
      "title": "Next Step"
    },
    "tenant_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tenant Name"
    },
    "subscription": {
      "anyOf": [
        {
          "type": "object",
          "title": "SubscriptionOut",
          "required": [
            "state",
            "expires_at",
            "grace_ends_at"
          ],
          "properties": {
            "state": {
              "enum": [
                "trialing",
                "expired",
                "erased",
                "active"
              ],
              "type": "string",
              "title": "SubscriptionState",
              "description": "Commercial state (UC-096, UC-086 D7); `TrialStatus` is provisioning only."
            },
            "expires_at": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date-time"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Expires At"
            },
            "grace_ends_at": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date-time"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Grace Ends At"
            }
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "registration_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Registration Url"
    },
    "registration_methods": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "null"
        }
      ],
      "title": "Registration Methods"
    }
  }
}
get_onboarding_route annotations
{
  "title": "Get Onboarding Route",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
create_self_service_tenant — Create Self Service Tenant
Advertised by the server during the last successful anonymous check.

Create a 7-day trial tenant for the caller's business email domain (UC-052). Needs a verified email on a business domain and `attestation: true`; answers `auth.email_not_verified`, `tenant.attestation_required`, `tenant.free_mail_domain` (free-mail address), `tenant.domain_exists` (a live trial tenant on the domain) or `trial.exists_for_domain` (the domain already had its one trial; call `start_inquiry`). The trial lasts exactly 7 days; `ttl` / `expires_at` in the body are ignored.

create_self_service_tenant input schema
{
  "type": "object",
  "required": [
    "authorization"
  ],
  "properties": {
    "body": {
      "type": "object",
      "default": "",
      "required": [
        "legal_entity",
        "attestation"
      ],
      "properties": {
        "attestation": {
          "type": "boolean"
        },
        "bot_signals": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "honeypot": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "submit_timing_ms": {
                  "anyOf": [
                    {
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "description": "Advisory bot-detection signals from the onboarding wizard (UC-052).\n\nRecorded and fed to scoring; never used as a hard gate."
            },
            {
              "type": "null"
            }
          ]
        },
        "legal_entity": {
          "type": "object",
          "required": [
            "country",
            "legal_entity_type",
            "name"
          ],
          "properties": {
            "name": {
              "type": "string",
              "maxLength": 200,
              "minLength": 1
            },
            "country": {
              "type": "string",
              "pattern": "^[A-Z]{2}$"
            },
            "other_label": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 80,
                  "minLength": 2
                },
                {
                  "type": "null"
                }
              ]
            },
            "legal_entity_type": {
              "type": "string",
              "pattern": "^[A-Z]{2,3}_[A-Z0-9][A-Z0-9_]*$"
            }
          },
          "description": "Composite legal-entity input validated against the country catalog.\n\nRules:\n- *country* must be a supported market (validated at field level via SupportedCountry,\n  caught in the model validator against the loaded catalog).\n- *legal_entity_type* must appear in that country's catalog file.\n- When *legal_entity_type* is ``<CC>_OTHER``, *other_label* is required (2-80 chars).\n- For any other type, *other_label* must be absent."
        }
      },
      "description": "Request body for POST /v1/onboarding/tenants (UC-052).\n\nThe domain is derived from the caller's verified token email claim\n(NFR-006 pt 4) — it is not a request parameter.\nattestation must be true; the endpoint raises 422 if false (NFR-006 §8a)."
    },
    "authorization": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
create_self_service_tenant output schema
{
  "type": "object",
  "title": "OperationOut",
  "required": [
    "operation_id",
    "status",
    "type",
    "created_at"
  ],
  "properties": {
    "type": {
      "type": "string",
      "title": "Type"
    },
    "error": {
      "anyOf": [
        {
          "type": "object",
          "title": "ErrorDetail",
          "required": [
            "code",
            "message"
          ],
          "properties": {
            "code": {
              "type": "string",
              "title": "Code"
            },
            "message": {
              "type": "string",
              "title": "Message"
            }
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "result": {
      "anyOf": [
        {},
        {
          "type": "null"
        }
      ],
      "title": "Result"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "target_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Target Id"
    },
    "created_at": {
      "type": "string",
      "title": "Created At",
      "format": "date-time"
    },
    "finished_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Finished At"
    },
    "target_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Target Type"
    },
    "operation_id": {
      "type": "string",
      "title": "Operation Id",
      "format": "uuid"
    }
  }
}
create_self_service_tenant annotations
{
  "title": "Create Self Service Tenant",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
get_my_operation — Get My Operation
Advertised by the server during the last successful anonymous check.
Advertised read-only

Return the status, result and error of an operation the caller started, such as the `Location` of a `202` from `complete_billing`. Call this to poll it to completion.

get_my_operation input schema
{
  "type": "object",
  "required": [
    "authorization",
    "operation_id"
  ],
  "properties": {
    "operation_id": {
      "type": "string"
    },
    "authorization": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
get_my_operation output schema
{
  "type": "object",
  "title": "OperationOut",
  "required": [
    "operation_id",
    "status",
    "type",
    "created_at"
  ],
  "properties": {
    "type": {
      "type": "string",
      "title": "Type"
    },
    "error": {
      "anyOf": [
        {
          "type": "object",
          "title": "ErrorDetail",
          "required": [
            "code",
            "message"
          ],
          "properties": {
            "code": {
              "type": "string",
              "title": "Code"
            },
            "message": {
              "type": "string",
              "title": "Message"
            }
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "result": {
      "anyOf": [
        {},
        {
          "type": "null"
        }
      ],
      "title": "Result"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "target_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Target Id"
    },
    "created_at": {
      "type": "string",
      "title": "Created At",
      "format": "date-time"
    },
    "finished_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Finished At"
    },
    "target_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Target Type"
    },
    "operation_id": {
      "type": "string",
      "title": "Operation Id",
      "format": "uuid"
    }
  }
}
get_my_operation annotations
{
  "title": "Get My Operation",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_legal_entity_types — Get Legal Entity Types
Advertised by the server during the last successful anonymous check.
Advertised read-only

Return the legal-entity types available for *country*, ordered alphabetically. If this doesn't answer your question, call `start_inquiry` to ask 4chems directly or request a call.

get_legal_entity_types input schema
{
  "type": "object",
  "required": [
    "country"
  ],
  "properties": {
    "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code"
    },
    "authorization": {
      "type": "string",
      "default": ""
    }
  },
  "additionalProperties": false
}
get_legal_entity_types output schema
{
  "type": "object",
  "required": [
    "result"
  ],
  "properties": {
    "result": {
      "type": "array",
      "items": {
        "type": "object",
        "title": "LegalEntityTypeOut",
        "required": [
          "code",
          "abbreviation",
          "name"
        ],
        "properties": {
          "code": {
            "type": "string",
            "title": "Code"
          },
          "name": {
            "type": "string",
            "title": "Name"
          },
          "abbreviation": {
            "type": "string",
            "title": "Abbreviation"
          }
        }
      },
      "title": "Response Get Legal Entity Types"
    }
  },
  "x-fastmcp-wrap-result": true
}
get_legal_entity_types annotations
{
  "title": "Get Legal Entity Types",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_billing — Get Billing
Advertised by the server during the last successful anonymous check.
Advertised read-only

Return the tenant's stored billing details: VAT id, invoice address, invoice email and PO reference. Call this to check whether billing is complete; only the owner and billing contacts may read it (`403 rbac.insufficient_level`).

get_billing input schema
{
  "type": "object",
  "required": [
    "authorization"
  ],
  "properties": {
    "tenant_id": {
      "type": "string",
      "default": ""
    },
    "authorization": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
get_billing output schema
{
  "type": "object",
  "title": "BillingOut",
  "required": [
    "name",
    "country",
    "legal_entity_type",
    "billing_completed"
  ],
  "properties": {
    "city": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "City"
    },
    "name": {
      "type": "string",
      "title": "Name"
    },
    "vat_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Vat Id"
    },
    "country": {
      "type": "string",
      "title": "Country"
    },
    "other_label": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Other Label"
    },
    "postal_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Postal Code"
    },
    "po_reference": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Po Reference"
    },
    "address_line1": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Address Line1"
    },
    "address_line2": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Address Line2"
    },
    "invoice_email": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Invoice Email"
    },
    "vat_validated_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Vat Validated At"
    },
    "billing_completed": {
      "type": "boolean",
      "title": "Billing Completed"
    },
    "legal_entity_type": {
      "type": "string",
      "title": "Legal Entity Type"
    },
    "billing_completed_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Billing Completed At"
    }
  },
  "description": "The stored billing data, `get_billing` (owner and billing contacts only)."
}
get_billing annotations
{
  "title": "Get Billing",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
complete_billing — Complete Billing
Advertised by the server during the last successful anonymous check.
Open-world

Complete the tenant's billing details: legal-entity name and type, VAT id, invoice address, invoice email and optional PO reference. Call this when the owner or a billing contact has the details. EU VAT ids are validated against VIES by the worker; a failed operation with `billing.vat_check_unavailable` can be retried by submitting again. Returns `202` with an operation to poll.

complete_billing input schema
{
  "type": "object",
  "required": [
    "authorization"
  ],
  "properties": {
    "body": {
      "type": "object",
      "default": "",
      "required": [
        "address_line1",
        "postal_code",
        "city",
        "invoice_email"
      ],
      "properties": {
        "city": {
          "type": "string",
          "maxLength": 100,
          "minLength": 1
        },
        "name": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "vat_id": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 40
            },
            {
              "type": "null"
            }
          ]
        },
        "other_label": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 80,
              "minLength": 2
            },
            {
              "type": "null"
            }
          ]
        },
        "postal_code": {
          "type": "string",
          "maxLength": 20,
          "minLength": 1
        },
        "po_reference": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 64,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "address_line1": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        },
        "address_line2": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200
            },
            {
              "type": "null"
            }
          ]
        },
        "invoice_email": {
          "type": "string",
          "format": "email"
        },
        "legal_entity_type": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^[A-Z]{2,3}_[A-Z0-9][A-Z0-9_]*$"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "description": "`complete_billing` body. `vat_id` is checked against the tenant's country in the service."
    },
    "tenant_id": {
      "type": "string",
      "default": ""
    },
    "authorization": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
complete_billing output schema
{
  "type": "object",
  "title": "OperationOut",
  "required": [
    "operation_id",
    "status",
    "type",
    "created_at"
  ],
  "properties": {
    "type": {
      "type": "string",
      "title": "Type"
    },
    "error": {
      "anyOf": [
        {
          "type": "object",
          "title": "ErrorDetail",
          "required": [
            "code",
            "message"
          ],
          "properties": {
            "code": {
              "type": "string",
              "title": "Code"
            },
            "message": {
              "type": "string",
              "title": "Message"
            }
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "result": {
      "anyOf": [
        {},
        {
          "type": "null"
        }
      ],
      "title": "Result"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "target_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Target Id"
    },
    "created_at": {
      "type": "string",
      "title": "Created At",
      "format": "date-time"
    },
    "finished_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Finished At"
    },
    "target_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Target Type"
    },
    "operation_id": {
      "type": "string",
      "title": "Operation Id",
      "format": "uuid"
    }
  }
}
complete_billing annotations
{
  "title": "Complete Billing",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
list_invitations — List Invitations
Advertised by the server during the last successful anonymous check.
Advertised read-only

List all invitations for the caller's tenant, most recent first. Call this to show a tenant admin which invitations are pending, accepted, or revoked; the raw token is never included.

list_invitations input schema
{
  "type": "object",
  "required": [
    "authorization"
  ],
  "properties": {
    "tenant_id": {
      "type": "string",
      "default": ""
    },
    "authorization": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
list_invitations output schema
{
  "type": "object",
  "required": [
    "result"
  ],
  "properties": {
    "result": {
      "type": "array",
      "items": {
        "type": "object",
        "title": "InvitationOut",
        "required": [
          "id",
          "tenant_id",
          "email",
          "level",
          "status",
          "expires_at",
          "invited_by",
          "created_at"
        ],
        "properties": {
          "id": {
            "type": "string",
            "title": "Id",
            "format": "uuid"
          },
          "email": {
            "type": "string",
            "title": "Email"
          },
          "level": {
            "type": "string",
            "title": "Level"
          },
          "status": {
            "type": "string",
            "title": "Status"
          },
          "tenant_id": {
            "type": "string",
            "title": "Tenant Id"
          },
          "created_at": {
            "type": "string",
            "title": "Created At",
            "format": "date-time"
          },
          "expires_at": {
            "type": "string",
            "title": "Expires At",
            "format": "date-time"
          },
          "invited_by": {
            "type": "string",
            "title": "Invited By"
          },
          "accepted_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Accepted At"
          },
          "billing_contact": {
            "type": "boolean",
            "title": "Billing Contact",
            "default": false
          }
        }
      },
      "title": "Response List Invitations"
    }
  },
  "x-fastmcp-wrap-result": true
}
list_invitations annotations
{
  "title": "List Invitations",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
create_invitation — Create Invitation
Advertised by the server during the last successful anonymous check.

Invite an email address to the caller's tenant at the specified access level and return the invitation, including the raw single-use accept token. Call this when a tenant admin wants to add a new member; the invitee accepts via `accept_invitation`.

create_invitation input schema
{
  "type": "object",
  "required": [
    "authorization"
  ],
  "properties": {
    "body": {
      "type": "object",
      "default": "",
      "required": [
        "email"
      ],
      "properties": {
        "email": {
          "type": "string",
          "format": "email"
        },
        "level": {
          "enum": [
            "viewer",
            "member",
            "admin",
            "owner"
          ],
          "type": "string",
          "description": "The grantable tenant access levels (ADR 0016 decision 3: role collapse).\n\nScoped department/instance roles (``team_admin``, ``env_admin``,\n``app_admin``, ``application_owner``, ``application_supervisor``,\n``application_user``) and the platform roles (``platform_admin``,\n``node_admin``) are no longer grantable; the migration\n(``uc087accesslevelscore_0001``) maps every existing row onto one of\nthese four values."
        },
        "billing_contact": {
          "type": "boolean",
          "default": false
        }
      }
    },
    "tenant_id": {
      "type": "string",
      "default": ""
    },
    "authorization": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
create_invitation output schema
{
  "type": "object",
  "title": "InvitationCreatedOut",
  "required": [
    "id",
    "tenant_id",
    "email",
    "level",
    "status",
    "expires_at",
    "invited_by",
    "created_at",
    "token"
  ],
  "properties": {
    "id": {
      "type": "string",
      "title": "Id",
      "format": "uuid"
    },
    "email": {
      "type": "string",
      "title": "Email"
    },
    "level": {
      "type": "string",
      "title": "Level"
    },
    "token": {
      "type": "string",
      "title": "Token"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "tenant_id": {
      "type": "string",
      "title": "Tenant Id"
    },
    "created_at": {
      "type": "string",
      "title": "Created At",
      "format": "date-time"
    },
    "expires_at": {
      "type": "string",
      "title": "Expires At",
      "format": "date-time"
    },
    "invited_by": {
      "type": "string",
      "title": "Invited By"
    },
    "accepted_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Accepted At"
    },
    "billing_contact": {
      "type": "boolean",
      "title": "Billing Contact",
      "default": false
    }
  },
  "description": "Returned only on POST — includes the raw token for sharing the invite link."
}
create_invitation annotations
{
  "title": "Create Invitation",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
revoke_invitation — Revoke Invitation
Advertised by the server during the last successful anonymous check.
Advertised destructive

Revoke a pending invitation so its token can no longer be accepted. Call this when a tenant admin wants to withdraw an invite sent by mistake or no longer needed; accepted invitations cannot be revoked.

revoke_invitation input schema
{
  "type": "object",
  "required": [
    "authorization",
    "invitation_id"
  ],
  "properties": {
    "tenant_id": {
      "type": "string",
      "default": ""
    },
    "authorization": {
      "type": "string"
    },
    "invitation_id": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
revoke_invitation annotations
{
  "title": "Revoke Invitation",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
list_members — List Members
Advertised by the server during the last successful anonymous check.
Advertised read-only

List tenant members with their effective role x scope assignments.

list_members input schema
{
  "type": "object",
  "required": [
    "authorization"
  ],
  "properties": {
    "tenant_id": {
      "type": "string",
      "default": ""
    },
    "authorization": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
list_members output schema
{
  "type": "object",
  "title": "MembersListOut",
  "required": [
    "tenant_id",
    "members"
  ],
  "properties": {
    "members": {
      "type": "array",
      "items": {
        "type": "object",
        "title": "MemberOut",
        "required": [
          "subject",
          "assignments"
        ],
        "properties": {
          "subject": {
            "type": "string",
            "title": "Subject"
          },
          "assignments": {
            "type": "array",
            "items": {
              "type": "object",
              "title": "AssignmentOut",
              "required": [
                "id",
                "subject_type",
                "subject",
                "role",
                "scope_type",
                "scope_id",
                "expires_at",
                "granted_by",
                "granted_at"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "title": "Id",
                  "format": "uuid"
                },
                "role": {
                  "type": "string",
                  "title": "Role"
                },
                "subject": {
                  "type": "string",
                  "title": "Subject"
                },
                "scope_id": {
                  "type": "string",
                  "title": "Scope Id"
                },
                "expires_at": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "date-time"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Expires At"
                },
                "granted_at": {
                  "type": "string",
                  "title": "Granted At",
                  "format": "date-time"
                },
                "granted_by": {
                  "type": "string",
                  "title": "Granted By"
                },
                "scope_type": {
                  "type": "string",
                  "title": "Scope Type"
                },
                "subject_type": {
                  "type": "string",
                  "title": "Subject Type"
                }
              }
            },
            "title": "Assignments"
          }
        }
      },
      "title": "Members"
    },
    "tenant_id": {
      "type": "string",
      "title": "Tenant Id"
    }
  }
}
list_members annotations
{
  "title": "List Members",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
grant_assignment — Grant Assignment
Advertised by the server during the last successful anonymous check.

Grant a role x scope assignment to a tenant member.

grant_assignment input schema
{
  "type": "object",
  "required": [
    "authorization",
    "sub"
  ],
  "properties": {
    "sub": {
      "type": "string"
    },
    "body": {
      "type": "object",
      "default": "",
      "required": [
        "role",
        "scope_type",
        "scope_id"
      ],
      "properties": {
        "role": {
          "type": "string"
        },
        "scope_id": {
          "type": "string"
        },
        "scope_type": {
          "type": "string"
        }
      }
    },
    "tenant_id": {
      "type": "string",
      "default": ""
    },
    "authorization": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
grant_assignment output schema
{
  "type": "object",
  "title": "AssignmentOut",
  "required": [
    "id",
    "subject_type",
    "subject",
    "role",
    "scope_type",
    "scope_id",
    "expires_at",
    "granted_by",
    "granted_at"
  ],
  "properties": {
    "id": {
      "type": "string",
      "title": "Id",
      "format": "uuid"
    },
    "role": {
      "type": "string",
      "title": "Role"
    },
    "subject": {
      "type": "string",
      "title": "Subject"
    },
    "scope_id": {
      "type": "string",
      "title": "Scope Id"
    },
    "expires_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Expires At"
    },
    "granted_at": {
      "type": "string",
      "title": "Granted At",
      "format": "date-time"
    },
    "granted_by": {
      "type": "string",
      "title": "Granted By"
    },
    "scope_type": {
      "type": "string",
      "title": "Scope Type"
    },
    "subject_type": {
      "type": "string",
      "title": "Subject Type"
    }
  }
}
grant_assignment annotations
{
  "title": "Grant Assignment",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
revoke_assignment — Revoke Assignment
Advertised by the server during the last successful anonymous check.
Advertised destructive

Revoke a role x scope assignment from a tenant member.

revoke_assignment input schema
{
  "type": "object",
  "required": [
    "authorization",
    "sub",
    "id"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "sub": {
      "type": "string"
    },
    "tenant_id": {
      "type": "string",
      "default": ""
    },
    "authorization": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
revoke_assignment annotations
{
  "title": "Revoke Assignment",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
list_tenant_services — List Tenant Services
Advertised by the server during the last successful anonymous check.
Advertised read-only

Return the caller's tenant's active service subscriptions. Call this before offering to add a service, to check what is already subscribed.

list_tenant_services input schema
{
  "type": "object",
  "required": [
    "authorization"
  ],
  "properties": {
    "tenant_id": {
      "type": "string",
      "default": ""
    },
    "authorization": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
list_tenant_services output schema
{
  "type": "object",
  "required": [
    "result"
  ],
  "properties": {
    "result": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {
          "type": "string"
        }
      },
      "title": "Response List Tenant Services"
    }
  },
  "x-fastmcp-wrap-result": true
}
list_tenant_services annotations
{
  "title": "List Tenant Services",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
add_tenant_service — Add Tenant Service
Advertised by the server during the last successful anonymous check.

Request a new service subscription for the caller's tenant and return its status. Call this when a tenant admin wants to add a service (ADR 0016 code fix: requires `admin`, was `customer` realm role only).

add_tenant_service input schema
{
  "type": "object",
  "required": [
    "authorization"
  ],
  "properties": {
    "body": {
      "type": "object",
      "default": "",
      "required": [
        "service"
      ],
      "properties": {
        "service": {
          "type": "string"
        }
      }
    },
    "tenant_id": {
      "type": "string",
      "default": ""
    },
    "authorization": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
add_tenant_service output schema
{
  "type": "object",
  "title": "Response Add Tenant Service",
  "additionalProperties": {
    "type": "string"
  }
}
add_tenant_service annotations
{
  "title": "Add Tenant Service",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}

Prompts

0 advertised

No prompt definitions available.

Resources

0 advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

49% (48 of 98 checks answered)

  1. 2026-11-02: 4 of 4 checks answered
  2. 2026-11-03: 2 of 4 checks answered
  3. 2026-11-04: 0 of 4 checks answered
  4. 2026-11-05: 0 of 4 checks answered
  5. 2026-11-06: 0 of 4 checks answered
  6. 2026-11-07: 0 of 2 checks answered
  7. 2026-11-09: 0 of 1 checks answered
  8. 2026-11-10: 0 of 2 checks answered
  9. 2026-11-11: 0 of 1 checks answered
  10. 2026-11-12: 0 of 1 checks answered
  11. 2026-11-14: 0 of 1 checks answered
  12. 2026-11-15: 0 of 2 checks answered
  13. 2026-11-16: 0 of 4 checks answered
  14. 2026-11-17: 0 of 5 checks answered
  15. 2026-11-18: 0 of 5 checks answered
  16. 2026-11-19: 0 of 4 checks answered
  17. 2026-11-20: 0 of 2 checks answered
  18. 2026-11-21: 0 of 4 checks answered
  19. 2026-11-22: 2 of 4 checks answered
  20. 2026-11-23: 4 of 4 checks answered
  21. 2026-11-24: 4 of 4 checks answered
  22. 2026-11-25: 4 of 4 checks answered
  23. 2026-11-26: 4 of 4 checks answered
  24. 2026-11-27: 4 of 4 checks answered
  25. 2026-11-28: 3 of 3 checks answered
  26. 2026-11-29: 4 of 4 checks answered
  27. 2026-11-30: 4 of 4 checks answered
  28. 2026-12-01: 4 of 4 checks answered
  29. 2026-12-02: 4 of 4 checks answered
  30. 2026-12-03: 1 of 1 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
2 of 3 (66.7%)
Average latency
1762 ms
95th percentile latency
2390 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · repository · passed · metadata changed · updated
  • · registry · passed · metadata changed · Source metadata updated
  • · probe · passed · 2437 ms · 32 tool(s), 0 resource(s), 0 resource template(s), 0 prompt(s)
  • · probe · passed · 1964 ms · metadata changed · 32 tool(s), 0 resource(s), 0 resource template(s), 0 prompt(s)
  • · repository · passed · metadata changed · unchanged
  • · registry · passed · metadata changed · Source metadata updated
  • · probe · failed · 885 ms · initialize returned HTTP 503
  • · repository · passed · metadata changed · unchanged
  • · registry · passed · metadata changed · Source metadata updated
  • · repository · passed · metadata changed · unchanged

Try asking

Reviewed prompts from cited playbooks. Connect the listed servers before using them.

Register a new 4chems platform account
I want to register for a 4chems platform account. Please start the registration process for me. Once you have initiated it, let me know so I can check my email for the verification code.

Agent playbooks using this server

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http 4chems-platform-mcp https://mcp.4chems.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add 4chems-platform-mcp --url https://mcp.4chems.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable 4chems-platform-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "4chems-platform-mcp": {
      "url": "https://mcp.4chems.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "4chems-platform-mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.4chems.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start 4chems-platform-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "4chems-platform-mcp": {
      "type": "http",
      "url": "https://mcp.4chems.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http 4chems-platform-mcp https://mcp.4chems.com/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://mcp.4chems.com/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "4chems-platform-mcp": {
      "serverUrl": "https://mcp.4chems.com/mcp"
    }
  }
}

Let your agent find its tools

Find servers like 4chems Platform MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run 4chems Platform MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing