Rootstock MCP Server
Description
[](https://scorecard.dev/viewer/?uri=github.com/rsksmart/rsk-mcp-server)…
About
[](https://scorecard.dev/viewer/?uri=github.com/rsksmart/rsk-mcp-server) [](https://github.com/rsksmart/rsk-mcp-server/actions?query=workflow%3…
Details
- Author
- rsksmart
- Downloads
- 291
- Categories
- Other
Jump to
- Call contract functions on Rootstock Network
- Get ERC20 token balances
- Transfer ERC20 tokens
- Get current gas prices
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Rootstock MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Clone the repository, run npm install and npm run build, then create a .env file with a SEED_PHRASE variable. Start the server with npm start or configure it as an MCP server in Claude’s mcpServers configuration by pointing to the built index.js and passing the seed phrase via the environment variable.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"rootstock mcp server": {
"rootstock": {
"command": "node",
"args": [
"/path/to/rootstock-mcp/build/index.js"
],
"env": {
"SEED_PHRASE": ""
}
}
}
}
}
McpServers
{
"rootstock": {
"command": "node",
"args": [
"/path/to/rootstock-mcp/build/index.js"
],
"env": {
"SEED_PHRASE": ""
}
}
}
Rootstock MCP Server
This is a Model Context Protocol (MCP) server that provides onchain tools for Claude AI, allowing it to interact with the Rootstock blockchain.
Features
- Call contract functions on Rootstock Network
- Get ERC20 token balances
- Transfer ERC20 tokens
- Get current gas prices
Installation
1. Clone this repository:
git clone https://github.com/rsksmart/rsk-mcp-server
cd rootstock-mcp
2. Install dependencies:
npm install
3. Build the project:
npm run build
Configuration
Create a .env file in the root directory with the following variables:
SEED_PHRASE="your twelve word seed phrase here"
Usage
Running the server
npm start
Using with Claude
{
"mcpServers": {
"rootstock": {
"command": "node",
"args": ["/path/to/rootstock-mcp/build/index.js"],
"env": {
"SEED_PHRASE": "your twelve word seed phrase here"
},
"disabled": false,
"autoApprove": []
}
}
}
Available Tools
call_contract
Call a contract function on Rootstock Network.
Parameters:
- contractAddress: The address of the contract to call
- functionName: The name of the function to call
- functionArgs: The arguments to pass to the function
- abi: The ABI of the contract
- value (optional): The value of RBTC to send with the transaction
erc20_balance
Get the balance of an ERC20 token on Rootstock Network.
Parameters:
- contractAddress: The address of the contract to get the balance of
erc20_transfer
Transfer an ERC20 token on Rootstock Network.
Parameters:
- contractAddress: The address of the contract to transfer the token from
- toAddress: The address of the recipient
- amount: The amount of tokens to transfer
get_gas_price
Get the current gas price on Rootstock Network.
License
MIT
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



