# Unlock MCP Server Environment Variables
# Required: Mode of operation
# - "stdio": Server pays gas fees, uses private key
# - "proxy": Client pays gas fees, HTTP API mode
MCP_MODE=stdio
# Required: RPC Provider (choose one)
# Get these from https://infura.io or https://alchemy.com
INFURA_API_KEY=your_infura_project_id_here
# ALCHEMY_API_KEY=your_alchemy_api_key_here
# Required: Unlock Protocol contract address
# Base Mainnet: 0x1FF7e338d5E582138C46044dc238543Ce555C963
# Base Sepolia: 0x84b9B910527Ad5C03A9Ca831909E21e236EA7b06
UNLOCK_ADDRESS=0x1FF7e338d5E582138C46044dc238543Ce555C963
# Optional: Default PublicLock address for operations
# If not provided, lockAddress must be specified in each call
LOCK_ADDRESS=
# Required for stdio mode: Private key for transaction signing
# ⚠️ WARNING: Never commit this to version control
# Use a dedicated wallet with minimal funds for testing
PRIVATE_KEY=0x0000000000000000000000000000000000000000000000000000000000000000
# Optional: Port for proxy mode (default: 3000)
PORT=3000
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/blahkheart/unlock-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server