Skip to content
FRAGMENT
E MCP#

The FRAGMENT MCP server lets you use a coding agent to design schemas, simulate funds flows and write code to integrate your app.

a. Tools

#

The MCP server exposes tools to:

  • Create, update, and validate your chart of accounts, entry types, and payment types.
  • Simulate your funds flows in scenarios.
  • Guide your implementation with built-in skills for ledger design, accounting and specific use cases.
Payment types#

Use get_schema to find payment-type IDs, then get_payment_type for accounting lines, tags, parameters, and validation errors.

ToolPurpose
add_payment_typeCreate a card pay-in with the designer defaults.
update_payment_typeEdit supplied fields and existing user lines or payment tags by ID.
add_payment_entry / remove_payment_entryAdd or remove optional initiated and refund accounting entries.
add_payment_fields / remove_payment_fieldsAdd or remove user lines and payment-level tags.
delete_payment_typeDelete a draft payment type and its scenario events.
set_account_paymentDesignate or un-designate the payment account.

Creation adds the default payment account and missing parent accounts when no payment account exists. Settlement and chargeback entries are required. Their system lines cannot be edited or removed. Payment types currently support version 1 and active card pay-ins. Deployed definitions are immutable, except previously absent refund entries, which remain editable until deployed. Use verify_schema before deploying.

b. Get started

#

To create a new MCP Connection:

  1. Open the Dashboard and select the workspace you want to connect.
  2. Click MCP in the schema designer, or open MCP connections.
  3. Click Add and choose your client (Claude, Cursor, Open Code, Codex, or get the raw URL).
  4. Follow the provided instructions to authenticate the connection.

Authorization can be revoked at any time from MCP connections.

c. Permissions

#
  • Tools and queries are scoped to one workspace
  • Inherits the permissions of the user creating the connection.
  • Read & Write permissions are enforced on tool calls.