Build with AI coding agents (MCP)
The ArtsPay MCP server gives AI coding agents direct access to the ArtsPay documentation. MCP (Model Context Protocol) is the open standard coding agents use to connect to tools and data. Once it's connected, your agent can search the guides, read any page, look up exact API fields and pull code from the official example integrations while it works.
Server URL: https://mcp.artspay.com/mcp
Why it matters
ArtsPay is a specialist payments platform, so most AI models know little about it. Left to guess, a coding agent will invent endpoints, reach for outdated patterns or borrow from another provider's API. With the MCP server connected, it looks things up instead.
In our testing, agents with the MCP server connected built checkouts that followed the documented integration path, checked signed payment results on the server and used the correct test cards. They also finished faster than agents searching the web on their own.
Before you start
- Nothing to sign up for. The server is public and read-only. It needs no account, sign-in or API key.
- It only reads documentation. It can't see your ArtsPay account, transactions or credentials, and it can't take any action on your account.
- Your own credentials still come from ArtsPay. Your agent will build against the sandbox. To process payments you need your ArtsPay gateway credentials, and some features (3D Secure, Apple Pay, Google Pay) must be enabled on your account by ArtsPay support first.
Set up
Pick your coding agent. You can also open Set up agent at the top of any docs page.
What your agent can do
| Tool | What it does |
|---|---|
search_docs | Searches the guides, product docs, developer docs and API reference, and returns the best-matching sections with links. |
get_doc | Reads a full docs page, or one section of it, as Markdown. |
get_endpoint | Returns the exact reference for an API endpoint: method, path, base URL, parameters and example requests and responses. |
list_examples | Lists the official example integrations by flow and stack, such as Hosted Payment Pages with Vue and Node. |
get_example | Reads an example integration's README, file list or a single file, with a download link for the full project. |
lookup_response_code | Explains a gateway response code and what to do about it. |
get_test_cards | Returns the sandbox test cards and the result each one produces. |
The server also gives your agent a short set of ArtsPay best practices, such as preferring the Hosted Payments Page, how to enable 3D Secure correctly and keeping credentials on the server.
Try it
Once it's connected, ask your agent to build something. For example:
- "Set up a Vue cart and checkout that takes card payments with ArtsPay, with a Node backend and 3D Secure."
- "How do I set up 3D Secure on WordPress with ArtsPay?"
- "Save a customer's card at checkout and charge it monthly from my Node backend."
- "What does response code 51 mean, and what should my checkout show the customer?"
If your agent doesn't use the ArtsPay tools on its own, mention ArtsPay in your request or ask it to "use the ArtsPay docs".
Security and privacy
- Read-only. The server only returns public documentation and example code. It has no access to ArtsPay accounts or payment data.
- Don't paste secrets or card numbers into your agent. The server never needs them. Keep gateway credentials in environment variables on your server, as the examples do.
- Usage logging. To improve the docs, we log which tools are called and what was searched for, such as "3D Secure WooCommerce". We don't log IP addresses, and anything that looks like a card number or key is removed before it's stored.
- Review what your agent writes. Treat generated code like any other code: review it, and test it in the sandbox before going live.
Without MCP
If your agent doesn't support MCP, it can still read the docs directly:
- Copy for LLM at the top of any docs page copies that page as Markdown, ready to paste into any AI tool.
- Every docs page is available as Markdown at its URL plus
.md, for examplehttps://www.artspay.com/docs/guides/3d-secure.md. - llms.txt lists every page for AI tools, and llms-full.txt contains them all in one file.
FAQ
Does it cost anything?
No. The MCP server is free to use and needs no account.
Can my agent take payments or change my account through it?
No. It only reads documentation and example code. Anything involving your account, such as processing payments or refunds, uses your own credentials in your own code.
It won't connect. What should I check?
Check the URL is exactly https://mcp.artspay.com/mcp. On a company network, ask your IT team to allow mcp.artspay.com. In Claude Code, /mcp shows the connection status; restart the agent after adding the server.
Why do the API docs mention Fat Zebra?
ArtsPay is built on the Fat Zebra gateway, so the gateway API, fatzebra.js and @fat-zebra/sdk carry that name. Use them as documented with your ArtsPay credentials.
Where do I send feedback?
Email support@artspay.com. If your agent couldn't find something it needed, we'd like to know.