# Claude Code Configuration

Claude Code is a VS Code extension that integrates Claude directly into your development environment.

**Installation Steps**

**1. Install the Extension**

* Open VS Code
* Go to Extensions (`Ctrl+Shift+X` / `Cmd+Shift+X`)
* Search for "Claude Code"
* Click Install

**2. Configure MCP Server**

* Open VS Code Settings (`Ctrl+,` / `Cmd+,`)
* Search for "Claude MCP"
* Add Zetrix MCP Server configuration

**3. Configuration Format**

```json
{
  "claude.mcpServers": {
    "zetrix": {
      "command": "npx",
      "args": ["-y", "zetrix-mcp-server"],
      "env": {
        "ZETRIX_NETWORK": "mainnet"
      }
    }
  }
}
```

**4. Reload VS Code**

* Press `Ctrl+Shift+P` / `Cmd+Shift+P`
* Type "Reload Window"
* Press Enter

**Advantages of Claude Code**

* **Integrated Development:** Write code and query blockchain in same window
* **Context Awareness:** Claude understands your project structure
* **Real-time Assistance:** Get blockchain data while coding
* **Debugging Support:** Test contracts and transactions inline
* **Version Control:** Easy Git integration for blockchain projects


---

# 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/complete-installation-guide/claude-code-configuration.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.
