Koskamo

ifthenpay Payments MCP

The ifthenpay MCP server exposes payment APIs as invocable tools for AI agents, supporting Multibanco, MB WAY, Payshop, Credit Card, PinPay, and PIX methods via JSON-RPC 2.0.

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.

ifthenpay Payments MCP logo, by ifthenpayVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by ifthenpay
You need:your own ifthenpay keys (Multibanco Key, MB WAY Key, Gateway Key, Backoffice Key, etc.), provided at contract sign-up
MCP endpoint (Streamable HTTP)
https://ai.ifthenpay.com/mcp/payments/
Vendor documentation

What its tools do

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

8 of 8 have a description · 0 of 8 declare behavior hints · 8 of 8 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 ifthenpay.com ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 93.4% over 90 days
  • Availability 2 of 2 checks passed in 30 days

About ifthenpay Payments MCP

The ifthenpay Payments MCP server provides eight tools for AI agents to interact with payment services. It supports Multibanco, MB WAY, Payshop, Credit Card, PinPay, and PIX methods using JSON-RPC 2.0. Agents can perform actions such as checking payment status, creating Multibanco references, processing credit card payments, and requesting MB WAY payments.

Accessing the server requires no sign-in for connection or tool listing. However, executing individual tools demands specific credentials. Users must possess their own ifthenpay keys, including the Multibanco Key, MB WAY Key, Gateway Key, and Backoffice Key, which are issued upon contract sign-up. Some tools may also require additional vendor permissions.

The server operates via a Streamable HTTP endpoint at ai.ifthenpay.com. It is designed for developers integrating payment workflows into AI agents. The available tools cover creation, status checking, and payment processing across the supported methods.

What you can do with it

  • Create Multibanco payment references
  • Request MB WAY payments
  • Process credit card payments
  • Check payment status

Source and maintenance

Vendor evidenceRegistry 1.0.2
Last repository push
Latest release
v1.0.2
Maintenance checked

Protocol and capabilities

Server
ifthenpay-mcp 1.0.0
MCP protocol negotiated in check
2025-03-26
Tools
8 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {}
}

Tools

8 advertised

multibanco_create_reference
Advertised by the server during the last successful anonymous check.

Creates a Multibanco payment reference that the customer can use to pay at any ATM or via online banking in Portugal.

multibanco_create_reference input schema
{
  "type": "object",
  "required": [
    "mb_key",
    "order_id",
    "amount"
  ],
  "properties": {
    "amount": {
      "type": "number",
      "description": "Payment amount in EUR (e.g. 10.50)."
    },
    "mb_key": {
      "type": "string",
      "description": "ifthenpay Multibanco key."
    },
    "order_id": {
      "type": "string",
      "description": "Unique order identifier in your system."
    },
    "expiry_days": {
      "type": "integer",
      "description": "Number of days until the reference expires. Defaults to no expiry if omitted."
    }
  }
}
mbway_request_payment
Advertised by the server during the last successful anonymous check.

Sends an MB WAY payment request to the customer's mobile phone. The customer approves the payment in the MB WAY app. Use mbway_check_status to check the result.

mbway_request_payment input schema
{
  "type": "object",
  "required": [
    "mbway_key",
    "order_id",
    "amount",
    "phone"
  ],
  "properties": {
    "phone": {
      "type": "string",
      "description": "Customer mobile number in format \"351#912345678\" (country code # number)."
    },
    "amount": {
      "type": "number",
      "description": "Payment amount in EUR (e.g. 10.50)."
    },
    "order_id": {
      "type": "string",
      "description": "Unique order identifier in your system (max 15 characters)."
    },
    "mbway_key": {
      "type": "string",
      "description": "ifthenpay MB WAY key."
    },
    "description": {
      "type": "string",
      "description": "Short payment description shown in the MB WAY app."
    }
  }
}
mbway_check_status
Advertised by the server during the last successful anonymous check.

Checks the status of a previously requested MB WAY payment. Returns pending, paid, declined, timeout, or cancelled.

mbway_check_status input schema
{
  "type": "object",
  "required": [
    "mbway_key",
    "request_id"
  ],
  "properties": {
    "mbway_key": {
      "type": "string",
      "description": "ifthenpay MB WAY key."
    },
    "request_id": {
      "type": "string",
      "description": "Request ID returned by mbway_request_payment."
    }
  }
}
payshop_create_reference
Advertised by the server during the last successful anonymous check.

Creates a Payshop payment reference that the customer can use to pay at any Payshop agent or CTT (postal service) in Portugal.

payshop_create_reference input schema
{
  "type": "object",
  "required": [
    "payshop_key",
    "order_id",
    "amount"
  ],
  "properties": {
    "amount": {
      "type": "number",
      "description": "Payment amount in EUR (e.g. 10.50)."
    },
    "order_id": {
      "type": "string",
      "description": "Unique order identifier in your system (max 25 characters)."
    },
    "expiry_date": {
      "type": "string",
      "description": "Expiry date in YYYYMMDD format (e.g. 20301231). Leave blank for no expiry."
    },
    "payshop_key": {
      "type": "string",
      "description": "ifthenpay Payshop key."
    }
  }
}
creditcard_create_payment
Advertised by the server during the last successful anonymous check.

Creates a credit/debit card payment session and returns a payment URL. The customer is redirected to a hosted checkout page to complete payment with their card.

creditcard_create_payment input schema
{
  "type": "object",
  "required": [
    "ccard_key",
    "order_id",
    "amount",
    "success_url",
    "error_url",
    "cancel_url"
  ],
  "properties": {
    "amount": {
      "type": "number",
      "description": "Payment amount in EUR (e.g. 10.50)."
    },
    "language": {
      "type": "string",
      "description": "Language for the checkout page (e.g. \"pt\", \"en\"). Defaults to \"pt\"."
    },
    "order_id": {
      "type": "string",
      "description": "Unique order identifier in your system (max 15 characters)."
    },
    "ccard_key": {
      "type": "string",
      "description": "ifthenpay Credit Card key."
    },
    "error_url": {
      "type": "string",
      "description": "URL to redirect the customer if the payment fails."
    },
    "cancel_url": {
      "type": "string",
      "description": "URL to redirect the customer if they cancel the payment."
    },
    "success_url": {
      "type": "string",
      "description": "URL to redirect the customer after a successful payment."
    }
  }
}
pinpay_create_payment
Advertised by the server during the last successful anonymous check.

Creates a Pay by Link / PINPAY payment. Returns a shareable payment URL and a PIN code. The hosted checkout supports multiple payment methods including Credit Card, Google Pay, and Apple Pay.

pinpay_create_payment input schema
{
  "type": "object",
  "required": [
    "gateway_key",
    "order_id",
    "amount"
  ],
  "properties": {
    "otp": {
      "enum": [
        "true",
        "false"
      ],
      "type": "string",
      "description": "One-time payment: \"true\" makes the link expire after a single payment."
    },
    "lang": {
      "type": "string",
      "description": "Language for the payment page: pt, en, es, fr. Defaults to pt."
    },
    "amount": {
      "type": "number",
      "description": "Payment amount in EUR (e.g. 10.50)."
    },
    "accounts": {
      "type": "string",
      "description": "Payment methods to show in the gateway, separated by semicolons. Format: METHOD|KEY (e.g. \"MBWAY|MBWAY-KEY;MB|MB-KEY;PAYSHOP|PAYSHOP-KEY;CCARD|CCARD-KEY\"). Leave blank to use gateway defaults."
    },
    "order_id": {
      "type": "string",
      "description": "Unique order identifier in your system (max 15 characters)."
    },
    "error_url": {
      "type": "string",
      "description": "URL to redirect the customer if the payment fails."
    },
    "cancel_url": {
      "type": "string",
      "description": "URL to redirect the customer if they cancel."
    },
    "description": {
      "type": "string",
      "description": "Short description shown on the payment page (max 200 characters)."
    },
    "expiry_date": {
      "type": "string",
      "description": "Link expiry date in YYYYMMDD format (e.g. 20301231). Leave blank for no expiry."
    },
    "gateway_key": {
      "type": "string",
      "description": "ifthenpay Gateway key for Pay by Link / PINPAY."
    },
    "success_url": {
      "type": "string",
      "description": "URL to redirect the customer after a successful payment."
    },
    "btn_close_url": {
      "type": "string",
      "description": "URL for the close/back button on the payment page."
    },
    "btn_close_label": {
      "type": "string",
      "description": "Label text for the close/back button."
    },
    "selected_method": {
      "enum": [
        "1",
        "2",
        "3",
        "4",
        "7",
        "8"
      ],
      "type": "string",
      "description": "Pre-select a payment method: 1=Multibanco, 2=MB WAY, 3=Payshop, 4=Credit Card, 8=Pix."
    }
  }
}
pix_create_payment
Advertised by the server during the last successful anonymous check.

Creates a PIX payment for Brazilian customers. Returns a payment URL and a QR code value. Customer must have a CPF number (Brazilian tax ID).

pix_create_payment input schema
{
  "type": "object",
  "required": [
    "pix_key",
    "order_id",
    "amount",
    "redirect_url",
    "customer_name",
    "customer_cpf",
    "customer_email",
    "customer_phone"
  ],
  "properties": {
    "amount": {
      "type": "number",
      "description": "Payment amount in BRL (e.g. 50.00)."
    },
    "pix_key": {
      "type": "string",
      "description": "ifthenpay PIX key."
    },
    "order_id": {
      "type": "string",
      "description": "Unique order identifier in your system (max 25 characters)."
    },
    "description": {
      "type": "string",
      "description": "Short description or reference for the payment (max 200 characters)."
    },
    "customer_cpf": {
      "type": "string",
      "description": "Customer CPF number (Brazilian tax ID), digits only (e.g. 74026594025)."
    },
    "redirect_url": {
      "type": "string",
      "description": "URL to redirect the customer after payment. Check payment status via the status API after redirect."
    },
    "customer_city": {
      "type": "string",
      "description": "Customer city."
    },
    "customer_name": {
      "type": "string",
      "description": "Full name of the customer (max 150 characters)."
    },
    "customer_email": {
      "type": "string",
      "description": "Customer email address."
    },
    "customer_phone": {
      "type": "string",
      "description": "Customer phone number including country code (e.g. +5585912345678)."
    },
    "customer_state": {
      "type": "string",
      "description": "Customer state (e.g. CE, SP)."
    },
    "customer_address": {
      "type": "string",
      "description": "Customer street address."
    },
    "customer_zip_code": {
      "type": "string",
      "description": "Customer postal/ZIP code."
    }
  }
}
payments_list
Advertised by the server during the last successful anonymous check.

Lists completed payments using the ifthenpay Backoffice Key. Filter by payment method, date range, order ID, reference or request ID. Returns up to 1000 most recent payments if no filters are applied.

payments_list input schema
{
  "type": "object",
  "required": [
    "bo_key"
  ],
  "properties": {
    "amount": {
      "type": "string",
      "description": "Filter by exact payment amount."
    },
    "bo_key": {
      "type": "string",
      "description": "ifthenpay Backoffice Key (provided when signing the contract)."
    },
    "entity": {
      "type": "string",
      "description": "Payment method entity filter. Use: MB, MBWAY, PAYSHOP, CCARD, GOOGLE, APPLE, PIX, or a 5-digit Multibanco entity number. Leave blank for all methods."
    },
    "date_end": {
      "type": "string",
      "description": "End date/time in format dd-MM-yyyy HH:mm:ss (e.g. 31-01-2024 23:59:59)."
    },
    "order_id": {
      "type": "string",
      "description": "Filter by order identifier."
    },
    "reference": {
      "type": "string",
      "description": "Filter by payment reference (Multibanco/Payshop reference or orderId for other methods)."
    },
    "date_start": {
      "type": "string",
      "description": "Start date/time in format dd-MM-yyyy HH:mm:ss (e.g. 01-01-2024 00:00:00)."
    },
    "request_id": {
      "type": "string",
      "description": "Filter by the unique request token returned at payment creation."
    },
    "sub_entity": {
      "type": "string",
      "description": "Payment method key or sub-entity (e.g. MB KEY, MBWAY KEY, PAYSHOP KEY). Leave blank to match all."
    }
  }
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not 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.

93.4% (71 of 76 checks answered)

  1. 2026-11-02: 2 of 3 checks answered
  2. 2026-11-03: 2 of 4 checks answered
  3. 2026-11-04: 4 of 4 checks answered
  4. 2026-11-05: 3 of 4 checks answered
  5. 2026-11-06: 4 of 4 checks answered
  6. 2026-11-07: 2 of 2 checks answered
  7. 2026-11-09: 1 of 1 checks answered
  8. 2026-11-10: 2 of 2 checks answered
  9. 2026-11-11: 1 of 1 checks answered
  10. 2026-11-12: 1 of 1 checks answered
  11. 2026-11-14: 1 of 1 checks answered
  12. 2026-11-15: 2 of 2 checks answered
  13. 2026-11-16: 4 of 4 checks answered
  14. 2026-11-17: 5 of 5 checks answered
  15. 2026-11-18: 5 of 5 checks answered
  16. 2026-11-19: 4 of 4 checks answered
  17. 2026-11-20: 3 of 3 checks answered
  18. 2026-11-21: 4 of 4 checks answered
  19. 2026-11-22: 4 of 4 checks answered
  20. 2026-11-23: 2 of 3 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: 3 of 3 checks answered

30-day availability

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

Successful checks
2 of 2 (100%)
Average latency
2586 ms
95th percentile latency
2905 ms

Maintenance history

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

  • · probe · passed · 2230 ms · 8 tool(s)
  • · probe · passed · 2941 ms · metadata changed · 8 tool(s)
  • · repository · passed · updated
  • · repository · passed · metadata changed · unchanged
  • · repository · passed · metadata changed · updated
  • · registry · passed · metadata changed · Source metadata updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

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 ifthenpay-payments-mcp https://ai.ifthenpay.com/mcp/payments/

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 ifthenpay-payments-mcp --url https://ai.ifthenpay.com/mcp/payments/

Cursor

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

Cline

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

VS Code

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

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 ifthenpay-payments-mcp https://ai.ifthenpay.com/mcp/payments/

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://ai.ifthenpay.com/mcp/payments/

Windsurf

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

Let your agent find its tools

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

Frequently asked questions

Can agents create Multibanco payment references?
Yes, the multibanco_create_reference tool allows agents to generate Multibanco payment references. This task requires the Multibanco Key and other credentials provided at contract sign-up.
How do agents request MB WAY payments?
Agents can use the mbway_request_payment tool to initiate MB WAY payments. This operation requires the MB WAY Key and other necessary credentials from the ifthenpay contract.
Is credit card processing supported?
Yes, the creditcard_create_payment tool enables agents to process credit card payments. This task requires the Gateway Key and other credentials obtained during contract sign-up.

Do you run ifthenpay Payments 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