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 spend layer for AI agents, over MCP. Give Claude Desktop, Claude Code, Cursor, CrewAI, or any MCP client a single surface to pay for LLM, voice, telephony, and data across 2,000+ vendor API services — with budgets the agent can reason about. Walletless. No crypto required.
Website · Docs · Dashboard · 𝕏 @FloeLabs
65 tools covering the full agent lifecycle — create agents, mint/rotate keys, set budgets, estimate costs, and execute x402 payments — with transport-aware auth (remote HTTP uses a Bearer token; local stdio reads FLOE_API_KEY from the env) and a keyless tier (get_markets, check_x402_url, search_floe_docs work with no key at all).
Start free. A $3 Welcome Credit (300 API credits) on signup — no card, no wallet. Get an agent key →
Start building with Floe
One key for your agent's whole vendor bill — LLM, voice, telephony, search, data — metered per call and budget-capped. Let your coding agent set it up, or wire it yourself:
Path | One line |
Agent — Claude Code / Cursor does the setup | paste: |
Skill — install the Floe agent skill |
|
MCP — hosted MCP server (65 tools) |
|
NPM — the CLI + SDK |
|
New accounts get a $3 Welcome Credit (300 API credits) — no card. Set up with your AI tools → · Get a key →
Related MCP server: AgentPay
What makes this different
Most payment tools let an agent spend. Floe lets an agent reason about spend before it commits — and stops it before it overruns.
Agent-awareness tools —
get_credit_remaining,estimate_x402_cost,get_loan_state: your agent asks "do I have budget? is this call worth it?" before paying, not after.Context-aware budgets — set a session spend cap; the agent tapers as it nears the limit and replans to finish on budget.
The Floe agent skill (Floe-Labs/agent-skills) — the playbook that turns those tools into deliberate spending behavior. Jump to it ↓
Server-side enforcement — the soft signal is the skill; the hard ceiling is the on-chain spend cap + merchant allowlist. The agent cannot overspend regardless of what it decides.
Quick start (remote, recommended)
One-liner installs:
# Universal (any MCP-aware client)
npx -y add-mcp https://mcp.floelabs.xyz/mcp
# Claude Code
claude mcp add --transport http floe https://mcp.floelabs.xyz/mcp --header "Authorization: Bearer YOUR_FLOE_KEY"
# Codex (reads the key from $FLOE_API_KEY at connect time)
codex mcp add floe --url https://mcp.floelabs.xyz/mcp --bearer-token-env-var FLOE_API_KEYOr by JSON config:
{ "mcpServers": { "floe": {
"url": "https://mcp.floelabs.xyz/mcp",
"headers": { "Authorization": "Bearer floe_YOUR_AGENT_KEY" }
} } }Get your agent key: dashboard → Create agent → copy the floe_<hex> key
(shown once). Or from the CLI: npx floe-agent register --name my-agent. No key yet? The server still works —
see Keyless tier.
Scope params — narrow what a session can do straight from the URL:
https://mcp.floelabs.xyz/mcp?read_only=true # only non-mutating tools
https://mcp.floelabs.xyz/mcp?features=spend,pricing # only the named capability groupsCapability groups: lending, spend, pricing, lifecycle, observability, payments, webhooks, docs.
Both params combine. The Floe agent skill's decision loop needs spend,pricing.
→ Local stdio, global install, and key taxonomy below
Tools at a glance
Group | Tools | For |
Payment execution ⭐ |
| pay any x402 vendor — with a cost preflight first |
Agent lifecycle |
| bootstrap and manage the fleet with a developer key |
Agent awareness ⭐ |
| every agent — reason about cost before paying |
Spend governance |
| govern + alert on utilization |
Merchant allowlist |
| default-deny on which destinations the agent may pay |
Funding & observability |
| fund agents + watch the fleet spend |
Webhooks |
| push notifications for account events |
Docs |
| learn the Floe API without leaving MCP |
Wallet |
| balances + state |
Utility |
| tx lifecycle |
Lending protocol (advanced) | 20+ intent / collateral / liquidation tools | crypto-native lending against deposits |
Full per-tool reference is in Tools (65) below.
Tested clients
Client | Status |
Claude Desktop |
|
Claude Code |
|
Cursor |
|
Continue / Cline | Best-effort |
CrewAI (via |
|
OpenAI Agents SDK |
|
ElizaOS |
|
Install options
Option 1 (remote) is in Quick start above. For local runs:
Local via npx
Run the server locally. It proxies all requests to the Floe API.
FLOE_API_KEY=floe_YOUR_AGENT_KEY npx -y @floelabs/mcp-server --stdioClaude Desktop config:
{
"mcpServers": {
"floe": {
"command": "npx",
"args": ["-y", "@floelabs/mcp-server", "--stdio"],
"env": {
"FLOE_API_KEY": "floe_YOUR_AGENT_KEY"
}
}
}
}Cursor config (.cursor/mcp.json):
{
"mcpServers": {
"floe": {
"command": "npx",
"args": ["-y", "@floelabs/mcp-server", "--stdio"],
"env": {
"FLOE_API_KEY": "floe_YOUR_AGENT_KEY"
}
}
}
}Install globally
npm install -g @floelabs/mcp-server
FLOE_API_KEY=floe_YOUR_AGENT_KEY floe-mcp --stdioTransport selection
--stdio and --http are explicit overrides. With neither flag, the server picks by
what stdin is: a pipe (an MCP client spawning it) → stdio; a terminal or a
service manager's /dev/null → HTTP on 127.0.0.1:3100. So a bare command: npx
config now works — but keep --stdio in configs anyway so behavior never depends on
how the client wires stdio. On startup failure the process logs [floe-mcp] Fatal:
to stderr and exits with code 1; in stdio mode all logging goes to stderr, never
stdout (which carries the MCP protocol).
Auth model
Auth source depends on transport:
Transport | Identity source |
Remote HTTP ( |
|
Local stdio ( |
|
Local HTTP (self-hosted) |
|
Keyless tier
The server starts (and the hosted endpoint answers) without any key. Keyless
sessions get exactly three tools with live results: get_markets,
check_x402_url, and search_floe_docs — enough to vet a vendor, price a call,
and learn the API before signup. Every other tool returns a structured error:
{ "error": "AUTH_REQUIRED", "status": 401,
"message": "…Requires an agent key (floe_...).",
"next": "Get a developer key at https://dev-dashboard.floelabs.xyz, then mint agent keys with create_agent_key. …" }Tool errors always carry the backend's HTTP status (so agents can distinguish
401/403/404/429), and 401/403 include a remediation hint that distinguishes
missing key from wrong key type.
Which key to use
Two key formats unlock different surfaces — every tool description states which one it needs:
Key format | Scope | Unlocks |
| One specific agent | Runtime: agent-awareness, spend governance, allowlist, reputation, |
| Whole developer account | Lifecycle: |
Typical bootstrap: connect with the developer key → create_agent →
create_agent_key → reconnect (or open a second MCP session) with the minted
agent key to spend.
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 (unlocks the lifecycle tools — create_agent, key minting, budgets, funding, webhooks — and multi-tenant visibility 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-runtime tools (get_credit_remaining, get_spend_limit, x402_pay, etc) return 401 with a developer key because the caller is the developer, not a single agent — the error's next hint says so and points at create_agent_key. 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 |
| No (keyless tier without it) | — | Your Floe API key: |
| No |
| API endpoint |
| No |
| HTTP server port (non-stdio mode) |
| No |
| HTTP bind address; set |
| No | — | Comma-separated extra origins allowed by CORS in HTTP mode |
Tools (65)
Below the tools are listed by request type. The summary is in Tools at a glance above.
Every description also names the key it needs: agent key (floe_...), developer key
(floe_live_...), any key, or none. The feature-group tag in each heading is what
?features= filters on.
Payment execution (payments, pricing) ⭐
The reason the rest exists: estimate → forecast → pay. x402_pay needs an agent key; check_x402_url is keyless.
Tool | Description |
| Execute a paid x402 call through the Floe proxy — pays the vendor in USDC from the agent's balance/credit, returns the vendor response + |
| Batch cost forecast + policy preflight for up to 50 planned calls (with repeat counts) — one round-trip to validate a whole plan |
| Preflight one x402 URL — returns cost + reflection against your credit, no payment |
| Keyless probe: is this URL x402-protected, and what does it cost? |
Agent lifecycle (lifecycle) — developer key
Bootstrap and manage the fleet without touching the dashboard.
Tool | Description |
| Provision a managed agent: Privy wallet + sponsored on-chain delegation + the $3 welcome credit on the account's first agent (once per account, immediately spendable) |
| List every agent on the account with status and limits |
| One agent's detail: status, deposit address, credit used, 24h activity |
| Suspend an agent (kill-switch) — its keys fail auth until resumed |
| Reactivate a paused agent |
| Irreversibly wind an agent down: repay loans, sweep funds, disable keys |
| Mint a |
| Atomically revoke + re-mint a key (new plaintext once) |
| Delete a key — calls using it fail immediately |
| Set/update a fail-closed rolling budget on one key |
| Upgrade a pay-as-you-go agent to a managed credit line (collateral from its wallet) |
| Preview valid deposit/LTV ranges before |
Funding & observability (observability) — developer key
Tool | Description |
| Machine-readable "how to fund this agent": USDC deposit address, chain 8453, minimums/warnings |
| Aggregate USDC across developer wallet, agent wallets, and API credits |
| Unified activity feed (proxy calls, onramps, transfers, loans) with filters + cursor pagination |
| Spend/usage analytics rollup: KPIs, daily series, top endpoints |
Webhooks (webhooks) — developer key
Tool | Description |
| Register an endpoint for account events (signing secret shown once) |
| List registered webhooks (secrets never returned) |
| Send a signed test delivery to verify connectivity end-to-end |
Docs (docs) — keyless
Tool | Description |
| Search the Floe documentation index (llms.txt) — titles, URLs, descriptions |
Read tools (lending)
Tool | Description |
| List active lending markets with rates and liquidity (keyless) |
| 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 |
| Current oracle price for collateral tokens |
| Token balances for a wallet |
| Interest accrued on a loan |
Write tools (lending, 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 (lending)
Tool | Description |
| Check if two intents can match |
| Risk metrics: LTV, liquidation price, buffer |
| Interest estimate for given loan terms |
Utility tools (lending)
Tool | Description |
| Dry-run a transaction (eth_call) |
| Submit a signed transaction |
| Check transaction receipt |
Agent-awareness tools (spend) ⭐
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.
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 |
| 0–100 credit score, band, and collateral multiplier for the calling agent |
Merchant-allowlist tools (spend)
Opt-in, default-deny restriction on which destinations the agent may pay. An allowlist entry is an ordinary capped policy row that doubles as "allowed AND capped". Default mode off = allow any vendor (zero onboarding friction). All require an agent API key (floe_*).
Tool | Description |
| Set enforcement: |
| Read the agent's current enforcement mode |
| Add an allowed-AND-capped entry — |
| Revoke an allowlist entry by policy id (from |
| List host ( |
Inference gateway tools (pricing)
Tool | Description |
| OpenAI-compatible model catalog for Floe Inference (text/embedding/TTS/STT/realtime) |
| Price an inference call from a usage vector without making it |
Budget-awareness skill
Floe's agent skills live in their own repo: Floe-Labs/agent-skills.
The floe skill is the playbook that turns the MCP tools above into deliberate spending behavior: read budget status before paying, taper as it nears the tightest cap, replan to finish the task on budget, and stop before the ceiling. It reads status from the existing get_credit_remaining, get_spend_limit, estimate_x402_cost, and get_loan_state tools, plus the X-Floe-Budget-Advisory header the Floe x402 proxy stamps on paid responses — no new tool or backend required.
Soft signal, not the guardrail. The skill helps a cooperative agent spend wisely. The real ceiling is enforced server-side — the on-chain credit line, the session spend cap, and (if configured) the merchant allowlist refuse calls past the limit regardless of what the agent decides.
Install:
npx skills add floe-labs/agent-skills # skills.sh CLI
# or manually:
git clone https://github.com/floe-labs/agent-skills
cp -r agent-skills/skills/floe ~/.claude/skills/ # or .claude/skills/ per-projectTransaction 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-cookbook/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.
Lending protocol (advanced)
Floe is the spend layer for AI agents — one key that pays any vendor API under programmable budgets (everything above). It also exposes an advanced, crypto-native intent-based lending layer on Base, for agents that want working capital against deposits:
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.
Related MCP Servers
- Alicense-qualityCmaintenanceMCP server for AgentPay — the payment gateway for autonomous AI agents. Fund a wallet once, give your agent the key, and it discovers, provisions, and pays for tool APIs on its own. One key, every tool.Last updated1121MIT
- Alicense-qualityCmaintenanceMCP server for AgentPay — the payment gateway for autonomous AI agents. Fund a wallet once, give your agent the key, and it discovers, provisions, and pays for tool APIs on its own. One key, every tool.Last updated1121MIT
- AlicenseAqualityAmaintenanceThe MCP gateway that lets any AI agent discover and pay metered APIs on Base or Solana — without the user wiring payments themselves.Last updated3401Apache 2.0
- AlicenseAqualityAmaintenanceAgentPay VN — an MCP server that lets your AI agent collect real (fiat) payments over VietQRLast updated41MIT
Related MCP Connectors
AI agent marketplace: agents buy, sell, and collaborate on digital products via MCP.
Agent Commerce Protocol MCP — bridges Stripe ACP + Google AP2 + Coinbase x402 for agent payments
Agent credit issuance and scoring — programmable credit lines on Base L2
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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