AgentSkillsCN

tellermcp-mcp

以借贷为核心的Teller MCP技能:以山寨币/USDC作为抵押品,先确定最高可借额度,构建借贷与还款交易,随后再进一步探索delta中性策略作为后续方案。

SKILL.md
--- frontmatter
name: tellermcp-mcp
description: Borrow-focused Teller MCP skill: use altcoins/USDC as collateral, quote maximum borrow, build borrow + repay transactions, and only then explore delta-neutral strategies as a follow-on.

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

  1. cd scripts/tellermcp-server
  2. npm install
  3. Optional env vars:
    • TELLER_API_BASE_URL (default https://delta-neutral-api.teller.org)
    • TELLER_API_TIMEOUT_MS (default 15000 ms)
  4. npm run build
  5. 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

  1. get-borrow-pools
  2. get-borrow-terms
  3. build-borrow-transactions
  4. get-wallet-loans
  5. build-repay-transactions
  6. 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

  1. Edit src/
  2. npm run build
  3. Commit + push
  4. 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.