Dev.to AI πŸ€– Ai πŸ‘ 0 πŸ“– 2 min read

Connect Claude Code & Cursor to On-Chain BTC, ETH & 24/7 Gold (XAU) Perps in 1 Command via Remote MCP

Autonomous AI trading agents face two fatal bottlenecks in DeFi today: Key Security Risk: Handing your main wallet's private key to an LLM or local script is a disaster waiting to happen. Taker-Fee Decay: High-freque

Autonomous AI trading agents face two fatal bottlenecks in DeFi today:

  1. Key Security Risk: Handing your main wallet's private key to an LLM or local script is a disaster waiting to happen.
  2. Taker-Fee Decay: High-frequency AI strategies get eaten alive on legacy perpetual DEXs that charge 5–10 bps round-trip open/close fees on every trade.

At OURS (ours.meme), we engineered the protocol to be AI-native from day oneβ€”scoring a full 100/100 on ARD 1.0 (Agentic Resource Discovery) and exposing a remote Model Context Protocol (MCP) server with 48 tools paired with smart-contract-enforced scoped session guardrails.

Here is how any developer or quant trader can connect Claude Code, Cursor, Codex, or custom Python/TypeScript agents in under 60 seconds.

Option 1: One-Command Agent Skill Installation

If you use Claude Code, Codex, or an Agent-Skills-compatible CLI, install the official OURS skill directly:

npx skills add https://ours.meme

Or simply paste a single prompt into your coding agent:

Read https://ours.meme/agent.md and connect to OURS perpetual markets.

For Binance Agentic Wallet (baw) sub-accounts on BNB Chain, a dedicated channel specification is also hosted at https://ours.meme/baw.md.

Option 2: Remote Streamable HTTP MCP (mcp.json)

Add the remote MCP endpoint (48 read & non-custodial transaction-builder tools, plus OpenAPI 3.1 at https://devapi.ours.meme/api/agent/openapi.json) directly to your mcp.json or Claude Code configuration:

claude mcp add --transport http oursmeme https://devapi.ours.meme/api/mcp

Or inside .cursor/mcp.json:

{
  "mcpServers": {
    "oursmeme": {
      "url": "https://devapi.ours.meme/api/mcp"
    }
  }
}

Standard Discovery Endpoints (ARD 1.0 Verified)

How Scoped Session Guardrails Protect Your Main Wallet

Instead of giving an AI agent unrestricted wallet signing power, ours.meme/agent lets you authorize an isolated agent address with strict on-chain boundaries:

  • Hard Budget Cap: e.g., cap the session at 50 USDC or 250 USDC maximum margin exposure.
  • Action & Time Expiry: e.g., max 200 orders over 14 days.
  • Immutable Return-to-Main Guarantee: Smart contracts enforce at the settlement layer that all closed position margin and realized PnL return exclusively to your main walletβ€”an agent key can never withdraw funds to an external address.

Why 0% Open/Close Fees Unlock Real AI Strategies

When an AI agent runs mean-reversion, funding-rate arbitrage, or weekend macro scalping across $BTC, $ETH, and 24/7 Gold ($XAU) on OURS:

  • Opening, closing, and manual stop-losses cost 0% fee (with optional 0.1 USDC gasless execution).
  • Adaptive per-second funding accrues continuously from the crowded OI side to the minority sideβ€”meaning hour-one funding arbitrage isn't wiped out by an entry fee.

Test the MCP tools live at https://ours.meme/agent and check full protocol specifications at https://ours.meme/learn.

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.