Floe Payments and Credit
OfficialIntegrates with Coinbase to fund agent wallets with USDC using credit card, bank transfer, Apple Pay, and Google Pay.
Enables multi-agent workflows in CrewAI to handle secured working capital, x402 payments, and credit thresholds via Floe.
Allows LangChain agents to access Floe's financial tools for credit, loans, and payments.
Provides tools for OpenAI Agents SDK to interact with Floe's financial services.
@floelabs/mcp-server
The Financial OS for AI Agents — exposed over MCP.
Connect Claude Desktop, Claude Code, Cursor, CrewAI, or any MCP-compatible client to the full Floe stack: wallet, on-ramp, working capital, x402 payments, and credit thresholds. 36 tools across the six components, with transport-aware auth (remote HTTP uses a Bearer token; local stdio reads FLOE_API_KEY from the env).
Proof points: 3,000+ secured working capital lines issued · zero defaults · 13,000+ x402 APIs reachable via the Floe proxy.
The Floe Stack (what this MCP server exposes)
# | Component | Status | Tools |
01 | Agent Wallet |
|
|
02 | Fiat on/off-ramp | Dashboard-driven | On-ramp links generated server-side; no MCP tool required today. Tool surface |
03 | Secured working capital |
|
|
04 | Unsecured working capital |
| Coming soon — email hello@floelabs.xyz for the design partner program |
05 | x402 payment facilitator |
|
|
06 | Credit & trust bureau | Writer |
|
Plus utility tools — simulate_transaction, broadcast_transaction, get_transaction_status — shared across components.
Tested clients
Client | Status |
Claude Desktop |
|
Claude Code |
|
Cursor |
|
Continue / Cline | Best-effort |
CrewAI (via |
|
OpenAI Agents SDK |
|
ElizaOS |
|
Quick Start
Option 1: Remote (recommended)
Point your MCP client directly at the hosted endpoint — no installation needed.
Claude Desktop / Claude Code:
{
"mcpServers": {
"floe": {
"url": "https://mcp.floelabs.xyz/mcp",
"headers": {
"Authorization": "Bearer floe_YOUR_AGENT_KEY"
}
}
}
}Option 2: Local via npx
Run the server locally. It proxies all requests to the Floe API.
FLOE_API_KEY=floe_YOUR_AGENT_KEY npx @floelabs/mcp-serverClaude Desktop config:
{
"mcpServers": {
"floe": {
"command": "npx",
"args": ["@floelabs/mcp-server"],
"env": {
"FLOE_API_KEY": "floe_YOUR_AGENT_KEY"
}
}
}
}Cursor config (.cursor/mcp.json):
{
"mcpServers": {
"floe": {
"command": "npx",
"args": ["@floelabs/mcp-server"],
"env": {
"FLOE_API_KEY": "floe_YOUR_AGENT_KEY"
}
}
}
}Option 3: Install globally
npm install -g @floelabs/mcp-server
FLOE_API_KEY=floe_YOUR_AGENT_KEY floe-mcpAuth model
Auth source depends on transport:
Transport | Identity source |
Remote HTTP ( |
|
Local stdio ( |
|
Local HTTP (self-hosted) | Bearer header takes precedence; when |
Which key to use
Two key formats unlock different surfaces:
Key format | Scope | When to use |
| One specific agent | Default for MCP. Required for agent-awareness tools ( |
| Whole developer account | Use only if you're running a multi-tenant integration that needs to see all agents. Agent-awareness tools return 401 because the caller is the developer, not a single agent. |
Get an agent key:
Connect your wallet and Create an agent (name + borrow limit + max rate)
Copy the
floe_<64-hex>key shown at the end of the wizard — it is revealed once
You can also mint one from the CLI without visiting the dashboard:
# TypeScript SDK
npx floe-agent register --name my-agent --borrow-limit 10000
# Python SDK
floe-agent register --name my-agent --borrow-limit 10000Get a developer key (only if you need multi-tenant access across all your agents):
Click Create Key, label it, pick
readorread_writepermissionsCopy the
floe_live_<base62>key shown once
Developer keys span the whole developer account and have a separate rate limit (100 req/min). Agent-awareness tools (get_credit_remaining, get_spend_limit, etc) return 401 with a developer key because the caller is the developer, not a single agent — use an agent key for those. See the API Keys docs for the full taxonomy.
Fund with fiat: You can fund your wallet with USDC via Coinbase — credit card, bank transfer, Apple Pay, Google Pay — directly from the dashboard. No crypto on-ramp needed.
Multiple agents
One Floe developer can own many agents. To run several MCP sessions side by side (e.g. a research agent and a trading agent), mint one key per agent and configure each MCP client entry with its own key:
{
"mcpServers": {
"floe-research": {
"url": "https://mcp.floelabs.xyz/mcp",
"headers": { "Authorization": "Bearer floe_KEY_FOR_RESEARCH_AGENT" }
},
"floe-trading": {
"url": "https://mcp.floelabs.xyz/mcp",
"headers": { "Authorization": "Bearer floe_KEY_FOR_TRADING_AGENT" }
}
}
}Each session is scoped to one agent — credit lines, spend limits, and webhooks stay isolated.
Environment Variables
Variable | Required | Default | Description |
| Yes | — | Your Floe API key ( |
| No |
| API endpoint |
| No |
| HTTP server port (non-stdio mode) |
| No |
| Allow env-var key fallback when no Bearer header is sent (HTTP mode only) |
What can agents do?
Floe component | Capability |
Agent Wallet | Read balances, credit headroom, loan-lifecycle state |
Secured working capital | Browse markets, post intents, match offers, repay, manage collateral, liquidate |
x402 payment facilitator | Preflight x402 costs against current credit and spend limits |
Credit & trust bureau | Register webhook thresholds on credit utilization; list / delete |
Tools (36)
Below the tools are listed by request type. Mapping to the six product components is in the table above.
Read tools
Tool | Description |
| List active lending markets with rates and liquidity |
| Detailed market info including oracle prices |
| Browse lend offers available for borrowing against |
| Browse borrow requests from borrowers seeking lenders |
| Get full details of a specific intent by hash |
| Get loan details by numeric ID |
| Get all loans for a wallet (borrower + lender) |
| Check loan LTV, health status, liquidation risk |
| Get liquidation eligibility and details |
| Current oracle price for collateral tokens |
| Token balances for a wallet |
| Interest accrued on a loan |
Write tools (return unsigned transactions)
Tool | Description |
| Create a lending offer |
| Create a borrowing request |
| Accept an existing offer (solver matches automatically) |
| Repay a loan with slippage protection |
| Add collateral to improve loan health |
| Withdraw excess collateral |
| Liquidate an unhealthy loan |
| Cancel an active intent |
| Approve token spending for the protocol |
Analysis tools
Tool | Description |
| Check if two intents can match |
| Risk metrics: LTV, liquidation price, buffer |
| Interest estimate for given loan terms |
Utility tools
Tool | Description |
| Dry-run a transaction (eth_call) |
| Submit a signed transaction |
| Check transaction receipt |
Agent-awareness tools
Lets an agent answer "do I have credit?", "is this call worth it?", and "where am I in the loan lifecycle?" before committing capital. All require an agent API key (floe_*). The calling identity is taken from the Bearer header in HTTP mode, or from FLOE_API_KEY in stdio mode (and as a fallback in HTTP mode when ALLOW_SHARED_KEY_FALLBACK=true).
Tool | Description |
| Current available credit, headroom to auto-borrow, utilization in bps |
| Coarse state: |
| Currently active session spend cap, if any |
| Set a session-level USDC ceiling (resets the session window) |
| Remove the session spend cap |
| List registered credit-utilization thresholds |
| Register a webhook trigger at a utilization threshold (cap: 20 per agent) |
| Remove a registered threshold |
| Preflight an x402 URL — returns cost + reflection against your credit, no payment |
Roadmap tools (not yet shipped)
get_credit_profile— read a portable ERC-8004 credit record (Preview)request_unsecured_credit— apply for receivables-backed credit (Preview)create_onramp_link— generate a one-shot fiat on-ramp URL for an agent operator (Roadmap)
Email hello@floelabs.xyz for early access to any of these.
Transaction Flow
All write tools return unsigned transactions — the server never holds private keys.
1. Call a write tool (e.g., create_counter_intent)
→ Returns { transactions: [...], summary, warnings, expiresAt }
2. (Optional) Call simulate_transaction to dry-run
3. Sign each transaction locally with your wallet
4. Call broadcast_transaction with the signed hex
→ Returns { transactionHash, status, blockNumber }Example: Get a USDC Credit Line
Agent: "I need 9,950 USDC working capital"
1. get_open_lend_intents → browse USDC/USDC offers
2. create_counter_intent(offer_hash, wallet) → unsigned txs
3. simulate_transaction(from, to, data) → { success: true, gasEstimate }
4. Sign locally → signed hex
5. broadcast_transaction(signed_hex) → confirmedSigning with viem
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";
const wallet = createWalletClient({
account: privateKeyToAccount(PRIVATE_KEY),
chain: base,
transport: http(),
});
// Sign and send each transaction in order
for (const { transaction: tx } of response.transactions) {
const hash = await wallet.sendTransaction({
to: tx.to,
data: tx.data,
value: BigInt(tx.value),
});
// Wait for confirmation before next step
}Programmatic Usage
MCP Client SDK
import { Client } from "@modelcontextprotocol/sdk/client";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
const client = new Client({ name: "my-agent" });
await client.connect(new StreamableHTTPClientTransport(
new URL("https://mcp.floelabs.xyz/mcp"),
{ requestInit: { headers: { "Authorization": "Bearer floe_..." } } }
));
const markets = await client.callTool("get_markets", {});
const counter = await client.callTool("create_counter_intent", {
offer_hash: "0x...",
wallet_address: "0x...",
});LangChain / LangGraph
from langchain_mcp_adapters import MultiServerMCPClient
async with MultiServerMCPClient({
"floe": {"url": "https://mcp.floelabs.xyz/mcp", "headers": {"Authorization": "Bearer floe_..."}}
}) as client:
tools = client.get_tools()
# Use tools in your agentCrewAI
CrewAI agents can consume the Floe MCP tools via langchain-mcp-adapters. A runnable crew is available in floe-examples/crewai-demo.
Architecture
Your Agent → MCP Server → credit-api.floelabs.xyz → Envio Indexer / Base RPC
↑ ↑
This package Private backend
(open source) (holds secrets)The MCP server is a thin HTTP client. All protocol logic, indexer queries, and RPC calls happen in the private Floe API backend. This package contains only tool definitions and fetch() calls.
Protocol overview
Floe is an intent-based lending protocol on Base, surfaced as the lending layer of the Financial OS:
Primary market (USDC/USDC): Deposit USDC as collateral, borrow up to 99.5% as a credit line. No price-volatility risk — same-token market.
Volatile markets: Also supports WETH and cbBTC collateral for crypto-native use cases.
Solvers automatically match compatible intent pairs on-chain.
Loans are created with matched terms, collateral locked in per-loan isolated escrow.
Gas-free — Floe sponsors all transaction costs.
Fixed rates — no variable-rate surprises.
Key concepts:
Intent: An on-chain offer to lend or borrow
Counter-Intent: An intent created to match an existing offer
Health Factor: Ratio of collateral value to debt — below threshold triggers liquidation
LTV (Loan-to-Value): Borrower's debt as % of collateral value
Contract Addresses (Base Mainnet)
Contract | Address |
LendingIntentMatcher |
|
PriceOracle |
|
LendingViews |
|
x402 Facilitator |
|
Links
License
MIT
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/Floe-Labs/floe-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server