# SMX by Space Markets (testnet)

> SMX by Space Markets (testnet) is an MCP server. SMX (Space Markets) testnet event markets and the Space Markets Index (SMI). It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Website:** https://smx.space
- **MCP Registry name:** io.github.Space-Markets-HQ/smx-mcp
- **Listing updated:** 2026-11-13

## About

SMX (Space Markets) testnet event markets and the Space Markets Index (SMI). Base Sepolia only.

## Install

### Claude Code (Terminal)

```sh
claude mcp add smx-mcp --env X402_PRIVATE_KEY='<X402_PRIVATE_KEY>' -- npx -y smx-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "smx-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "smx-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "smx-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "smx-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "smx-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "smx-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "smx-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "smx-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "smx-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "smx-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}
```

## FAQ

### How do I add SMX by Space Markets (testnet) to Claude Code?

Run this command in your terminal: claude mcp add smx-mcp --env X402_PRIVATE_KEY='<X402_PRIVATE_KEY>' -- npx -y smx-mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/smx-by-space-markets-testnet
