near-mcp-server
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
get_account_balance
Get the balance of the specified account
view_account_state
View the original key-value status of the specified contract account
get_account_details
Get detailed information about a specified NEAR account
create_sub_account create_sub_account
Create a sub-account
delete_account
Delete an account
send_tokens
Send tokens
call_function
Call smart contract function
batch_actions
Execute operations in batches
deploy_contract
Deploy contracts
view_function
View function calls
get_access_keys
Get the access key
add_full_access_key
Add full access key
add_function_call_key
Add function call key
delete_access_key
Delete the access key
verify_signature
Verify signature