developer-tools

NEAR MCP

by nearai

Interact with the NEAR blockchain via NEAR MCP — fast NEAR RPC access and developer API calls to build and test NEAR dAp

Interact with the NEAR blockchain through MCP calls

github stars

27

Local keystore managementCryptographic signing capabilitiesWorks with Claude and other MCP clients

best for

  • / Blockchain developers building NEAR applications
  • / AI agents needing NEAR blockchain access
  • / Automating NEAR account operations

capabilities

  • / Manage NEAR account keypairs in local keystore
  • / Create new NEAR accounts and implicit accounts
  • / Sign and verify data cryptographically
  • / Query account information and balances
  • / Search for fungible token contracts
  • / Import and export NEAR accounts

what it does

Provides MCP tools for interacting with the NEAR blockchain including account management, token operations, and cryptographic signing.

about

NEAR MCP is an official MCP server published by nearai that provides AI assistants with tools and capabilities via the Model Context Protocol. Interact with the NEAR blockchain via NEAR MCP — fast NEAR RPC access and developer API calls to build and test NEAR dAp It is categorized under developer tools. This server exposes 23 tools that AI clients can invoke during conversations and coding sessions.

how to install

You can install NEAR MCP in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

license

MIT

NEAR MCP is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

readme

NEAR MCP Logo
[![npm version](https://badge.fury.io/js/@nearai%2Fnear-mcp.svg)](https://badge.fury.io/js/@nearai%2Fnear-mcp) [![Telegram](https://img.shields.io/badge/Dev_Support-2CA5E0?style=flat&logo=telegram&logoColor=white)](https://t.me/nearaialpha) # NEAR MCP This project is a Model Context Protocol ([MCP](https://github.com/modelcontextprotocol)) compatible server for interacting with the [NEAR blockchain](https://near.org/). 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](./tee.md) ## Installing `near-mcp` is meant to be used is with an MCP compatible client. Learn more in the [MCP docs](https://modelcontextprotocol.io/introduction) Adding to the [`claude` code](https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview) cli: ```bash claude mcp add near-mcp npx @nearai/near-mcp@latest run ``` Adding to claude desktop via JSON config: ```json { "mcpServers": { "near-mcp": { "command": "npx", "args": ["-y", "@nearai/near-mcp@latest", "run"], "env": {} } } } ``` Adding to [`goose`](https://block.github.io/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 # 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](./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](https://github.com/modelcontextprotocol). It enables AI assistants to: 1. Manage NEAR accounts on behalf of users 2. Check account balances and status 3. Sign and send transactions 4. Create new accounts and manage access keys 5. 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](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.

FAQ

What is the NEAR MCP MCP server?
NEAR MCP is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
How do MCP servers relate to agent skills?
Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
How are reviews shown for NEAR MCP?
This profile displays 10 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.5 out of 5—verify behavior in your own environment before production use.
MCP server reviews

Ratings

4.510 reviews
  • Shikha Mishra· Oct 10, 2024

    NEAR MCP is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.

  • Piyush G· Sep 9, 2024

    We evaluated NEAR MCP against two servers with overlapping tools; this profile had the clearer scope statement.

  • Chaitanya Patil· Aug 8, 2024

    Useful MCP listing: NEAR MCP is the kind of server we cite when onboarding engineers to host + tool permissions.

  • Sakshi Patil· Jul 7, 2024

    NEAR MCP reduced integration guesswork — categories and install configs on the listing matched the upstream repo.

  • Ganesh Mohane· Jun 6, 2024

    I recommend NEAR MCP for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.

  • Oshnikdeep· May 5, 2024

    Strong directory entry: NEAR MCP surfaces stars and publisher context so we could sanity-check maintenance before adopting.

  • Dhruvi Jain· Apr 4, 2024

    NEAR MCP has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.

  • Rahul Santra· Mar 3, 2024

    According to our notes, NEAR MCP benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.

  • Pratham Ware· Feb 2, 2024

    We wired NEAR MCP into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.

  • Yash Thakker· Jan 1, 2024

    NEAR MCP is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.