near-mcp-server
The NEAR Protocol Full-Featured MCP Server provides a bridge for Large Language Models to interact with the NEAR blockchain, allowing them to access data and execute transactions. It is designed for development and testing purposes, not secure for production use, and supports various blockchain functionalities such as balance retrieval, account management, and smart contract interaction.
NEAR Protocol Full-Featured MCP Server
This project implements a Model Context Protocol (MCP) server for interacting with the NEAR Protocol blockchain. It allows connected Large Language Models (LLMs) to query blockchain data and execute transactions using a configured NEAR account.
✨ Features
- Retrieve account balances
- View account state
- Get detailed account information
- Create and delete sub-accounts
- Transfer NEAR tokens
- Execute smart contract functions
- Batch multiple actions
- Deploy smart contracts
- Manage access keys
🚀 Prerequisites
- Node.js 16+
- npm
- A NEAR account & mnemonic seed phrase
- NEAR network ID
🛠️ Installation & Setup
- Install with
npm install near-mcp-server
- Configure environment variables in
.env
- Build with
npm run build
🏃 Running the Server
Run using npm start
or other methods, ensuring the server logs connection details.
🔌 Connecting to a Client
Configure Claude Desktop to connect to the MCP server for executing NEAR tools.