loading…
Search for a command to run...
loading…
Enables Claude AI to interact with the Rootstock blockchain, including calling contracts, checking ERC20 token balances, transferring tokens, and querying gas p
Enables Claude AI to interact with the Rootstock blockchain, including calling contracts, checking ERC20 token balances, transferring tokens, and querying gas prices.
This is a Model Context Protocol (MCP) server that provides onchain tools for Claude AI, allowing it to interact with the Rootstock blockchain.
git clone https://github.com/rsksmart/rsk-mcp-server
cd rootstock-mcp
npm install
npm run build
Create a .env file in the root directory with the following variables:
SEED_PHRASE="your twelve word seed phrase here"
npm start
{
"mcpServers": {
"rootstock": {
"command": "node",
"args": ["/path/to/rootstock-mcp/build/index.js"],
"env": {
"SEED_PHRASE": "your twelve word seed phrase here"
},
"disabled": false,
"autoApprove": []
}
}
}
Call a contract function on Rootstock Network.
Parameters:
contractAddress: The address of the contract to callfunctionName: The name of the function to callfunctionArgs: The arguments to pass to the functionabi: The ABI of the contractvalue (optional): The value of RBTC to send with the transactionGet the balance of an ERC20 token on Rootstock Network.
Parameters:
contractAddress: The address of the contract to get the balance ofTransfer an ERC20 token on Rootstock Network.
Parameters:
contractAddress: The address of the contract to transfer the token fromtoAddress: The address of the recipientamount: The amount of tokens to transferGet the current gas price on Rootstock Network.
MIT
The software provided in this GitHub repository is offered “as is,” without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and non-infringement.
Выполни в терминале:
claude mcp add rootstock-mcp-server -- npx Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.