You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Chain-specific operations across 30+ EVM networks
36
-
- ENS name resolution for all address parameters
36
+
-**ENS name resolution** for all address parameters (use human-readable names like 'vitalik.eth' instead of addresses)
37
37
38
-
All operations are exposed through a consistent interface of MCP tools and resources, making it easy for AI agents to discover and use blockchain functionality.
38
+
All operations are exposed through a consistent interface of MCP tools and resources, making it easy for AI agents to discover and use blockchain functionality.**Every tool that accepts Ethereum addresses also supports ENS names**, automatically resolving them to addresses behind the scenes.
39
39
40
40
## ✨ Features
41
41
@@ -46,7 +46,7 @@ All operations are exposed through a consistent interface of MCP tools and resou
46
46
-**Block data** access by number, hash, or latest
47
47
-**Transaction details** and receipts with decoded logs
48
48
-**Address balances** for native tokens and all token standards
49
-
-**ENS resolution** for human-readable Ethereum addresses
49
+
-**ENS resolution** for human-readable Ethereum addresses (use 'vitalik.eth' instead of '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045')
50
50
51
51
### Token Operations
52
52
@@ -197,6 +197,38 @@ bun dev:http
197
197
198
198
Connect to this MCP server using any MCP-compatible client. For testing and debugging, you can use the [MCP Inspector](https://github.com/modelcontextprotocol/inspector).
199
199
200
+
### Connecting from Cursor
201
+
202
+
To connect to the MCP server from Cursor:
203
+
204
+
1. Open Cursor and go to Settings (gear icon in the bottom left)
- (Replace with the absolute path to your evm-mcp-server/src/index.ts file)
213
+
214
+
6. Click "Save"
215
+
216
+
Once connected, you can use the MCP server's capabilities directly within Cursor. The server will appear in the MCP Servers list and can be enabled/disabled as needed.
217
+
218
+
### Connecting using Claude CLI
219
+
220
+
If you're using Claude CLI, you can connect to the MCP server with just two commands:
221
+
222
+
```bash
223
+
# Add the MCP server
224
+
claude mcp add evm-mcp-server npx tsx /path/to/mcp-evm-server/src/index.ts
225
+
226
+
# Start Claude with the MCP server enabled
227
+
claude
228
+
```
229
+
230
+
Replace `/path/to/mcp-evm-server/src/index.ts` with the absolute path to your project's src/index.ts file.
231
+
200
232
### Example: Getting a Token Balance with ENS
201
233
202
234
```javascript
@@ -221,43 +253,64 @@ console.log(result);
221
253
// }
222
254
```
223
255
256
+
### Example: Resolving an ENS Name
257
+
258
+
```javascript
259
+
// Example of using the MCP client to resolve an ENS name to an address
|`is-contract`| Check if address is a contract |`address` (address/ENS), `network`|
309
+
|`resolve-ens`| Resolve ENS name to address |`ensName`, `network`|
257
310
258
311
### Resources
259
312
260
-
The server exposes blockchain data through the following MCP resource URIs:
313
+
The server exposes blockchain data through the following MCP resource URIs. All resource URIs that accept addresses also support ENS names, which are automatically resolved to addresses.
0 commit comments