Skip to content

Commit 67b6e07

Browse files
Merge pull request #6 from iExecBlockchainComputing/update-readme-structure
docs: make NPX Configuration the recommended installation method
2 parents 2e4c97a + e949a0e commit 67b6e07

File tree

1 file changed

+35
-35
lines changed

1 file changed

+35
-35
lines changed

README.md

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -34,46 +34,14 @@ Complete the **Wallet Setup** above, then choose your preferred installation met
3434

3535
| Method | Description | Best For |
3636
| ---------------------------------------------------------------------------- | ---------------------------------- | ---------------------------------- |
37-
| **[3. Claude Code CLI](#3-method-a-claude-code-cli-setup)** | Fastest setup with CLI integration | Developers using Claude Code |
38-
| **[4. NPX Configuration](#4-method-b-npx-configuration-for-claude-desktop)** | Direct Claude Desktop setup | Quick Claude Desktop integration |
37+
| **[3. NPX Configuration](#3-method-a-npx-configuration-for-claude-desktop)**| Direct Claude Desktop setup | Quick Claude Desktop integration |
38+
| **[4. Claude Code CLI](#4-method-b-claude-code-cli-setup)** | CLI integration setup | Developers using Claude Code |
3939
| **[5. Local Node.js](#5-method-c-local-nodejs-setup)** | Development from source | Local development & debugging |
4040
| **[6. Docker](#6-method-d-docker-setup)** | Containerized deployment | Production & isolated environments |
4141

4242
---
4343

44-
## 3. Method A: Claude Code CLI Setup
45-
46-
**Prerequisites:**
47-
- [Node.js](https://nodejs.org/) (version 18 or higher)
48-
- npm (version 9 or higher)
49-
50-
**Setup Steps:**
51-
52-
1. **Install Claude Code CLI:**
53-
```bash
54-
npm install -g @anthropic-ai/claude-code
55-
```
56-
57-
2. **Add iExec MCP server:**
58-
59-
*With wallet file (from Section 1):*
60-
```bash
61-
claude mcp add iexec-mcp --env PRIVATE_KEY_PATH=~/Library/Ethereum/keystore/wallet.json -- npx @paypes/iexec-mcp@latest run
62-
```
63-
64-
*With direct private key:*
65-
```bash
66-
claude mcp add iexec-mcp --env PRIVATE_KEY=0xYOUR_PRIVATE_KEY -- npx @paypes/iexec-mcp@latest run
67-
```
68-
69-
3. **Run Claude:**
70-
```bash
71-
claude
72-
```
73-
74-
---
75-
76-
## 4. Method B: NPX Configuration for Claude Desktop
44+
## 3. Method A: NPX Configuration for Claude Desktop
7745

7846
**Prerequisites:**
7947
- [Node.js](https://nodejs.org/) (version 18 or higher)
@@ -121,6 +89,38 @@ Complete the **Wallet Setup** above, then choose your preferred installation met
12189

12290
---
12391

92+
## 4. Method B: Claude Code CLI Setup
93+
94+
**Prerequisites:**
95+
- [Node.js](https://nodejs.org/) (version 18 or higher)
96+
- npm (version 9 or higher)
97+
98+
**Setup Steps:**
99+
100+
1. **Install Claude Code CLI:**
101+
```bash
102+
npm install -g @anthropic-ai/claude-code
103+
```
104+
105+
2. **Add iExec MCP server:**
106+
107+
*With wallet file (from Section 1):*
108+
```bash
109+
claude mcp add iexec-mcp --env PRIVATE_KEY_PATH=~/Library/Ethereum/keystore/wallet.json -- npx @paypes/iexec-mcp@latest run
110+
```
111+
112+
*With direct private key:*
113+
```bash
114+
claude mcp add iexec-mcp --env PRIVATE_KEY=0xYOUR_PRIVATE_KEY -- npx @paypes/iexec-mcp@latest run
115+
```
116+
117+
3. **Run Claude:**
118+
```bash
119+
claude
120+
```
121+
122+
---
123+
124124
## 5. Method C: Local Node.js Setup
125125

126126
**Prerequisites:**

0 commit comments

Comments
 (0)