AI tools
MCP server
Connect Claude, Cursor or VS Code to CSwitch so your assistant can read the docs and try sample calls.
The Model Context Protocol server gives AI coding assistants these docs, code samples and the sample sandbox, so they write against the real field names.
Tools
| Tool | What it does |
|---|---|
search_docs | Search the guides, the API reference and the help centre. Passages come back with links. |
list_docs | List every docs page. |
get_doc | Read one docs page as text, with its code samples. |
get_endpoint | Get the full spec for an endpoint, with an example response. |
list_webhook_events | Webhook events, the body and how to check the signature. |
dashboard_actions | What merchants can do in the dashboard and how Composer handles each job. |
generate_code | Write integration code for a task in cURL, Node.js, Python or PHP. |
sandbox_request | Call the simulated sandbox. No real money moves. |
The server cannot see your live data or move money. Sandbox requests return sample JSON. dashboard_actions describes the dashboard; it can't run anything there, because dashboard actions need a signed-in merchant.
Each client can make 60 requests a minute.
Connect your tools
Claude Code
claude mcp add --transport http cswitch https://cswitchcba.com/web-api/mcpCursor · .cursor/mcp.json
{
"mcpServers": {
"cswitch": { "url": "https://cswitchcba.com/web-api/mcp" }
}
}VS Code · .vscode/mcp.json
{
"servers": {
"cswitch": { "type": "http", "url": "https://cswitchcba.com/web-api/mcp" }
}
}