Developer tools
The Gravv CLI runs API calls from your terminal, and the Gravv MCP server connects your AI assistant to the API. Learn what each one does and how to use them together.
Gravv has two tools for building and testing your integration. Both call the same API as your own code, with your own API key.
gravv command for your terminal. It runs real API calls, prints each one as a curl command, and can run a whole sandbox flow with one command.Example. You want to see how a payout to a Nigerian bank account works before you write any code. You run gravv try payout-ng --curl. The CLI makes a test customer and a wallet, puts 20 test USDC in the wallet, adds a Nigerian bank payee and sends it 5.00 USD. It prints every call it made as curl. Then you ask your assistant to "write this payout flow in TypeScript". It reads the same docs pages through the MCP server and writes the code with the same calls.
Which tool to use
| You want to | Use |
|---|---|
| See a whole flow work in sandbox before you write code | The CLI: gravv try |
| Copy a working request into your code | The CLI with --curl |
| See why a call failed and how to fix it | The CLI prints the error, the request id and the fix |
| Watch the webhooks Gravv sends you | The CLI: gravv webhooks tail |
| Ask questions about the API in plain words | The MCP server |
| Have your assistant write or fix your integration code | The MCP server |
| Have your assistant run calls for you, such as onboarding a test customer | The MCP server |
What you need
grvSec_sandbox_. See Authentication.Sandbox and live use one host, https://api.gravv.xyz. Your key decides which one a call reaches. Both tools read the key's prefix and treat any key that does not start with grvSec_sandbox_ as live.
Set up the CLI
Install it:
Save your key. The CLI checks the key with Gravv before it saves it:
Check that everything is ready:
Run your first flow:
The CLI prints one line for each step, with the ids it made, and every call as curl.
The Gravv CLI page lists every journey and the commands you will use most.
Set up the MCP server
Add the server to your client. In Claude Code:
The Gravv MCP server page has the setup for VS Code, Cursor, Codex, Claude Desktop, Windsurf, Cline and Zed.
listAccountsV2 and answers with your sandbox data.Without a key, the server starts in docs-only mode. The assistant can search and read these docs, but it cannot call the API.
How both tools keep you safe
--live, and then asks you to confirm.$GRAVV_SANDBOX_KEY in its place.Build your integration with both
gravv try payout-ng --curl, and keep the curl it prints.gravv webhooks tail to see the webhooks your code causes, and check that your server handles each one.