fund402-mcp
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., "@fund402-mcpcreate wallet 'alice', fund with 50 CSPR, and borrow 0.01 for a price feed"
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.
fund402-mcp
Talk to the Fund402 JIT-credit protocol in plain English and watch it take real on-chain actions on Casper.
▶ Watch the 45-second Fund402 demo.
Two front-ends over the same fund402-agent toolbox:
TUI — a terminal chat console. You type; Groq (the LLM) decides which tools to call; the tools execute live on casper-test and stream their logs (deploy hashes, cspr.live links, balances) right in front of you.
MCP server — exposes every Fund402 tool over stdio to any MCP client (Claude Desktop, etc.).
you ──▶ TUI / MCP client ──▶ Groq (tool-calling) ──▶ fund402-agent tools ──▶ Casper testnet
└─▶ x402 facilitatorThe TUI
npm install
# config (key) lives in ../fund402-agent/.env — GROQ_API_KEY + CSPR_CLOUD_API_KEY
npm run tuiThen just talk:
you ▸ create a wallet called bob, fund it, make it Tier 3, and borrow 0.001 to pay for a price feed
🔧 create_wallet {"name":"bob"}
🔧 fund_wallet_cspr {"account":"bob","cspr":60}
🔧 award_reputation {"account":"bob","delta":250}
🔧 borrow_and_pay {"agent":"bob","amount":1000000,"resource":"price feed"}
🤖 Done. bob is Tier 3 and just borrowed 0.001 F402 — the vault fronted the
payment on-chain. Deploy: https://testnet.cspr.live/deploy/…The model knows the protocol rules (fund-before-sign, Tier-3-for-zero-collateral, 9-decimal amounts) from its system prompt, so one sentence drives the whole sequence.
Related MCP server: Foundry MCP Server
The MCP server (Claude Desktop)
// claude_desktop_config.json
{
"mcpServers": {
"fund402": {
"command": "node",
"args": ["/absolute/path/to/fund402-mcp/src/server.mjs"]
}
}
}stdout is the JSON-RPC channel; all tool logs go to stderr, so the protocol stays clean.
Run npm test for an MCP client smoke test (lists tools, calls get_pool_stats +
get_balances live).
Tools
All 12 fund402-agent tools are
exposed: create_wallet, list_wallets, get_balances, fund_wallet_cspr,
fund_wallet_token, deposit_liquidity, award_reputation, borrow_and_pay,
repay_loan, sign_x402_payment, get_pool_stats, check_deploy.
Verified live
Driven entirely from the TUI against the deployed vault 664d99de… + CEP-18
389cedc5… on casper-test: a fresh agent was created → funded → made Tier 3 →
borrowed via the vault (x402 payment fronted + settled on-chain) → repaid
(collateral released). Every step returned a real cspr.live deploy.
⚠️ Security
The TUI/MCP execute real signed deploys via fund402-agent's local keys. Keep
.env and .wallets/ out of git — testnet only. License: Apache-2.0.
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
- AlicenseBqualityDmaintenanceAn MCP server that enables LLMs to perform blockchain operations on the Base network through natural language commands, including wallet management, balance checking, and transaction execution.Last updated4803MIT
- Alicense-qualityFmaintenanceA lightweight, fast MCP server that provides onchain capabilities for the LLMs and Agents.Last updated60250MIT
- Alicense-qualityCmaintenanceMCP server for Cardano blockchain data — exposes on-chain queries, address lookups, transaction history, token metadata, stake pool info, and network parameters to LLM agents.Last updated832MIT
- AlicenseAqualityAmaintenanceMCP server that exposes any CashPilot instance to LLMs, enabling monitoring of passive income earnings, managing bandwidth-sharing services, and controlling fleet workersLast updated10493GPL 3.0
Related MCP Connectors
MCP server exposing the Backtest360 engine API as tools for AI agents.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.
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/nickthelegend/fund402-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server