Skip to main content

Announcing StackOne Defender: leading open-source prompt injection guard for your agent Read More

GoCardless MCP Server
for AI Agents

Production-ready GoCardless MCP server with 66 extensible actions — plus built-in authentication, security, and optimized execution.

GoCardless logo
GoCardless MCP Server
Built by StackOne StackOne

Coverage

66 Agent Actions

Create, read, update, and delete across GoCardless — and extend your agent's capabilities with custom actions.

Authentication

Agent Tool Authentication

Per-user OAuth in one call. Your GoCardless MCP server gets session-scoped tokens with zero credentials stored on your infra.

Agent Auth →

Security

Agent Protection

Every GoCardless tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.

Prompt Injection Defense →

Performance

Max Agent Context. Min Cost.

Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every GoCardless call.

Tools Discovery →

What is the GoCardless MCP Server?

A GoCardless MCP server lets AI agents read and write GoCardless data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's GoCardless MCP server ships with 66 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, and optimized agent context. Connect it from MCP clients like Claude Desktop, Cursor, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.

All GoCardless MCP Tools and Actions

Every action from GoCardless's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.

Billing Requests

  • Create Billing Request

    Create a new billing request to collect customer bank details for a mandate or payment

  • List Billing Requests

    Retrieve a paginated list of billing requests for collecting customer payment details

  • Get Billing Request

    Retrieve details of a specific billing request by its ID

A Customers

  • Create A Customer

    Create a new customer record in GoCardless with contact details and address

  • Update A Customer

    Update an existing customer's contact details, address, or metadata

  • Remove A Customer

    Permanently remove a customer record and all associated data from GoCardless

A Customer Bank Accounts

  • Create A Customer Bank Account

    Create a new bank account record for a customer to use for Direct Debit mandates

  • Update A Customer Bank Account

    Update metadata on an existing customer bank account

Events

  • List Events

    Retrieve a paginated list of events representing state changes for GoCardless resources

  • Get Event

    Retrieve details of a specific event by its ID

A Mandates

  • Create A Mandate

    Create a new Direct Debit mandate for a customer to authorize payment collection

  • Update A Mandate

    Update metadata on an existing mandate

A Payments

  • Create A Payment

    Create a new one-off or ad-hoc payment against an existing Direct Debit mandate

  • Update A Payment

    Update metadata or retry preference on an existing pending payment

Refunds

  • Create Refund

    Create a refund to return funds to a customer for a previously collected payment

  • List Refunds

    Retrieve a paginated list of refunds in your GoCardless account

  • Get Refund

    Retrieve details of a specific refund by its ID

  • Update Refund

    Update metadata on an existing refund

Subscriptions

  • Create Subscription

    Create a new recurring payment subscription against a Direct Debit mandate

  • List Subscriptions

    Retrieve a paginated list of recurring payment subscriptions in your GoCardless account

  • Get Subscription

    Retrieve details of a specific subscription by its ID

  • Update Subscription

    Update amount, name, or metadata on an active subscription

Other (44)

  • Create Billing Request Flow

    Create a hosted payment flow for a billing request to collect customer payment details

  • Create A Creditor Bank Account

    Create a new bank account for receiving payouts from GoCardless

  • Create Instalment Schedule With Dates

    Create an instalment schedule with specific payment amounts and charge dates

  • Create Instalment Schedule With Schedule

    Create an instalment schedule using GoCardless scheduling logic with defined amounts, interval, and start date

  • List Creditors

    Retrieve a paginated list of creditors (merchant accounts) in your GoCardless account

  • Get A Single Creditor

    Retrieve details of a specific creditor account by its ID

  • List Creditor Bank Accounts

    Retrieve a paginated list of creditor bank accounts (payout destination accounts)

  • Get A Single Creditor Bank Account

    Retrieve details of a specific creditor bank account (payout destination) by its ID

  • List Customers

    Retrieve a paginated list of customers in your GoCardless account

  • Get A Single Customer

    Retrieve details of a specific customer by their GoCardless customer ID

  • List Customer Bank Accounts

    Retrieve a paginated list of customer bank accounts in your GoCardless account

  • Get A Single Customer Bank Account

    Retrieve details of a specific customer bank account by its ID

  • List Instalment Schedules

    Retrieve a paginated list of instalment schedules for collecting payments in multiple instalments

  • Get A Single Instalment Schedule

    Retrieve details of a specific instalment schedule by its ID

  • List Mandates

    Retrieve a paginated list of Direct Debit mandates in your GoCardless account

  • Get A Single Mandate

    Retrieve details of a specific Direct Debit mandate by its ID

  • List Payments

    Retrieve a paginated list of payments in your GoCardless account

  • Get A Single Payment

    Retrieve details of a specific payment by its ID

  • List Payout Items

    Retrieve the individual payment and refund line items bundled within a specific payout

  • List Payouts

    Retrieve a paginated list of payouts from GoCardless to your bank account

  • Get A Single Payout

    Retrieve details of a specific payout by its ID

  • List Tax Rates

    Retrieve a paginated list of tax rates applicable to GoCardless transactions

  • Get A Single Tax Rate

    Retrieve details of a specific tax rate by its identifier

  • Update A Creditor

    Update a creditor's address, bank reference prefix, or payout account settings

  • Update An Instalment Schedule

    Update metadata on an existing instalment schedule

  • Update A Payout

    Update metadata on an existing payout

  • Cancel Billing Request

    Cancel an in-progress billing request before it is fulfilled

  • Fulfil Billing Request

    Fulfil a billing request to create the mandate and/or payment once customer details have been collected

  • Notify Billing Request Customer

    Send a notification to the customer to complete their pending billing request

  • Collect Customer Details For Billing Request

    Collect customer details for a billing request on a custom payment page flow

  • Collect Bank Account For Billing Request

    Collect bank account details for a billing request on a custom payment page flow

  • Confirm Payer Details For Billing Request

    Confirm payer details for a billing request on a custom payment page flow before fulfilment

  • Fallback Billing Request To Direct Debit

    Trigger a fallback from Instant Bank Pay to Direct Debit when instant payment fails

  • Disable A Creditor Bank Account

    Disable a creditor bank account to prevent it from receiving future payouts

  • Disable A Customer Bank Account

    Disable a customer bank account, preventing it from being used for future mandates

  • Cancel An Instalment Schedule

    Cancel an active instalment schedule and all its pending future payments

  • Cancel A Mandate

    Cancel an active mandate, preventing any future payments from being collected

  • Reinstate A Mandate

    Reinstate a cancelled mandate to allow payment collection to resume

  • Cancel A Payment

    Cancel a pending payment before it is submitted to the banking system

  • Retry A Payment

    Retry a failed payment when the underlying mandate is still active

  • Run Scenario Simulator

    Trigger a scenario simulator to transition a resource to a specific state in the GoCardless sandbox environment

  • Pause Subscription

    Temporarily pause a subscription, preventing payment collection for a specified number of cycles

  • Resume Subscription

    Resume a paused subscription to restart automatic payment collection

  • Cancel Subscription

    Permanently cancel a subscription, stopping all future payment collection

Set Up Your GoCardless MCP Server in Minutes

One endpoint. Any framework. Your agent is talking to GoCardless in under 10 lines of code.

MCP Clients

Agent Frameworks

Claude Desktop
{
  "mcpServers": {
    "stackone": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://api.stackone.com/mcp?x-account-id=<account_id>",
        "--header",
        "Authorization: Basic <YOUR_BASE64_TOKEN>"
      ]
    }
  }
}

More Commerce MCP Servers

Klaviyo

162+ actions

Stripe

133+ actions

Magento

125+ actions

Square

125+ actions

BigCommerce

120+ actions

Eventbrite

73+ actions

Gorgias

69+ actions

GoCardless MCP Server FAQ

GoCardless MCP server vs direct API integration — what's the difference?
A GoCardless MCP server and direct API integration serve different use cases. Direct API integration is for software-to-software — backend code calling GoCardless. A GoCardless MCP server is for AI agents — MCP clients like Claude and Cursor, plus framework agents built with OpenAI, LangChain, or Vercel AI — discovering and calling GoCardless at runtime. StackOne provides both.
How does GoCardless authentication work for AI agents?
GoCardless authentication for AI agents works through a StackOne Connect Session. Create one via the dashboard or the SDK — you get an auth link and ready-to-paste config for Claude Desktop, Cursor, and other MCP clients. Your user authenticates their own GoCardless account; StackOne handles token exchange, storage, and refresh. Credentials never reach the LLM, and each user is isolated via origin_owner_id.
Are GoCardless MCP tools vulnerable to prompt injection?
Yes — GoCardless MCP tools can be vulnerable to indirect prompt injection. Any tool that reads user-written content — documents, messages, tickets, records, or free-text fields — is a potential vector. StackOne Defender scans every tool response before it enters the agent's context — regex patterns in ~1ms, then a MiniLM classifier in ~4ms. 88.7% accuracy, CPU-only.
What is the context bloat of a GoCardless agent and how do I avoid it?
Context bloat happens when GoCardless tool schemas and API responses eat your GoCardless agent's memory, preventing it from reasoning effectively. A single GoCardless query can return a massive JSON response, and connecting multiple tools compounds the problem. Tools Discovery and Code Mode reduce context bloat — loading only relevant tools per query and keeping raw responses out of the agent's context.
Can I limit which actions my GoCardless agent can access?
Yes — you can limit which actions your GoCardless agent can access directly from the StackOne dashboard. Toggle actions on or off, or restrict them to specific accounts, with no code changes to your agent. Session tokens can be scoped to exact actions so if one leaks, exposure stays contained.
Can I create custom agent actions for my GoCardless MCP server?
Yes — you can create custom agent actions for your GoCardless MCP server using Connector Builder. It's an integration agent your coding assistant (Claude Code, Cursor, or Copilot) can invoke to research GoCardless's API, generate production-ready connector YAML, test against the live API, and validate before you ship.
When should I NOT use a GoCardless MCP server?
Skip a GoCardless MCP server if your integration is purely software-to-software — direct GoCardless API integration is simpler when no AI agent is involved. For deterministic, compliance-critical operations (financial transactions, regulatory reporting), direct API gives you predictable behavior without agent-driven decision-making. MCP shines when AI agents need to dynamically discover and call GoCardless actions at runtime.
What AI frameworks and AI clients does the StackOne GoCardless MCP server support?
The StackOne GoCardless MCP server supports both. MCP clients (paste-and-go apps): Claude Desktop, Claude Code, Cursor, VS Code, Goose. Agent frameworks (code SDKs you build with): OpenAI Agents SDK, Anthropic, Vercel AI, Google ADK, CrewAI, Pydantic AI, LangChain, LangGraph, Azure AI Foundry.

Put your AI agents to work

All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.