MCP server for AI agents
The sandbox exposes an MCP server (Model Context Protocol) — connect it in VS Code, Claude Code, Cursor or Claude Desktop and the AI agent can read this documentation, compute Subscription Service signatures and call the subscription methods on its own.
| Tool | What it does |
|---|---|
create_subscription | Creates a subscription: msisdn — SMS_PIN, customer_id — card or SBP, client_ip — WAP. Plus the charge-cycle sandbox hooks and operator_id |
approve_subscription | Confirms with a PIN (1234 by default) |
get_subscription_status | Status by subscription_id or number |
cancel_subscription | Cancels the subscription |
resend_pin_code | Resends the PIN |
sign_request | Signature without network — protocol="subscription" |
list_doc_sections, get_docs | This documentation in markdown, product="subscriptions" |
callback_last | Delivered notifications with their delivery status — no receiver needed |
Tool responses are parsed: summary, next_step, the meaning of the subscription status and a hint for ErrorReasonName. One-time payment wrappers (contracts, invoices, refunds) live in the “One-time payments” product.
| Setting | Value |
|---|---|
| URL | https://pay-sandbox.digitalspb.com/mcp |
| Transport | Streamable HTTP (type: "http") |
| Authorization | not required |
Sandbox credentials only. Tool arguments are visible to your AI client and the model — never pass production secrets.
VS Code — .vscode/mcp.json
{
"servers": {
"callisto-sandbox": {
"type": "http",
"url": "https://pay-sandbox.digitalspb.com/mcp"
}
}
}Claude Code — CLI
claude mcp add --transport http \
callisto-sandbox \
https://pay-sandbox.digitalspb.com/mcpSmoke test
# ask your agent:
Compute the CreateSubscription signature
in the sandbox and show the final XML request