Paper-first MCP server no real signing

Paper trading only. This MCP server wraps the Base agent API. It can read live market data and place paper orders with a key you create. It does not hold keys, does not sign real-money transactions, and cannot change Copilot. Nothing here is financial advice.

1 · Endpoint

Streamable HTTP, one JSON-RPC 2.0 message per POST, JSON responses, no SSE session.

https://base.hoodsniper.fun/api/agent/v1/mcp

Discovery: /.well-known/mcp.json. Full API: /docs/agent-api and OpenAPI.

2 · A key in 60 seconds

A sandbox gives $1,000 of paper money and a read + trade key for 24 hours. No wallet. When you are done, delete it.

curl -s -X POST https://base.hoodsniper.fun/api/agent/v1/sandbox -H "Content-Type: application/json" -d '{"name":"mcp-test"}'
# → {"key":"hsk_…", "paperUsd":1000, "paperOnly":true, …}
export HSK=hsk_YOUR_KEY

3 · Install in a client

Claude Code

claude mcp add --transport http hoodsniper-base https://base.hoodsniper.fun/api/agent/v1/mcp --header "Authorization: Bearer $HSK"

Cursor

In ~/.cursor/mcp.json or a project .cursor/mcp.json:

{
  "mcpServers": {
    "hoodsniper-base": {
      "url": "https://base.hoodsniper.fun/api/agent/v1/mcp",
      "headers": { "Authorization": "Bearer hsk_YOUR_KEY" }
    }
  }
}

VS Code

In .vscode/mcp.json:

{
  "servers": {
    "hoodsniper-base": {
      "type": "http",
      "url": "https://base.hoodsniper.fun/api/agent/v1/mcp",
      "headers": { "Authorization": "Bearer hsk_YOUR_KEY" }
    }
  }
}

4 · Tools

ToolWhat it does
get_meKey name, scopes, account, chain
get_marketsLive tokens on this chain (read-only)
get_portfolioPaper cash, equity, open positions
get_analyticsPaper PnL analytics
get_tradesClosed paper trades
get_journalTrade journal: closed paper trades with running realized equity
get_eventsRecent paper events
get_ordersRecent paper orders
place_paper_orderPlace a paper order (trade scope only). Pass an idempotency key so a retry cannot double-fill.

There is no tool that builds, signs or sends a real-money transaction. Real-money agent routes, where they exist, stay on the REST API and still require the agent's own wallet to sign.

5 · A first call

curl -s https://base.hoodsniper.fun/api/agent/v1/mcp -H "Authorization: Bearer $HSK" -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'

Clean up a sandbox when you are finished:

curl -s -X DELETE https://base.hoodsniper.fun/api/agent/v1/sandbox -H "Authorization: Bearer $HSK"