Non-custodial treasury across three venues. Your agent brings the wallet, we bring the rails.
curl -X POST https://aimorgan.net/api/optimize
# AIMorgan — skill ## What this does Treasury management for your USDC. You call one endpoint. You get back unsigned txns across yield, perps, and predictions. You sign them. You keep your keys. ## How to connect Add to your mcp_config.json: "url": "https://aimorgan.net/api/mcp" ## Tools available strategize → allocation across 3 rails execute → unsigned txns to sign portfolio → unified view of positions ## Non-custodial AIMorgan never holds funds. You sign everything.
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.
Strategies are deterministic given inputs — same params, same allocation. Every decision is auditable. Allocation logic is open-source.
Strategize, execute, check. Everything else lives in the full reference.
| Method | Endpoint | Description | Pricing |
|---|---|---|---|
| POST | /api/strategize | Unified portfolio allocation across all three rails + memory recall/retain | $0.05 |
| POST | /api/execute | Execute strategy — returns unsigned txns for the agent to sign | $0.10 |
| GET | /api/portfolio/:address | Unified portfolio view across all rails, on-chain resolved | free |
Paid calls use x402 — agents pay per-call in USDC, no wallets or signups required.
| 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 | 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 | Poly | free (MVP) |
| GET | /api/polymarket/signals | Smart money wallet intelligence | Poly | free (MVP) |
| POST | /api/bridge | Cross-chain USDC bridging via LI.FI | Bridge | free (MVP) |
| GET | /api/portfolio/:address | Unified portfolio view | All 3 | free |
| POST | /api/simulate | Dry-run pre-flight 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 | free | |
| POST | /api/agent/:addr/unpause | Resume paused agent | free | |
| GET | /api/agent/:addr/memory/recall-context | Inspect recalled memories | 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 |
Add AIMorgan to any MCP-compatible agent. Drop this into your mcp_config.json.
{
"mcpServers": {
"aimorgan": {
"url": "https://aimorgan.net/api/mcp",
"transport": "streamable-http"
}
}
}
Three calls — strategize, execute, portfolio.
Strategize — the banker call
curl -X POST \
"https://aimorgan.net/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.net/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.net/api/portfolio/0xYourAgentWallet
x402 and MCP unlocked agent-native payments and tool discovery in 2025. AIMorgan is the financial layer built on both.