360 Secure SkillHub
360 安全技能中心

Strider Coinbase

通过 Strider Labs MCP 连接器连接 Coinbase,提供资产组合查询、实时价格、买卖与限价订单、交易历史和撤单能力;首次使用走 OAuth 授权,令牌加密存储,无需 API key。

markswendsen-code
markswendsen-code
热度 20.81
最近更新 2026-03-20 10:31:56
分类:生活依赖:MCP 服务 / 第三方 API应用场景:个人理财 / 财务 / 市场分析

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add strider-coinbase
Metadata
name
strider-coinbase
description
Trade crypto, check balances, and manage your portfolio on Coinbase via Strider Labs MCP connector. Execute market and limit orders, view transaction history, and monitor real-time prices.
metadata
{"openclaw":{"requires":{"bins":["npx"]},"category":"finance","author":"Strider Labs","homepage":"https://striderlabs.ai"}}

Strider Coinbase Connector

MCP connector for Coinbase cryptocurrency trading and portfolio management. Part of the Strider Labs action execution layer for AI agents.

Installation

npm install @striderlabs/mcp-coinbase

MCP Configuration

Add to your MCP client configuration (Claude Desktop, Cursor, etc.):

{
  "mcpServers": {
    "coinbase": {
      "command": "npx",
      "args": ["-y", "@striderlabs/mcp-coinbase"]
    }
  }
}

Available Tools

coinbase.get_portfolio

Get current portfolio balances across all assets.

Output:

{
  "balances": [{
    "asset": "BTC",
    "amount": "0.5423",
    "usd_value": "32538.00"
  }],
  "total_usd": "45230.50"
}

coinbase.get_price

Get current price for a cryptocurrency.

Input Schema:

{
  "asset": "string (BTC, ETH, SOL, etc.)"
}

coinbase.place_order

Place a buy or sell order.

Input Schema:

{
  "side": "buy | sell",
  "asset": "string",
  "amount": "number (in USD for buy, in asset for sell)",
  "order_type": "market | limit",
  "limit_price": "number (required for limit orders)"
}

coinbase.get_transactions

Get recent transaction history.

Input Schema:

{
  "asset": "string (optional, filter by asset)",
  "limit": "number (default 20)"
}

coinbase.cancel_order

Cancel a pending limit order.

Authentication

First use triggers OAuth authorization flow:

  1. User is redirected to Coinbase to authorize
  2. Tokens are stored encrypted per-user
  3. Automatic refresh handles token expiration

No API key required — connector manages OAuth flow.

Usage Examples

Check your portfolio:

Show me my Coinbase portfolio balance

Buy Bitcoin:

Buy $100 worth of Bitcoin on Coinbase

Set a limit order:

Place a limit order to buy 0.1 ETH at $2,000 on Coinbase

Check prices:

What's the current price of SOL on Coinbase?

Error Handling

Code Meaning Action
AUTH_EXPIRED Session expired Re-authenticate
INSUFFICIENT_FUNDS Not enough balance Check portfolio first
RATE_LIMITED Too many requests Retry after delay
INVALID_ORDER Order parameters wrong Validate inputs

Use Cases

  • Portfolio monitoring: track balances and performance
  • Trading: execute market and limit orders
  • Price alerts: monitor crypto prices
  • DCA automation: schedule recurring purchases
  • Tax reporting: export transaction history

Security Notes

  • OAuth tokens are encrypted at rest
  • No API keys stored in config
  • Supports Coinbase's 2FA requirements
  • Read-only mode available for monitoring without trading

Links