This repository hosts the Callput Agent MCP package for external AI agents.
callput-agent-mcp: MCP server for spread-only options execution on Base L2.
git clone https://github.com/ayggdrasil/options_trading_base.git
cd options_trading_base/callput-agent-mcp
npm install
npm run build
npm run verify:coremcp_dir: absolute local path tocallput-agent-mcpmcp_entry:<mcp_dir>/build/index.js
Important:
- Use a real absolute path at runtime.
- Do not keep placeholders like
<mcp_dir>or<mcp_entry>in agent config. - Prefer paths without spaces.
Use the same MCP config format your runtime expects. Core values:
{
"mcpServers": {
"callput": {
"command": "node",
"args": ["/ABSOLUTE/PATH/callput-agent-mcp/build/index.js"],
"env": {
"RPC_URL": "https://mainnet.base.org"
}
}
}
}Use:
callput-agent-mcp/OPENCLAW_SYSTEM_PROMPT.md
callput_get_agent_bootstrapcallput_get_available_assets/callput_get_market_trendscallput_get_option_chainscallput_validate_spreadcallput_request_quotecallput_check_tx_statuscallput_close_position(pre-expiry) orcallput_settle_position(post-expiry)
- Spread-only execution.
- Never execute single-leg vanilla directly.
- Validate before quote.
- Proceed only when validation is
ValidandmaxTradableQuantity > 0. - If tx status is
cancelled, refresh legs and re-validate before re-quote.
callput-agent-mcp/README.mdcallput-agent-mcp/EXTERNAL_AGENT_GUIDE.mdcallput-agent-mcp/MCP_SETUP.mdcallput-agent-mcp/SKILL.md