> ## Documentation Index
> Fetch the complete documentation index at: https://www.helius.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# AI 工具

> Helius 隐私的 AI 工具：文档搜索、markdown 导出和 MCP。

## 针对文档

* **Docs AI 搜索。** 在搜索栏中使用 AI 搜索文档。
* **Markdown 导出。** 在任一页面 URL 后添加 `.md` 以获取原始 markdown。

## MCP

模型上下文协议（MCP）是一个开放标准，用于将 AI 应用程序连接到数据源和工具。DeepWiki MCP 服务器提供对 Zolana 仓库的访问。Helius 文档 MCP 服务器搜索此文档。

### 安装

<Tabs>
  <Tab title="Claude Code">
    ```bash theme={"system"}
    claude mcp add -s user -t http deepwiki https://mcp.deepwiki.com/mcp
    claude mcp add -s user -t http helius-docs https://www.helius.dev/docs/mcp
    ```

    创建一个查询 DeepWiki 的命令。复制以下代码片段：

    ```markdown theme={"system"}
    ---
    argument-hint: <question>
    description: Query the Zolana repository via DeepWiki MCP for precise technical answers
    allowed-tools: mcp__deepwiki__*
    ---

    # /ask-deepwiki

    Answer: $ARGUMENTS

    Use DeepWiki MCP to provide precise technical answers.

    ## Step 1: Identify Repository Scope

    1. State understanding and plan.
    2. If the question is vague, ask what component, problem, and level of detail are needed.
    3. Repository mapping:
       - Helius Privacy – Solana Rings: `helius-labs/zolana`
       - Solana fundamentals: `solana-labs/solana`
       - Anchor framework: `solana-foundation/anchor`
    4. Refine the question to exact names: `createZolanaClient`, `Private Solana Token Account`, `getEncryptedUtxosByTags`.

    ## Step 2: Query DeepWiki

    For the identified repository, call in sequence:

    1. `mcp__deepwiki__read_wiki_structure("repo-owner/repo-name")`
    2. `mcp__deepwiki__read_wiki_contents("repo-owner/repo-name")`
    3. `mcp__deepwiki__ask_question("repo-owner/repo-name", refined_question)`

    ## Step 3: Format the Response

    Direct answer, then implementations, then code with `file:line` from DeepWiki.
    ```
  </Tab>

  <Tab title="Codex">
    ```bash theme={"system"}
    codex mcp add helius-docs -- npx -y mcp-remote@latest https://www.helius.dev/docs/mcp
    codex mcp add deepwiki -- npx -y mcp-remote@latest https://mcp.deepwiki.com/mcp
    ```
  </Tab>

  <Tab title="Cursor">
    ```json theme={"system"}
    {
      "mcpServers": {
        "deepwiki": {
          "serverUrl": "https://mcp.deepwiki.com/sse"
        },
        "helius-docs": {
          "command": "npx",
          "args": ["-y", "mcp-remote@latest", "https://www.helius.dev/docs/mcp"]
        }
      }
    }
    ```
  </Tab>
</Tabs>

### DeepWiki MCP 工具

* **read\_wiki\_structure。** 列出 GitHub 仓库的文档主题。

```bash theme={"system"}
mcp__deepwiki__read_wiki_structure("helius-labs/zolana")
```

* **read\_wiki\_contents。** 查看有关 GitHub 仓库的文档。

```bash theme={"system"}
mcp__deepwiki__read_wiki_contents("helius-labs/zolana")
```

* **ask\_question。** 提出有关 GitHub 仓库的问题，并获得有上下文的回答。

```bash theme={"system"}
mcp__deepwiki__ask_question("helius-labs/zolana", "your question")
```

<Info>
  您可以指定任何由 DeepWiki 索引的公共 GitHub 仓库。详情请参阅 [DeepWiki MCP 文档](https://docs.devin.ai/work-with-devin/deepwiki-mcp)。

  如果您尚未安装 MCP，请在浏览器中使用 [AskDevin](https://deepwiki.com/helius-labs/zolana)。
</Info>

## Didn't find what you were looking for?

<Callout type="info">
  Reach out! [Telegram](https://t.me/tilo_light) | [E-Mail](mailto:sales@helius.xyz) | [Contact](https://www.helius.dev/contact)
</Callout>
