Integrations
Enables interaction with the NEAR blockchain, providing tools for managing NEAR accounts, checking balances, signing and sending transactions, creating new accounts, managing access keys, and sending NEAR tokens.
NEAR MCP
This project is a Model Context Protocol (MCP) compatible server for interacting with the NEAR blockchain. This tool provides a way for LLMs and AI agents to securely access and interact with NEAR accounts and blockchain functionality.
Quickstart
Here is how to get started with the near-mcp server quickly with the claude
code cli
Or deploy the MCP server remotely on Phala Cloud, check the instructions here
Installing
near-mcp
is meant to be used is with an MCP compatible client. Learn more in the MCP docs
Adding to the claude
code cli:
Adding to claude desktop via JSON config:
Adding to goose
Or you can install it globally and use it directly.
Available Tools
see TOOLS.md for a list of available tools and arguments.
Integration with AI Models
This tool is designed to be used with AI models that support the Model Context Protocol. It enables AI assistants to:
- Manage NEAR accounts on behalf of users
- Check account balances and status
- Sign and send transactions
- Create new accounts and manage access keys
- Inspect and execution smart contracts
Security Considerations
- This MCP is meant to be run locally. Account private keys are stored in a local unencrypted keystore where the MCP server is running.
- The underlying models should not have access to see the private keys of the accounts they are interacting with with one exception. The
import_account
tool allows the model to import an account from a private key. This requires the user to provide the private key to the model.
Contributing
We welcome contributions to the NEAR MCP server! Please see the CONTRIBUTING.md file for more information.
Reporting Issues
If you find a bug or have a feature request, please open an issue on the GitHub repository.
You must be authenticated.
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
Interact with the NEAR blockchain through MCP calls
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server to run commands.Last updated -2556133TypeScriptMIT License
- -securityAlicense-qualityA comprehensive MCP server for tooling interactions(40+) and resource accessibility(60+) with Algorand blockchain, plus many useful prompts.Last updated -53528TypeScriptMIT License
- -securityFlicense-qualityA Model Context Protocol (MCP) server that provides onchain tools for Claude AI, allowing it to interact with the Polygon PoS blockchain to call contract functions, manage ERC20 tokens, and check gas prices.Last updated -68TypeScript
- -securityAlicense-qualityAn MCP (Model Context Protocol) server that chains calls to other MCP tools, reducing token usage by allowing sequential tool execution with result passingLast updated -10925JavaScriptMIT License