GoCardless MCP Server
for AI Agents
Connect your AI agent to StackOne's GoCardless MCP server and give it 66 MCP tools out of the box. Auth, tool execution, and security all managed.
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, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
All GoCardless MCP Tools
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.
Agent Frameworks
{
"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>"
]
}
}
}Check More Commerce MCP Servers
172+ actions
133+ actions
128+ actions
125+ actions
120+ actions
85+ actions
83+ actions
Platform Resources
MCP Code Mode: Keeping Tool Responses Out of Agent Context
Anthropic's code_execution processes data already in context. Custom MCP code mode keeps raw tool responses in a sandbox. 14K tokens vs 500.
11 min
Comparing BM25, TF-IDF, and Hybrid Search for MCP Tool Discovery
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
Indirect Prompt Injection Defense for MCP Tools: A Technical Guide
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
MCP vs A2A: Architecture, Security, and When to Use Each
MCP vs A2A: what each protocol standardizes, how they differ, their shared security risks including indirect prompt injection, and when to use one, both, or a hybrid architecture.
12 min
MCP vs API: What 200+ Connector Builds Taught Us
MCP wraps APIs, it doesn't replace them. After building 200+ connectors that serve both, here's when each approach wins.
14 min read
GoCardless MCP Server FAQ
Does StackOne have a GoCardless MCP server?
GoCardless MCP server vs direct API integration — what's the difference?
How does GoCardless authentication work for AI agents?
origin_owner_id.Are GoCardless MCP tools vulnerable to prompt injection?
What is the context bloat of a GoCardless agent and how do I avoid it?
Can I limit which actions my GoCardless agent can access?
Can I create custom agent actions for my GoCardless MCP server?
When should I NOT use a GoCardless MCP server?
What AI frameworks and AI clients does the StackOne GoCardless MCP server support?
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.