# Manual Setup

For users who prefer manual configuration or troubleshooting:

**Step 1: Install & Build**

```bash
cd /path/to/zetrix-mcp-server
npm install
npm run build
```

**Step 2: Locate Claude Desktop Config File**

Find your configuration file:

**Windows:**

```
%APPDATA%\Claude\claude_desktop_config.json
```

(Typically: `C:\Users\YourName\AppData\Roaming\Claude\claude_desktop_config.json`)

**macOS:**

```
~/Library/Application Support/Claude/claude_desktop_config.json
```

**Linux:**

```
~/.config/Claude/claude_desktop_config.json
```

**Step 3: Choose Pre-Made Configuration**

The `configs/` folder contains ready-to-use configurations:

**For Mainnet:**

```
configs/mcp-config-windows-mainnet.json
configs/mcp-config-macos-mainnet.json
configs/mcp-config-linux-mainnet.json
```

**For Testnet:**

```
configs/mcp-config-windows-testnet.json
configs/mcp-config-macos-testnet.json
configs/mcp-config-linux-testnet.json
```

**For Both Networks:**

```
configs/mcp-config-windows-both.json
configs/mcp-config-macos-both.json
configs/mcp-config-linux-both.json
```

**Step 4: Update Path in Configuration**

**Critical:** Update the absolute path to match your installation.

**Example for Windows (Mainnet):**

```json
{
  "mcpServers": {
    "zetrix-mainnet": {
      "command": "node",
      "args": [
        "C:\\Users\\YourName\\zetrix-mcp-server\\dist\\index.js"
      ],
      "env": {
        "ZETRIX_NETWORK": "mainnet"
      }
    }
  }
}
```

**Example for macOS/Linux (Mainnet):**

```json
{
  "mcpServers": {
    "zetrix-mainnet": {
      "command": "node",
      "args": [
        "/Users/YourName/zetrix-mcp-server/dist/index.js"
      ],
      "env": {
        "ZETRIX_NETWORK": "mainnet"
      }
    }
  }
}
```

**Example for Both Networks:**

```json
{
  "mcpServers": {
    "zetrix-mainnet": {
      "command": "node",
      "args": [
        "/absolute/path/to/zetrix-mcp-server/dist/index.js"
      ],
      "env": {
        "ZETRIX_NETWORK": "mainnet"
      }
    },
    "zetrix-testnet": {
      "command": "node",
      "args": [
        "/absolute/path/to/zetrix-mcp-server/dist/index.js"
      ],
      "env": {
        "ZETRIX_NETWORK": "testnet"
      }
    }
  }
}
```

**Step 5: Restart Claude Desktop**

Completely quit and restart Claude Desktop.

**Step 6: Test**

Ask Claude:

```
"Check if the Zetrix node is healthy"
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zetrix.com/en/developer-resources/zetrix-mcp-server/quick-start/manual-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
