MCP.so
Sign In

NEAR MCP Server

@nearai

Basic information

Category

Other

Last updated

License

MIT

Transports

stdio

Author

nearai

About NEAR MCP Server

An MCP server for the NEAR blockchain

NEAR MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "near-mcp": {
      "command": "npx",
      "args": [
        "@nearai/near-mcp@latest",
        "run"
      ]
    }
  }
}

NEAR MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

Overview

What is NEAR MCP?

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.

How to use NEAR MCP?

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.

Key features of NEAR MCP

  • 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

Use cases of NEAR MCP

  • AI assistants that manage NEAR accounts and transactions for users
  • Automated smart contract inspection and execution via LLMs
  • Balance and status checking for NEAR accounts through natural language

Frequently asked questions

1

What tools does NEAR MCP provide?

The server provides tools for managing NEAR accounts, checking balances, signing and sending transactions, creating accounts, managing access keys, and inspecting/executing smart contracts. A full list is available in the project’s TOOLS.md file.

2

How are private keys secured?

Account private keys are stored in a local unencrypted keystore where the MCP server is running. The `import_account` tool allows the model to import an account from a private key, which requires the user to provide the private key to the model.

3

What runtime or dependencies are required?

NEAR MCP requires Node.js and npm to run. It is distributed as an npm package and can be used via `npx` or installed globally. It is designed to run locally on the user’s machine.

4

Can NEAR MCP be deployed remotely?

Yes, NEAR MCP can be deployed remotely on Phala Cloud. Instructions for this deployment method are provided in the project’s tee.md file.

5

Which AI clients are supported?

NEAR MCP works with any client that supports the Model Context Protocol, including Claude Code, Claude Desktop, and Goose.

Comments

More Other MCP servers