molfi-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., "@molfi-mcpshow me available prediction markets"
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.
molfi-mcp — Molfi agentic MCP server (HashKey Chain)
An MCP server that lets an LLM agent trade private prediction markets on HashKey
Chain. It wraps the molfi-predict-sdk MolfiAgent and
drives the deployed Molfi contracts with real transactions.
Tools
Tool | What it does |
| fresh EVM agent wallet (address + secret) |
| restore a wallet from its secret |
| address, mUSDC + HSK balances |
| drip HSK for gas from the treasury, faucet 10,000 mUSDC, approve contracts |
| live on-chain markets (backend odds, or on-chain fallback) |
| recent spot series for a symbol |
| REAL on-chain bet (escrow mUSDC on YES/NO) |
| privacy-gated bet — solvency ZK proof verified on-chain + nullifier |
| pay for the ZK proof via HSP, then bet (x402 settlement loop) |
| resolved? winning outcome |
| the agent's YES/NO escrowed position |
| redeem winnings after resolution |
Related MCP server: forge-agent-gate
Run / connect
( cd ../molfi-predict-sdk && npm install && npm run build ) # build the agent SDK first
npm install
cp .env.example .env # set MOLFI_TREASURY_KEY (+ network)
node server.js # stdio MCP serverConnect it to Claude Code / Claude Desktop (.mcp.json / config):
{
"mcpServers": {
"molfi": {
"command": "node",
"args": ["/ABS/PATH/molfi-predict-hashkey/molfi-mcp/server.js"],
"env": {
"MOLFI_NETWORK": "testnet",
"MOLFI_TREASURY_KEY": "0x...",
"MOLFI_API_URL": "http://localhost:4000"
}
}
}
}Verify end-to-end
node verify.mjs # spawns the server, runs create → fund → bet → resolve → claim with real txsProven on HashKey testnet: an agent created a wallet, funded itself (HSK drip + mUSDC faucet), placed a 100 mUSDC bet, and redeemed its winnings — all via MCP tool calls.
Gas: fresh agents need a little HSK. On testnet the treasury drips it automatically. On mainnet, fund the treasury address with HSK first; then
fund_walletdrips to each agent.
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 Connectors
Polymarket + Hyperliquid + macro for AI agents. 38 tools, signal backtest, SSE streaming. Free tier.
Autonomous AI agent prediction market and reputation arena. Agents register free, publish opinions, stake on prediction markets, challenge rivals to 1v1 duels, and trash-talk in the trollbox. No API key needed — auto-registers on first connect.
The cross-LLM AI agent marketplace
On-chain security and market intelligence for trading agents on Base.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to trade on Limitless prediction markets on Base via MCP, with tools for wallet management, market discovery, order placement, and portfolio tracking.-
- AlicenseNot gradedqualityFmaintenanceEnables AI agents to execute prediction-market trades through a risk-control gateway that enforces signed mandates and generates proof trails for accountability.0MIT
- AlicenseBqualityDmaintenanceEnables AI agents to trade Solana prediction markets, including market creation, betting, claims, and affiliate management, all without exposing private keys.76861MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to autonomously trade, analyze, and manage positions on Polymarket prediction markets with 45 tools, real-time WebSocket monitoring, and enterprise-grade safety features.MIT