NN

nearai/near-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

31 stars 16 forks 品質 66 トレンド 11MIT

closeai/near-mcp は [https://github.com/nearai/near-mcp. からインポートされた MCP サーバーの候補です

概要

closeai/near-mcp は [https://github.com/nearai/near-mcp. からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

このプロジェクトは、NEARブロックチェーンとのやりとりを行うモデルコンテキストプロトコル(MCP)対応サーバーです。 このツールは、LLM および AI エージェントが NEAR のアカウントとブロックチェーンの機能を安全にアクセスし、やり取りする方法を提供します。

クイックスタート

[claude]コードcliで近いmcpサーバーをすぐに起動する方法は次のとおりです。

または、Pala Cloud にリモートで MCP サーバーを展開するか、手順をこちらで確認します。

インストール

[[near-mcp] は、MCP 互換のクライアントで使用されます。 MCP ドキュメントでもっと詳しく知る

claude のコード cli に追加します。

デスクトップを JSON 設定で追加します。

[[T3]に追加]

または、グローバルにインストールして直接使用することもできます。

利用可能なツール

利用可能なツールと引数のリストについては、TOOLS.md を参照してください。

#AIモデルとの統合

このツールは、モデルコンテキストプロトコルをサポートするAIモデルで使用するように設計されています。 AI アシスタントを以下にすることができます。

1。 ユーザーを代わってNEARアカウントを管理する 2.口座残高とステータスの確認 3. 取引の署名と送信 4。 新しいアカウントを作成し、アクセスキーを管理する 5. スマートコントラクトの点検と実行

セキュリティの考慮事項

  • このMCPは、ローカルで実行されることを意味します.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

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.

# 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:

  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.
GitHub で README 全文を見る

インストール

npx -y @nearai/near-mcp@latest run
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

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