Enables containerized deployment of the Neo N3 MCP server, supporting isolated and consistent execution environments across different platforms.
Hosts the source code repository for the Neo N3 MCP server, enabling version control and collaboration on the codebase.
Supports comprehensive testing of the Neo N3 MCP server functionality, ensuring reliability of blockchain interactions.
Hosts the Neo N3 MCP documentation website, providing users with comprehensive guides and API references for interacting with the Neo N3 blockchain.
Provides tools for running the Neo N3 MCP server as an NPM package using Node.js, offering a simple way to access the blockchain functionality.
Allows installation and distribution of the Neo N3 MCP server as a package through the NPM registry, making it easily accessible to users.
Used for implementing the Neo N3 MCP server with strong typing, providing enhanced development experience and code reliability.
Neo N3 MCP Server
MCP Server for Neo N3 Blockchain Integration | Version 1.6.0
A production-ready MCP server providing Neo N3 blockchain integration with 34 tools and 9 resources for wallet management, asset transfers, contract interactions, and blockchain queries.
🚀 Quick Start
Install from NPM
Basic Usage
⚙️ Configuration
1. Command Line Configuration
2. JSON Configuration
Create a neo-mcp-config.json
file:
Run with config file:
3. Docker Configuration
Using Docker Hub Image
Docker Compose
Create a docker-compose.yml
:
Run with:
🐳 Docker Quick Start
Production Docker Setup
Development Docker Setup
🔧 Configuration Options
Environment Variables
Variable | Description | Default |
---|---|---|
NEO_NETWORK | Default network (mainnet/testnet) | testnet |
NEO_MAINNET_RPC | Mainnet RPC endpoint | https://mainnet1.neo.coz.io:443 |
NEO_TESTNET_RPC | Testnet RPC endpoint | https://testnet1.neo.coz.io:443 |
LOG_LEVEL | Logging level (debug/info/warn/error) | info |
LOG_FILE | Log file path | ./logs/neo-mcp.log |
WALLET_DIR | Wallet storage directory | ./wallets |
Command Line Options
Option | Description |
---|---|
--network | Set default network |
--mainnet-rpc | Mainnet RPC URL |
--testnet-rpc | Testnet RPC URL |
--log-level | Set logging level |
--log-file | Set log file path |
--config | Load configuration from JSON file |
--help | Show help information |
🛠️ MCP Client Integration
Claude Desktop
Add to your Claude Desktop config (~/.cursor/mcp.json
or similar):
For mainnet configuration:
Custom MCP Client
📊 Available Tools & Resources
🛠️ Tools (34 available)
- Network:
get_network_mode
,set_network_mode
- Blockchain:
get_blockchain_info
,get_block_count
,get_block
,get_transaction
- Wallets:
create_wallet
,import_wallet
- Assets:
get_balance
,transfer_assets
,estimate_transfer_fees
- Contracts:
invoke_contract
,list_famous_contracts
,get_contract_info
- Advanced:
claim_gas
,estimate_invoke_fees
📁 Resources (9 available)
- Network Status:
neo://network/status
,neo://mainnet/status
,neo://testnet/status
- Blockchain Data:
neo://mainnet/blockchain
,neo://testnet/blockchain
- Contract Registry:
neo://mainnet/contracts
,neo://testnet/contracts
- Asset Information:
neo://mainnet/assets
,neo://testnet/assets
🔐 Security
- Input Validation: All inputs validated and sanitized
- Confirmation Required: Sensitive operations require explicit confirmation
- Private Key Security: Keys encrypted and stored securely
- Network Isolation: Separate configurations for mainnet/testnet
- Rate Limiting: Configurable rate limiting for production deployments
- Secure Logging: No sensitive data exposed in logs
⚡ Performance & Reliability
- Rate Limiting: Built-in rate limiting with configurable thresholds
- Error Handling: Comprehensive error handling with proper MCP error codes
- Network Resilience: Automatic fallback mechanisms for RPC calls
- Production Ready: Systemd service configuration and monitoring support
🔄 Version Management & Release Process
Current Version: 1.6.0
This project follows Semantic Versioning with automated CI/CD pipeline for releases. See our Version Management Guide for detailed information.
🚀 How to Trigger Next Version Release
Method 1: Automated Release Script (Recommended)
Method 2: Manual NPM Version Commands
Method 3: GitHub Release (Direct)
🔄 What Happens When You Create a Release
The automated CI/CD pipeline triggers the following workflow:
Phase 1: Testing & Validation ⚡
- ✅ Multi-version testing: Node.js 18.x, 20.x, 22.x on ubuntu-latest
- ✅ Code quality: Linting and type checking
- ✅ Unit tests: Core functionality validation
- ✅ Coverage reporting: Automatic upload to Codecov
Phase 2: Build & Docker 🔨
- ✅ TypeScript compilation: Build validation
- ✅ Docker builds: Both development and production images
- ✅ Container testing: Docker functionality validation
- ✅ Compose validation: Configuration testing
Phase 3: Security & Audit 🔒
- ✅ Security audit: npm audit for vulnerabilities
- ✅ Dependency check: audit-ci for security issues
- ✅ Package updates: Check for outdated dependencies
Phase 4: Publishing 📦 (Only on release)
- 🚀 NPM Publishing: Automatic package publishing to npm registry
- 🐳 Docker Publishing: Multi-tag image publishing to Docker Hub
- 📋 Versioned tags: Semantic versioning with proper tagging
Phase 5: Deployment 🌐 (Only on release)
- 🎯 Production deployment: Automated deployment notification
- 📊 Release tracking: Version monitoring and validation
📋 Release Types
Type | Version Change | Use Case | Example |
---|---|---|---|
patch | 1.6.0 → 1.6.1 | Bug fixes, security patches | ./scripts/prepare-release.sh --type patch |
minor | 1.6.0 → 1.7.0 | New features, enhancements | ./scripts/prepare-release.sh --type minor |
major | 1.6.0 → 2.0.0 | Breaking changes | ./scripts/prepare-release.sh --type major |
🎯 Quick Release Commands
📊 Latest Changes (v1.6.0)
- ✨ Enterprise CI/CD Pipeline: Complete GitHub Actions workflow
- 🐳 Docker Infrastructure: Production and development environments
- 📁 Project Organization: Structured folders (docker/, docs/, scripts/)
- 🔧 Automated Publishing: NPM and Docker Hub integration
- 📚 Comprehensive Documentation: Guides for all deployment scenarios
- 🔄 Version Management: Automated release preparation and validation
📚 Release Documentation
- CHANGELOG.md - Complete version history
- VERSION_MANAGEMENT.md - Detailed release process
- WORKFLOW.md - CI/CD pipeline documentation
🔐 Required Secrets (Already Configured)
- ✅
NPM_TOKEN
- For NPM registry publishing - ✅
DOCKER_USERNAME
- Docker Hub username - ✅
DOCKER_PASSWORD
- Docker Hub access token
📚 Documentation
- API Reference - Complete API documentation
- Architecture - System design and components
- Examples - Practical usage examples and best practices
- Docker Guide - Comprehensive Docker deployment guide
- Production Checklist - Production deployment guide
- Deployment - Deployment configuration
- Testing - Testing and validation
- Networks - Network configuration details
- Version Management - Release process and versioning
- Release Guide - Quick reference for triggering releases
- Workflow Guide - CI/CD pipeline documentation
- Changelog - Version history and changes
📄 License
MIT License - see LICENSE file for details.
🔗 Links
- NPM Package: https://www.npmjs.com/package/@r3e/neo-n3-mcp
- Neo N3 Documentation: https://docs.neo.org/
- MCP Protocol: https://modelcontextprotocol.io/
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
An MCP server that provides seamless integration with the Neo N3 blockchain, allowing Claude to interact with blockchain data, manage wallets, transfer assets, and invoke smart contracts.
Related MCP Servers
- AsecurityAlicenseAqualityMCP Server for the Notion API, enabling Claude to interact with Notion workspaces.Last updated -18867811MIT License
- AsecurityAlicenseAqualityAn MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.Last updated -151,11888MIT License
- -securityAlicense-qualityAn MCP server that allows accessing and managing ledger files through Claude by providing account listing, balance checking, and transaction register viewing capabilities.Last updated -3GPL 3.0
- AsecurityAlicenseAqualityAn MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.Last updated -735613MIT License