Non-custodial yield, perps, and predictions — one API call. Agents sign their own transactions. AIMorgan returns unsigned txns and strategy.
{
"mcpServers": {
"aimorgan": {
"url": "…/api/mcp",
"transport": "streamable-http"
}
}
}
All non-custodial, all from one API.
Real positions from our test wallet across all three rails.
Non-custodial — agents sign their own transactions. AIMorgan returns unsigned txns + strategy.
| Method | Endpoint | Description | Rail | Pricing |
|---|---|---|---|---|
| GET | /api/health | Health check + version | free | |
| GET | /api/markets | Live yield + market + prediction data | All 3 | free |
| POST | /api/strategize | Unified portfolio allocation + memory recall/retain | All 3 | $0.05 |
| POST | /api/optimize | Yield optimization + unsigned txns | Morpho | $0.01 |
| POST | /api/execute | Execute strategy across all rails | All 3 | $0.10 |
| POST | /api/position | Market exposure + Hyperliquid orders | HL | free (MVP) |
| POST | /api/predict | Prediction positions + Polymarket CLOB orders | Poly | free (MVP) |
| POST | /api/bridge | Cross-chain USDC bridging via LI.FI | Bridge | free (MVP) |
| GET | /api/portfolio/:address | Unified portfolio view across all rails | All 3 | free |
| POST | /api/simulate | Dry-run pre-flight with balance + gas checks | All 3 | free |
| GET | /api/agent/:addr/guardrails | Read per-agent guardrails | free | |
| POST | /api/agent/:addr/guardrails | Set per-agent guardrails | free | |
| POST | /api/agent/:addr/pause | Kill switch — pause agent execution | free | |
| POST | /api/agent/:addr/unpause | Resume paused agent | free | |
| GET | /api/agent/:addr/memory/recall-context | Inspect recalled memories + decision context | Memory | free |
| POST | /api/mcp | MCP Streamable HTTP (13 tools) | All 3 | free |
| GET | /api/analytics | Usage analytics + call metrics | free | |
| GET | /api/cron/replay-memory | Drain memory retry queue | Memory | auth |
Paid calls use x402 — agents pay per-call in USDC, no wallets or signups required.
Add AIMorgan to any MCP-compatible agent. Drop this into your mcp_config.json.
{
"mcpServers": {
"aimorgan": {
"url": "https://aimorgan.vercel.app/api/mcp",
"transport": "streamable-http"
}
}
}
Three calls — strategize, execute, portfolio.
Strategize — the banker call
curl -X POST \
"https://aimorgan.vercel.app/api/strategize?free=true" \
-H "Content-Type: application/json" \
-d '{
"agent_address": "0xYourAgentWallet",
"total_usdc": "10000",
"risk_profile": "moderate",
"time_horizon_days": 30,
"max_slippage_bps": 200,
"session_budget_usdc": 15000,
"max_gas_usdc": 5,
"deterministic": true
}'
Execute with idempotency
curl -X POST \
"https://aimorgan.vercel.app/api/execute?free=true" \
-H "Content-Type: application/json" \
-d '{
"agent_address": "0xYourAgentWallet",
"strategy": "balanced",
"total_usdc": "5000",
"idempotency_key": "exec-20260416-001"
}'
Unified portfolio view
curl https://aimorgan.vercel.app/api/portfolio/0xYourAgentWallet