Teller MCP Borrow Skill
Overview
Teller lets agents borrow stablecoins against altcoins without margin-call liquidations. This skill packages the Tellermcp MCP server so agents can:
- •Discover Teller borrow pools (USDC and altcoin collateral) and filter by chain/token
- •Quote per-wallet maximum borrow + collateral requirements
- •Build the on-chain transactions to borrow (token approvals → accept commitment)
- •List active/historic loans and generate repayment transactions (full or partial)
- •(Optional, last step) Check delta-neutral funding spreads once the borrowing workflow is wired up
Quick Start
- •
cd scripts/tellermcp-server - •
npm install - •Optional env vars:
- •
TELLER_API_BASE_URL(defaulthttps://delta-neutral-api.teller.org) - •
TELLER_API_TIMEOUT_MS(default15000ms)
- •
- •
npm run build - •
npm start
Repo Layout (scripts/tellermcp-server/)
- •
package.json,package-lock.json - •
tsconfig.json - •
src/client.ts,src/types.ts,src/index.ts
Tools registered
- •
get-borrow-pools - •
get-borrow-terms - •
build-borrow-transactions - •
get-wallet-loans - •
build-repay-transactions - •
get-delta-neutral-opportunities(optional, secondary)
Each tool returns a short summary plus structuredContent.payload JSON for automation.
Runbook
Install deps
bash
cd scripts/tellermcp-server npm install
Local testing
bash
npm run build npm start
Register with mcporter/OpenClaw
jsonc
{
"name": "tellermcp",
"command": "npm",
"args": ["start"],
"cwd": "/absolute/path/to/scripts/tellermcp-server"
}
Updating
- •Edit
src/ - •
npm run build - •Commit + push
- •Restart mcporter pointing to this repo
References
Packaging
bash
python3 /usr/local/lib/node_modules/openclaw/skills/skill-creator/scripts/package_skill.py /data/workspace/skills/tellermcp-mcp
Produces tellermcp-mcp.skill for distribution.