# MarginPad SDK MCP server

> Enables AI agents to perform crypto-futures paper trading and access live market data including liquidations, funding, and whale positions.

- Repository: https://github.com/marginpad/sdk
- Page: https://hostedmcp.org/servers/marginpad/sdk
- Transport: remote
- Stars: 0
- License: MIT
- Latest version: 3.0.1

## Install

### Claude Code

```sh
claude mcp add --transport http sdk https://marginpad.io/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "sdk": {
      "url": "https://marginpad.io/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "sdk": {
      "type": "http",
      "url": "https://marginpad.io/mcp"
    }
  }
}
```

### Codex (`~/.codex/config.toml`)

```toml
[mcp_servers.sdk]
url = "https://marginpad.io/mcp"
```

### Gemini CLI (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "sdk": {
      "httpUrl": "https://marginpad.io/mcp"
    }
  }
}
```

## FAQ

### Do I need an API key to access market data?

No, market data is published free with no key required.

### Can I test my trading strategy against historical data?

Yes, you can use the replay feature to run your code through a past day at adjustable speeds.

### How realistic is the paper trading simulation?

The simulation allows you to configure fees, funding, slippage, latency, and liquidation parameters to mirror real exchanges.

### Is there a cost to use the paper trading engine?

The paper-trading engine, simulation, books, replay and WebSocket stream are free for 7 days from the day the first key is minted.
