bankrbot-mcp
v1.0.5
Published
Builder-focused MCP for Bankr — ship faster with Cursor, Claude, and other AI tools. Prices, swaps, portfolio, NFTs, and more.
Maintainers
Readme
BankrBot MCP — Build with Bankr, faster
A builder-focused MCP server for Bankr. Use it inside Cursor, Claude, and other MCP-capable tools to prototype, debug, and ship DeFi and agent features without leaving your editor.
- Real-time data — Prices, balances, portfolio, trending tokens.
- Trading & flows — Swaps, limit orders, DCA, bridging, transfers.
- NFTs & leverage — NFT ops and leveraged trades via Avantis.
- Market context — Deep analysis, charts, TA, sentiment.
Your AI assistant gets first-class Bankr tools so you can build and iterate faster.
Installation
Use the same npx command in Cursor, Claude Desktop, Claude Code, or any MCP client. Set BANKR_API_KEY (and optionally DEFAULT_WALLET) in the server config so the tools can call the Bankr API.
Claude Desktop
Add this to your claude_desktop_config.json (located at ~/Library/Application Support/Claude/claude_desktop_config.json on Mac):
{
"mcpServers": {
"bankrbot": {
"command": "npx",
"args": ["-y", "bankrbot-mcp"],
"env": {
"BANKR_API_KEY": "bk_your_key_here",
"DEFAULT_WALLET": "0x_your_trading_wallet"
}
}
}
}Cursor
Add the Bankr MCP to your Cursor config by editing mcp.json (e.g. Cursor Settings → MCP → Open config, or open .cursor/mcp.json in your user directory). Add this block inside mcpServers:
"bankrbot": {
"command": "npx",
"args": ["-y", "bankrbot-mcp"],
"env": {
"BANKR_API_KEY": "bk_your_key_here",
"DEFAULT_WALLET": "0x_your_trading_wallet"
}
}Replace bk_your_key_here and 0x_your_trading_wallet with your Bankr API key and wallet address. Restart Cursor (or reload the window) after saving.
If you see spawn npx ENOENT in Cursor’s MCP logs: Cursor can’t find npx (often when Node is from nvm/fnm or Cursor was opened from the Dock). Use the full path to npx as the command. In a terminal run which npx and put that path in mcp.json, e.g.:
"bankrbot": {
"command": "/opt/homebrew/bin/npx",
"args": ["-y", "bankrbot-mcp"],
"env": {
"BANKR_API_KEY": "bk_your_key_here",
"DEFAULT_WALLET": "0x_your_trading_wallet"
}
}(Common paths: Apple Silicon Homebrew /opt/homebrew/bin/npx, Intel Homebrew /usr/local/bin/npx, nvm ~/.nvm/versions/node/<version>/bin/npx.)
Claude Code
Run the following command in your terminal where you use Claude Code:
claude mcp add bankrbot -- npx -y bankrbot-mcpNote: Make sure your terminal has the required BANKR_* environment variables exported before starting Claude Code.
Antigravity & Other MCP Clients
If you are using Antigravity, Windsurf, or other MCP-compatible clients, you can configure the same npx command:
npx -y bankrbot-mcpOr clone this repository and run locally:
npm install
npm run build
node build/index.jsTools (for builders)
| Tool | Use when building |
|------|-------------------|
| get_price | Need live token prices in your flow or UI. |
| get_trending | Discover what’s moving for dashboards or alerts. |
| get_balance / get_portfolio_summary | Check wallet state, test flows, debug. |
| get_transaction_history | Inspect recent activity. |
| execute_swap | Test swap UX or run small trades. |
| place_limit_order / setup_dca / bridge_assets | Automate or prototype strategies. |
| transfer_token | Send tokens (e.g. to test wallets). |
| nft_operations | Build or test NFT buy/list/mint/transfer. |
| leveraged_trade | Integrate Avantis leveraged positions. |
| market_analysis | Pull charts, TA, sentiment into your app or docs. |
| check_job_status | Poll long-running Bankr jobs from your code. |
