Get up and running with Neo N3 MCP Server in minutes. Follow our step-by-step guide to install, configure, and start building blockchain applications.
Choose your preferred installation method to get started with Neo N3 MCP Server.
The easiest way to get started. Requires Node.js 18+ and npm.
# Install globally npm install -g @r3e/neo-n3-mcp # Or install locally in your project npm install @r3e/neo-n3-mcp
Make sure you have Node.js 18+ and npm installed on your system.
Use Docker for a containerized deployment with all dependencies included.
# Pull the latest image docker pull r3e/neo-n3-mcp:latest # Run the server docker run -p 8080:8080 r3e/neo-n3-mcp:latest
Docker provides isolated environment, easy scaling, and consistent deployments across different systems.
Add Neo N3 MCP directly to Claude Desktop for seamless blockchain integration.
{ "mcpServers": { "neo-n3-mcp": { "command": "npx", "args": ["@r3e/neo-n3-mcp"], "env": { "NEO_NETWORK": "mainnet" } } } }
Add this configuration to your Claude Desktop config file to enable blockchain capabilities in your AI assistant.
Configure Neo N3 MCP Server for your specific needs and network preferences.
# Network configuration export NEO_NETWORK=mainnet # or 'testnet' export NEO_RPC_URL=https://rpc.neo.org # Optional: Custom endpoints export NEO_TESTNET_RPC=https://testnet-rpc.neo.org export NEO_TIMEOUT=30000
Create a neo-mcp.config.json
file for advanced configuration:
{ "network": "mainnet", "rpcEndpoints": { "mainnet": "https://rpc.neo.org", "testnet": "https://testnet-rpc.neo.org" }, "timeout": 30000, "retries": 3, "security": { "enableEncryption": true, "keyDerivationRounds": 10000 } }
Never commit private keys or sensitive configuration to version control. Use environment variables for sensitive data.
Let's verify your installation and make your first blockchain queries.
const neo = require('@r3e/neo-n3-mcp'); // Test basic connectivity async function testConnection() { try { const info = await neo.callTool('get_blockchain_info'); console.log('Connected! Block height:', info.blockcount); console.log('Network:', info.network); } catch (error) { console.error('Connection failed:', error.message); } } testConnection();
Get current blockchain information and network health.
Fetch information about specific blocks and transactions.
Look up NEP-17 token information and balances.
If these examples work, your Neo N3 MCP Server is correctly installed and configured.
Explore practical examples that demonstrate the power of Neo N3 MCP Server.
You're ready to build amazing blockchain applications! Here's what to explore next:
You've successfully set up Neo N3 MCP Server. Start building the future of blockchain development!