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
npm install -g @anthropic-ai/claude-code
claude mcp add near-mcp npx @nearai/near-mcp@latest run
claude
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:
claude mcp add near-mcp npx @nearai/near-mcp@latest run
Adding to claude desktop via JSON config:
{
"mcpServers": {
"near-mcp": {
"command": "npx",
"args": ["-y", "@nearai/near-mcp@latest", "run"],
"env": {}
}
}
}
Adding to goose
┌ goose-configure
│
◇ What would you like to configure?
│ Add Extension
│
◇ What type of extension would you like to add?
│ Command-line Extension
│
◇ What would you like to call this extension?
│ near-mcp
│
◇ What command should be run?
│ npx @nearai/near-mcp@latest run
│
◇ Please set the timeout for this tool (in secs):
│ 60
│
◇ Would you like to add environment variables?
│ No
│
└ Added near-mcp extension
Or you can install it globally and use it directly.
# Install globally
npm install -g @nearai/near-mcp@latest
# Or use directly with npx
npx @nearai/near-mcp@latest run
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_accounttool 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.
NEAR MCP Server
Project Details
- nearai/near-mcp
- @nearai/near-mcp
- MIT License
- Last Updated: 4/21/2025
Categories
Recomended MCP Servers
Completely free, private, UI based Tech Documentation MCP server. Designed for coders and software developers in mind. Easily...
NOT for educational purposes: An MCP server for professional penetration testers including nmap, go/dirbuster, nikto, JtR, wordlist building,...
MCP server integrating CEDARScript grammar functionality into tool use.
This is MCP server for Claude that gives it terminal control, file system search and diff file editing...
I enhance the existing memory mcp server from the official mcp github, so big thanks and credits for...
MCP server to connect to Oracle Database
A connector for Claude Desktop to read and search an Obsidian vault.
This is the most comprehensive wordpress mcp server. Includes functionality to perform CRUD operations on Users, Blogs, Categories...
An MCP server for unconventional and boundary-breaking problem-solving through an advanced note-taking system.
An MCP server for the github notifications API for the OSS maintainer
Model Context Protocol (MCP) server for the Webflow Data API.





