Skip to main content

Quick Setup

1

Install httpcat-cli

Choose your preferred installation method:
2

Get your private key

You’ll need a Base-compatible private key with USDC for trading.
Never hardcode your private key in config files. Use environment variables or your MCP client’s secrets management.
3

Configure your MCP client

Follow the instructions below for your specific client.
4

Test the connection

Ask your AI assistant:
If it responds with your ETH and USDC balances, you’re all set!

Cursor Configuration

Cursor supports MCP natively. Configure in your MCP settings:

Location

  • macOS/Linux: ~/.cursor/mcp_settings.json
  • Windows: %APPDATA%\Cursor\mcp_settings.json
Or use Cursor’s UI: SettingsExtensionsMCP Servers

Configuration (npx)

Using npx ensures you always get the latest version of httpcat-cli without manual updates.

Configuration (Global Install)

If you installed httpcat-cli globally:

Using Environment Variables

Instead of hardcoding the private key:
Then set in your shell:

Restart Cursor

After saving the configuration, restart Cursor to load the MCP server.

Claude Desktop Configuration

Claude Desktop (Anthropic’s official app) supports MCP.

Location

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Configuration (npx)

Configuration (Global Install)

Restart Claude Desktop

Quit Claude Desktop completely and restart to load the MCP server.

Custom MCP Clients

For other MCP-compatible clients:

Standard MCP Configuration

Programmatic Setup

If you’re building an MCP client:

Environment Configuration

Available Environment Variables

Configure httpcat behavior via environment variables:

Network Selection

Perfect for:
  • Testing and learning
  • Free testnet USDC
  • No financial risk
If you don’t specify HTTPCAT_NETWORK, it will be auto-detected from your wallet’s transactions.

Security Best Practices

DO:
  • Use environment variables
  • Use your MCP client’s secrets management
  • Use different keys for testnet and mainnet
  • Rotate keys regularly
DON’T:
  • Commit keys to version control
  • Hardcode keys in config files
  • Share keys in screenshots
  • Reuse keys across projects
Best approach:
  1. Create a .env file (add to .gitignore):
  2. Load in your shell:
  3. Reference in MCP config:
Always test with testnet first:
  1. Use Base Sepolia network
  2. Get free testnet tokens from faucets
  3. Verify tools work correctly
  4. Then switch to mainnet with real funds
  • Back up your seed phrase (not private key)
  • Store offline in secure location
  • Never share with anyone
  • Consider hardware wallet for mainnet

Verifying Setup

Test Connection

Ask your AI assistant to run a health check:
Expected response:

Test Balance

Expected response:

Test Token Info

Expected response should include token details, price, and market cap.

Troubleshooting

Symptoms: AI assistant says httpcat tools are unavailableSolutions:
  1. Restart your MCP client completely
  2. Verify config file location
  3. Check command path:
  4. Check MCP client logs for errors
Symptoms: “Invalid private key” or “Authentication failed”Solutions:
  1. Verify key format starts with 0x
  2. Ensure key is 64 hex characters (+ 0x prefix)
  3. Check environment variable is set:
  4. Try hardcoding temporarily to test
Symptoms: “Cannot connect to agent” or timeout errorsSolutions:
  1. Check internet connection
  2. Verify agent URL is reachable:
  3. Check for firewall/proxy issues
  4. Try custom agent URL if needed
Symptoms: Tools return errors or unexpected resultsSolutions:
  1. Check wallet has USDC for operations
  2. Check wallet has ETH for gas fees
  3. Verify network matches your funds
  4. Try the same operation via CLI:
  5. Check httpcat-cli logs
Symptoms: Tools behave differently than documentedSolutions:
  1. Update to latest version:
  2. For npx, it auto-updates on each run
  3. Check version:
  4. Clear npm cache if needed:

Advanced Configuration

Multiple Environments

Configure different environments for different use cases:
Then specify which to use when talking to AI:

Custom RPC Endpoint

Use a custom RPC provider for better reliability:
Recommended providers:

Next Steps

Tools Reference

Learn all 11 available MCP tools

CLI Commands

Understand underlying CLI commands

Examples

See complete workflow examples

API Reference

Build custom integrations
Once configured, try asking your AI: “Create a test token on httpcat” to verify everything works!