near-mcp-server

near-mcp-server

3.1

If you are the rightful owner of near-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This project implements a Model Context Protocol (MCP) server for interacting with the NEAR Protocol blockchain, allowing LLMs to query blockchain data and execute transactions.

The NEAR Protocol Full-Featured MCP Server is designed to facilitate interaction with the NEAR blockchain through a Model Context Protocol (MCP) server. It enables Large Language Models (LLMs) to perform various blockchain operations such as querying account balances, executing transactions, and managing smart contracts. The server is configured using a mnemonic seed phrase stored in an environment variable, which is not secure for production use. It is recommended for local development and testing with non-valuable accounts. The server supports a wide range of functionalities, including account management, token transfers, contract deployment, and access key management. It is compatible with MCP clients like Claude Desktop, allowing seamless integration and interaction with the NEAR blockchain.

Features

  • get_account_balance: Retrieve the total, staked, state-staked, and available balance for a specified account.
  • view_account_state: View the raw key-value state stored in a specified contract account.
  • create_sub_account: Create a new sub-account under the server's account with specified parameters.
  • send_tokens: Transfer NEAR tokens from the server's account to another account.
  • deploy_contract: Deploy a WASM smart contract to the server's configured account.

Tools

  1. get_account_balance

    Get the balance of the specified account

  2. view_account_state

    View the original key-value status of the specified contract account

  3. get_account_details

    Get detailed information about a specified NEAR account

  4. create_sub_account create_sub_account

    Create a sub-account

  5. delete_account

    Delete an account

  6. send_tokens

    Send tokens

  7. call_function

    Call smart contract function

  8. batch_actions

    Execute operations in batches

  9. deploy_contract

    Deploy contracts

  10. view_function

    View function calls

  11. get_access_keys

    Get the access key

  12. add_full_access_key

    Add full access key

  13. add_function_call_key

    Add function call key

  14. delete_access_key

    Delete the access key

  15. verify_signature

    Verify signature