Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
# Rename this file to ".env" and fill in your secrets

# Port to run the server on
PORT=3001

# Set to true if you want to run the server in remote mode default is false stdio is used
REMOTE=false

# Private key used to sign requests
PRIVATE_KEY=your_private_key_here
PRIVATE_KEY=your_private_key_heres

# if PRIVATE_KEY is not set, you can set the path to the keystore file
PRIVATE_KEY_PATH=~/Library/Ethereum/keystore/wallet.json
46 changes: 36 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,6 @@

---

1. Ensure you have [Node.js](https://nodejs.org/) and [npm](https://www.npmjs.com/get-npm) installed.
2. Clone the repository and install dependencies:
```bash
git clone https://github.com/iexec-blockchain-computing/iexec-mcp-server.git
cd iexec-mcp-server
npm install
npm run build
```

## 1. Prerequisites

- **For Local (Node.js) setup:**
Expand Down Expand Up @@ -51,7 +42,42 @@ Find your wallet at:

---

## 3. Local (Node.js)
## 3. Quickstart with Claude Code CLI

The fastest way to get started is using the Claude Code CLI:

```bash
# Install Claude Code CLI
npm install -g @anthropic-ai/claude-code

# Add iExec MCP server with your wallet
claude mcp add iexec-mcp --env PRIVATE_KEY_PATH=~/Library/Ethereum/keystore/wallet.json -- npx @paypes/iexec-mcp@latest run

# run claude
claude
```

### 3.1. Direct npx Configuration for Claude Desktop

You can also configure Claude Desktop directly to use the latest published package via npx:

```json
{
"mcpServers": {
"iexec-mcp-server": {
"command": "npx",
"args": ["-y", "@paypes/iexec-mcp@latest"],
"env": {
"PRIVATE_KEY_PATH": "~/Library/Ethereum/keystore/wallet.json"
}
}
}
}
```

---

## 4. Local (Node.js)

Follow these steps to run the iExec MCP Server locally with Node.js and integrate it with Claude Desktop.

Expand Down
Loading