Rift Finance MCP Server
OfficialAllows pairing with DApps via WalletConnect, managing pending requests, approving/rejecting sessions, listing sessions, and disconnecting.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Rift Finance MCP ServerSend 10 USDC to alice@example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Rift Finance MCP Server
MCP (Model Context Protocol) server that gives AI assistants full access to the Rift Finance platform. Users can send crypto, check balances, offramp to M-Pesa, bridge across chains, and more — just by chatting.
64 tools covering every Rift API endpoint plus documentation search.
Quick Setup
1. Install
cd rift-mcp-server
npm install
npm run build2. Add to Claude Desktop
Edit ~/.claude/claude_desktop_config.json (Mac: ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"rift-finance": {
"command": "node",
"args": ["/absolute/path/to/rift-mcp-server/dist/index.js"],
"env": {
"RIFT_API_KEY": "sk_your_project_api_key"
}
}
}
}Restart Claude Desktop. You'll see the Rift tools available.
Note:
RIFT_API_KEYis optional in the config — users can also set it at runtime by telling Claude "my Rift API key is sk_..." which callsrift_set_api_key.
3. Add to Claude Code
Edit ~/.claude/settings.json:
{
"mcpServers": {
"rift-finance": {
"command": "node",
"args": ["/absolute/path/to/rift-mcp-server/dist/index.js"],
"env": {
"RIFT_API_KEY": "sk_your_project_api_key"
}
}
}
}4. Add to Cursor
Go to Settings > MCP Servers > Add Server:
Name:
rift-financeCommand:
node /absolute/path/to/rift-mcp-server/dist/index.jsEnvironment Variables:
RIFT_API_KEY:sk_your_project_api_key
5. Add to Any MCP-Compatible Agent
The server uses stdio transport (stdin/stdout JSON-RPC). Any MCP client can connect:
# Run directly
RIFT_API_KEY=sk_your_key node /path/to/rift-mcp-server/dist/index.js
# Or with npx (if published)
RIFT_API_KEY=sk_your_key npx @rift-finance/mcp-serverMCP client config (generic):
{
"command": "node",
"args": ["/path/to/rift-mcp-server/dist/index.js"],
"transport": "stdio",
"env": {
"RIFT_API_URL": "https://rift-sdk-wrapper-j9qe.onrender.com",
"RIFT_API_KEY": "sk_your_key"
}
}6. Using with the OpenAI Agents SDK / LangChain / Vercel AI SDK
Any framework that supports MCP can use this server. Example with the official MCP client:
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";
const transport = new StdioClientTransport({
command: "node",
args: ["/path/to/rift-mcp-server/dist/index.js"],
env: {
RIFT_API_KEY: "sk_your_key",
RIFT_API_URL: "https://rift-sdk-wrapper-j9qe.onrender.com",
},
});
const client = new Client({ name: "my-agent", version: "1.0.0" });
await client.connect(transport);
// List available tools
const tools = await client.listTools();
// Call a tool
const result = await client.callTool({
name: "rift_get_balance",
arguments: { chain: "BASE", token: "USDC" },
});Related MCP server: Stacks AI MCP Server
Environment Variables
Variable | Required | Default | Description |
| No |
| Rift API Wrapper URL |
| No | (empty) | Project API key. Can be set at runtime via |
User Flow
When a user chats with an AI that has this MCP server connected, here's the typical flow:
User: "I want to send some USDC"
AI: I'll need your Rift API key first. Do you have one?
User: "Yeah it's sk_abc123..."
AI: [calls rift_set_api_key] → Got it, key set.
Now let's log you in. What's your email?
User: "user@example.com"
AI: [calls rift_send_otp] → OTP sent to your email. What's the code?
User: "482910"
AI: [calls rift_login] → You're logged in!
[calls rift_get_balance] → You have 150.25 USDC on Base.
How much do you want to send and to what address?
User: "Send 50 USDC to 0xABC... on Base"
AI: You want to send 50 USDC to 0xABC... on Base (gasless).
I'll need an OTP to authorize. Check your email.
[calls rift_send_otp]
User: "Code is 193847"
AI: [calls rift_send_crypto] → Done! Tx hash: 0xdef...All 64 Tools
Setup & Docs (6)
Tool | Description |
| Set API key at runtime |
| Override API URL |
| Check connection status |
| Search SDK/API docs |
| Get REST endpoints for a service |
| List chains, tokens, fiat currencies |
Auth & User (12)
Tool | Description |
| Create account |
| Send OTP |
| Verify OTP |
| Login (stores session) |
| Logout |
| Get profile |
| Update profile / auto-swap config |
| Delete account |
| Setup recovery methods |
| Get recovery options |
| Request password reset |
| Reset password with OTP |
Wallet & Transactions (4)
Tool | Description |
| Check balance (by chain/token) |
| Send crypto (gasless) |
| Transaction history |
| Calculate fees |
Offramp — Crypto to Fiat (6)
Tool | Description |
| Preview FX rate |
| Banks/mobile money by currency |
| Cash out to M-Pesa/bank |
| Get withdrawal fee |
| Track offramp order |
| List offramp orders |
Onramp — Fiat to Crypto (3)
Tool | Description |
| Buy crypto with mobile money |
| Track purchase |
| List purchases |
Bridge (3)
Tool | Description |
| Available routes |
| Get quote |
| Execute bridge |
KYC (6)
Tool | Description |
| Get KYC verification URL |
| Check if user exists |
| KYC status |
| Verify KYC job |
| Am I verified? |
| Poll job status |
WalletConnect (6)
Tool | Description |
| Pair with DApp |
| Pending requests |
| Approve request |
| Reject request |
| List sessions |
| Disconnect session |
Merchant (3)
Tool | Description |
| Create invoice |
| List invoices |
| KYB status |
Notifications (3)
Tool | Description |
| Register device |
| Send notification |
| Get/delete subscriptions |
Signer / Proxy Wallet (4)
Tool | Description |
| Get wallet for chain |
| Sign without broadcast |
| Sign + broadcast |
| Sign message |
Assets (3)
Tool | Description |
| List tokens |
| User's tokens |
| List chains |
User Management (4)
Tool | Description |
| Suspend user |
| Unsuspend user |
| List suspended |
| Check suspension status |
Deposits (1)
Tool | Description |
| Get USDC deposits |
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Rift-FI/rift-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server