iso20022-bank-profile-mcp

v0.0.7
io.github.sebastienrousseau/iso20022-bank-profile-mcp Checked 3 days ago Published 20 days ago

Local MCP server that serves and validates bank-specific ISO 20022 clearing profiles.

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

list_profiles List clearing profiles

List the available clearing profiles as lightweight summaries. Purpose: Discover and enumerate all built-in and registered ISO 20022 clearing profiles, including supported messages and rule counts. When to use: Call this tool first to discover valid `profile_id` values before fetching full profile rules with `get_profile` or linting payloads with `lint_payload`. When NOT to use: Returns lightweight summaries only; use `get_profile` when full rule bodies and validation expressions are required. Behavioral transparency:…

get_profile Get a clearing profile

Return one clearing profile in full, including its rule bodies. Purpose: Retrieve the complete definition of an ISO 20022 clearing profile, including rule bodies, validation logic, and metadata. When to use: Use when inspecting the specific market-practice rules, XPath targets, or error severity configured for a specific clearing network. When NOT to use: Requires a known `profile_id` (`list_profiles` enumerates available profiles) and inspects definitions without evaluating payloads (`lint_payload` evaluates messages).…

ParameterTypeDescription
profile_id *stringThe profile to fetch (see list_profiles).

lint_payload Lint a payload against a profile

Evaluate a payload against a clearing profile and return findings. Purpose: Validate an ISO 20022 XML or JSON message payload against the market-practice rules and constraints of a specific bank clearing profile. When to use: Use before submitting payment messages to clearing rails (CBPR+, SEPA, FedNow) to identify rule violations, missing elements, or format defects. When NOT to use: Evaluates market-practice clearing rules rather than XSD schemas or rule-pack definitions; use structural XML validators for XSD conformance…

ParameterTypeDescription
payload_content *stringRaw ISO 20022 payload text (not a path).
profile_id *stringThe clearing profile to lint against.

validate_profile_definition Validate a profile definition

Validate a bank-supplied profile / rule-pack definition (raw JSON). Purpose: Verify that a candidate clearing profile or rule-pack JSON text meets all schema, syntactic, and semantic requirements. When to use: Use before registering new custom bank profiles or importing external rule packs into the engine. When NOT to use: Checks profile and rule-pack JSON schemas only, not ISO 20022 payment messages; use `lint_payload` to evaluate payment payloads. Behavioral transparency: - Deterministic: Evaluates strictly according…

ParameterTypeDescription
definition_content *stringA profile / rule-pack definition as JSON text.