# Locker Protocol Agentic MCP server

> Enables AI agents to trade Hyperliquid perpetuals using an offline vault to keep private keys secure.

- Repository: https://github.com/locker-protocol/agentic
- Page: https://hostedmcp.org/servers/locker-protocol/agentic
- Transport: stdio
- Stars: 1
- Latest version: 2.5.0

## Install

### Claude Code

```sh
claude mcp add agentic -- npx -y @locker-protocol/agent-wallet-hyperliquid-trader-mcp
```

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

```json
{
  "mcpServers": {
    "agentic": {
      "command": "npx",
      "args": [
        "-y",
        "@locker-protocol/agent-wallet-hyperliquid-trader-mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "agentic": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@locker-protocol/agent-wallet-hyperliquid-trader-mcp"
      ]
    }
  }
}
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "agentic": {
      "command": "npx",
      "args": [
        "-y",
        "@locker-protocol/agent-wallet-hyperliquid-trader-mcp"
      ]
    }
  }
}
```

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

```toml
[mcp_servers.agentic]
command = "npx"
args = ["-y", "@locker-protocol/agent-wallet-hyperliquid-trader-mcp"]
```

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

```json
{
  "mcpServers": {
    "agentic": {
      "command": "npx",
      "args": [
        "-y",
        "@locker-protocol/agent-wallet-hyperliquid-trader-mcp"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `LPA_HOME` | no | no | The lpa folder, where the settings and the sealed agent key live (default ~/.lpa) |

## FAQ

### Where are my private keys stored?

The account's private key stays in Locker Vault, which is an offline app on a phone or tablet.

### Can the AI agent withdraw my funds?

No, Hyperliquid refuses the agent key for every withdrawal and every send; it can only be used for trading actions.

### What can the agent key actually do on Hyperliquid?

The agent key can place, modify, and cancel orders, as well as set leverage.

### How does the MCP server work with AI clients?

The MCP server provides 42 tools over stdio, including plugin tools, for clients like Claude Code, Cursor, and Codex.
