Skip to main content
ST

Stone

v0.2.1OAuth2

Open banking, Pix, and card acquiring. TON integration, partner tags, and real-time settlement for Brazilian commerce.

21 tools1 env varsπŸ‡§πŸ‡· Brazilstable on npm

What your agent can do

Stone gives your agent 21 tools it calls directly β€” pick the ones it needs, in Claude, Cursor, or any MCP client.

  • get_balance β€” Get account balance
  • list_transactions β€” List account transactions
  • get_statement β€” Get account statement for a period
Example call
// Your agent calls a tool directly β€” no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("get_balance", { /* ... */ });

Install

terminal
$ npm install @codespar/mcp-stone

Quickstart

Add this entry to your claude_desktop_config.json (or any MCP-compatible client config).

claude_desktop_config.json
{
  "mcpServers": {
    "stone": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-stone"
      ],
      "env": {
        "STONE_CLIENT_SECRET": "<your_stone_client_secret>"
      }
    }
  }
}

After restart, your agent can call any of the 21 tools below β€” try get_balance first.

Environment variables Β· 1

Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.

STONE_CLIENT_SECRET
requiredsecret

API key for stone

Available tools Β· 21

Each tool is independent β€” your agent loads only what it needs to reduce context and response time.

READget_balance
Get account balance
READlist_transactions
List account transactions
READget_statement
Get account statement for a period
WRITEcreate_payment
Create a payment via Stone
WRITEget_payment
Get payment details by ID
WRITElist_payments
List payments with optional filters
WRITEcreate_transfer
Create a bank transfer (internal or external)
WRITEcreate_pix_payment
Create a Pix payment (outbound) via Stone

Compatible frameworks

MCP is a protocol β€” any framework that speaks it can mount this server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Any MCP clientProtocol

Frequently asked questions

Run `npx -y @codespar/mcp-stone` and add the config block above to your MCP client β€” Claude, Cursor, VS Code, or any MCP-compatible client. No build step, no SDK required. Prefer hosted? CodeSpar's managed tier runs it for you with auth handled.
Stone β€” MCP server Β· 21 tools | CodeSpar