NEAR MCP
About
NEAR MCP is a Model Context Protocol compatible server for interacting with the NEAR blockchain. It provides a way for LLMs and AI agents to securely access and interact with NEAR accounts and blockchain functionality.
Details
- Author
- nearai
- GitHub stars
- 31
- Downloads
- 157
- Categories
- Other
Jump to
- Manage NEAR accounts on behalf of users
- Check account balances and status
- Sign and send transactions on the NEAR blockchain
- Create new accounts and manage access keys
- Inspect and execute smart contracts
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
NEAR MCPCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install and add NEAR MCP to an MCP-compatible client such as Claude Code, Goose, or Claude Desktop. For Claude Code, run claude mcp add near-mcp npx @nearai/near-mcp@latest run. For Claude Desktop, add the npx -y @nearai/near-mcp@latest run command with optional environment variables. Alternatively, install globally with npm install -g @nearai/near-mcp@latest and run it directly.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"near mcp": {
"near-mcp": {
"command": "npx",
"args": [
"@nearai/near-mcp@latest",
"run"
]
}
}
}
}
McpServers
{
"near-mcp": {
"command": "npx",
"args": [
"@nearai/near-mcp@latest",
"run"
]
}
}
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
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:
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.
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



