Install HashPilot
Option 1: Global Installation (Recommended)
Option 2: Use with npx (No Installation)
You can run HashPilot directly with npx - no global installation required:When using npx in your MCP configuration, use
npx -y hashpilot to auto-confirm the install prompt.Environment Variables
HashPilot requires these environment variables in your MCP configuration:| Variable | Required | Description |
|---|---|---|
HEDERA_NETWORK | Yes | Network to use: testnet, mainnet, or previewnet |
HEDERA_OPERATOR_ID | Yes | Your Hedera account ID (e.g., 0.0.12345) |
HEDERA_OPERATOR_KEY | Yes | Your private key in hex format |
OPENAI_API_KEY | For RAG | Required for documentation search and code generation |
Getting a Hedera Account
- Visit portal.hedera.com
- Create a free account
- Navigate to the Testnet tab
- Copy your Account ID (e.g.,
0.0.12345) - Copy your Private Key (DER encoded hex string)
Editor Configuration
Choose your AI editor below for specific setup instructions.- Claude Desktop
- Cursor
- Windsurf
- VS Code
Claude Desktop
Config file location:- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
- Create or edit the config file at the location above
- Add the configuration with your credentials
- Restart Claude Desktop
- Test by asking: “Use the health_check tool”
Using Global Installation
If you installed HashPilot globally, you can usehashpilot directly instead of npx:
Verify Installation
After configuring your editor, test that HashPilot is working:- Ask your AI assistant: “Run the health_check tool”
- You should see a response with HashPilot version and status