
A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

A Model Context Protocol server that provides tools for interacting with the Rootstock (RSK) blockchain, letting AI clients perform wallet, token, contract, and attestation operations.
Rootstock MCP Server is cataloged as an MCP server attributed to rsksmart. A Model Context Protocol server that provides tools for interacting with the Rootstock (RSK) blockchain, letting AI clients perform wallet, token, contract, and attestation operations. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Rootstock MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes. Transferring tokens and deploying contracts require a confirmAction boolean; passing false creates a pending operation that expires after 5 minutes and must be confirmed with confirm-operation before anything happens on-chain.
The server supports Rootstock Mainnet (Chain ID 30) and Rootstock Testnet (Chain ID 31).
Private keys are stored encrypted using AES-256 with a unique initialization vector per wallet, and passwords are not stored in plain text.
README.md · 2d223044fdb7 · 采集于 2026-11-13 11:14:19 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
Rootstock MCP Server is a Model Context Protocol (MCP) server that provides advanced tools for interacting with the Rootstock (RSK) blockchain. This project enables AI clients to seamlessly connect and execute blockchain operations.
This server exposes 22 MCP tools. You don't call these directly — once the MCP is connected, your AI client selects the right tool based on your prompt.
| Category | Tool | Description |
|---|---|---|
| Session | start-interaction | Start interacting with the Rootstock CLI functions |
| Session | list-pending-operations | List pending operations awaiting confirmation (deploys, transfers) |
| Session | confirm-operation | Confirm and execute a pending operation by ID |
| Session | cancel-operation | Cancel a pending operation by ID |
| Wallet | start-wallet-interaction | Show available wallet management operations |
| Wallet | create-wallet | Create, import, list, switch, or delete wallets |
| Wallet | use-wallet-from-creation | Reuse wallet data from a previous create-wallet result without re-uploading it |
| Balance | check-balance | Check rBTC or ERC20 token balances |
| Transfers | transfer-tokens | Transfer rBTC or ERC20 tokens between wallets |
| Transactions | check-transaction | Check a transaction's status and details by hash |
| Transactions | check-transaction-history | Query a wallet's transaction history via the Alchemy API |
| Contracts | deploy-contract | Deploy a smart contract using ABI and bytecode |
| Contracts | verify-contract | Verify a deployed contract's source code |
| Contracts | read-contract | Call view/pure functions on a verified contract |
| Attestations | issue-attestation | Issue a new attestation via RAS (Rootstock Attestation Service) |
| Attestations | verify-attestation | Verify an existing attestation by UID |
| Attestations | revoke-attestation | Revoke an existing attestation by UID |
| Attestations | list-attestations | Query attestations by event logs (requires a custom RPC URL) |
| Attestations | create-schema | Register a new attestation schema |
| Attestations | attest-deployment | Attest a contract deployment using the RAS default schema |
| Attestations | attest-verification | Attest a contract verification using the RAS default schema |
| Attestations | attest-transfer | Attest a token transfer using the RAS default schema |
See Detailed Functionality below for parameters and examples.
Note: You will use this Model Context Protocol Server from a LLM Client (e.g Cursor, Claude, Warp, etc) which needs to be compatible with the MCP standard. Take into account there are 2 steps here:
- Installation and Build
- AI Client Configuration
IMPORTANT: You need to complete both settings to correctly use MCP within the Client.
git clone https://github.com/rsksmart/rsk-mcp-server
cd rsk-mcp-server
npm install
npm run build
This command:
build/ folderbuild/index.js)node build/index.js
Important Note: For local running this MCP, your client will point to the
index.jsfile created on thebuildfolder after building it.
In Cursor, go to Settings > Cursor Settings > Tools & Integrations
You will see an option to Add Custom MCP

And add to the JSON file:
{
"mcpServers": {
"rsk-mcp-server": {
"command": "npx",
"args": [
"-y",
"@rsksmart/rsk-mcp-server"
]
}
}
}
// The Args field contains the path to the index.js file created by the build.
Note: For install reference on Cursor, please follow these instructions Here
Once it is installed into Cursor, you should see something like:

Green dot indicates it was installed correctly.
Edit your Claude Desktop configuration file:
Open your Claude client, and then click on Settings/Developer
Click the “Edit Config” button to open the configuration file and add the following configuration:
Note: This action creates a new configuration file if one doesn’t exist, or opens your existing configuration. The file is located at:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"rsk-mcp-server": {
"command": "npx",
"args": [
"-y",
"@rsksmart/rsk-mcp-server"
]
}
}
}
// The Args field contains the path to the index.js file created by the build.
Note: For install reference on Claude, please follow these instructions Here
Once you have installed this MCP on the Claude client, you will see it once you click on the Search and toolsoption under Web search option (see next image)
In Cursor, go to Settings > Cursor Settings > Tools & Integrations
You will see an option to Add Custom MCP

And add to the JSON file:
{
"mcpServers": {
"rsk-mcp": {
"command": "node",
"args": ["/absolute/path/to/your/project/rsk-mcp-server/build/index.js"]
}
}
}
// The Args field contains the path to the index.js file created by the build.
Note: For install reference on Cursor, please follow these instructions Here
Once it is installed into Cursor, you should see something like:

Green dot indicates it was installed correctly.
Edit your Claude Desktop configuration file:
Open your Claude client, and then click on Settings/Developer
Click the “Edit Config” button to open the configuration file and add the following configuration:
Note: This action creates a new configuration file if one doesn’t exist, or opens your existing configuration. The file is located at:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"rsk-mcp": {
"command": "node",
"args": ["/absolute/path/to/your/project/rsk-mcp-server/build/index.js"],
"env": {}
}
}
}
// The Args field contains the path to the index.js file created by the build.
Note: For install reference on Claude, please follow these instructions Here
Once you have installed this MCP on the Claude client, you will see it once you click on the Search and toolsoption under Web search option (see next image)
Any MCP-compatible client can connect using:
node /path/to/project/rsk-mcp-server/build/index.js
Note: This functionality will be available when the server is deployed to a public endpoint.
{
"mcpServers": {
"rsk-mcp": {
"url": "https://your-server.com/mcp-endpoint",
"headers": {
"Authorization": "Bearer your-api-key"
}
}
}
}
Once this MCP is installed on the client, you will be able to interact with it by prompt, using chat box, for example, a good prompt to start interacting with this MCP is to write a prompt like:
I would like to start interacting with Rootstock
Then it will require you to give permission to use the MCP tool, you click on accept, and then it should answer something like:
Perfect! The Rootstock CLI is now active and ready to help you interact with the Rootstock blockchain. Here are the available options:
Available Rootstock Operations:
💼 wallet - Manage your wallet (create new, use existing, or import)
💰 balance - Check wallet balances
💸 transfer - Transfer RBTC or ERC20 tokens
🔍 tx - Check transaction status
🚀 deploy - Deploy a smart contract
✅ verify - Verify a contract
📄 contract - Interact with a contract
📊 history - Check transaction history
❓ help - Display help
What would you like to do? If you don't have a wallet yet, I'd recommend starting with option 1 (wallet management) to create or import a wallet first. Then you can proceed with other operations like checking balances, transferring tokens, or deploying contracts.
Which option interests you?
You can continue the flow according to what you need to do.
start-interaction: Entry point tool — start here when a user first asks about Rootstock. Lists all available operations.list-pending-operations: List operations awaiting confirmation (contract deployments, token transfers)confirm-operation: Confirm and execute a pending operation using its operation IDcancel-operation: Cancel and discard a pending operation using its operation IDWhy confirmation is needed: Critical operations like deploy-contract and transfer-tokens require a confirmAction boolean on every call — omitting it fails schema validation. Passing confirmAction: false creates a pending operation (expires after 5 minutes) instead of executing, and nothing happens on-chain until it's confirmed via confirm-operation. Passing confirmAction: true on the first call skips that pending step entirely — the tool descriptions themselves instruct AI agents not to do this until a real person has explicitly approved the action, so treat it as an escape hatch for already-approved automation, not the default flow.
List Pending Operations
{} // no parameters
Confirm an Operation
{
operationId: "op_1700000000000_abc123xyz" // ID returned when the operation was created
}
Cancel an Operation
{
operationId: "op_1700000000000_abc123xyz"
}
start-wallet-interaction: Initialize wallet managementcreate-wallet: Create/import/manage walletsuse-wallet-from-creation: Reuse wallet data from a previous create-wallet result without re-uploading it🆕 Create New Wallet
// Creates a wallet with secure password
{
walletOption: "🆕 Create a new wallet",
walletName: "MyWallet",
walletPassword: "secure_password",
replaceCurrentWallet: false
}
🔑 Import Existing Wallet
// Import using private key
{
walletOption: "🔑 Import existing wallet",
walletName: "ImportedWallet",
privateKey: "0x...",
walletPassword: "secure_password"
}
🔍 List Saved Wallets
// List all available wallets
{
walletOption: "🔍 List saved wallets",
walletData: "my-wallets.json_content"
}
🔁 Switch Active Wallet
// Switch to another wallet
{
walletOption: "🔁 Switch wallet",
newMainWallet: "WalletName"
}
♻️ Reuse Wallet From Previous Creation
// Skips re-uploading wallet data by referencing the create-wallet result
{
testnet: true,
token: "rBTC",
walletCreationResult: "{\"walletsData\":{...}}" // the full JSON string returned by create-wallet, not a parsed object
}
check-balanceSupported Tokens:
Example:
{
testnet: true, // true for testnet, false for mainnet
token: "rBTC",
walletName: "MyWallet" // optional, uses current wallet if not specified
}
For Custom Tokens:
{
testnet: true,
token: "Custom Token",
customTokenAddress: "0x...", // token contract address
walletName: "MyWallet"
}
transfer-tokensTransfers rBTC or ERC20 tokens between wallets. Like deploy-contract, confirmAction is required on every call: pass false to get back a pending operation that must be confirmed via confirm-operation before anything executes; pass true only once a real person has approved the transfer.
Requirements:
Example:
{
testnet: true,
toAddress: "0x...", // recipient address
value: 0.01, // amount to transfer (number)
tokenAddress: "0x...", // optional, omit for native rBTC transfers
walletData: "my-wallets.json_content",
walletPassword: "wallet_password",
confirmAction: false // required on every call; false requires confirm-operation, true executes immediately
}
check-transaction{
testnet: true, // network to check
txid: "0x..." // transaction hash (with or without 0x prefix)
}
Returned Information:
check-transaction-historyQueries a wallet's transaction history using the Alchemy API.
Requirements:
Example:
{
testnet: true,
apiKey: "your-alchemy-api-key", // optional, uses a stored key if omitted
number: "10", // number of transactions to retrieve (string)
walletData: "my-wallets.json_content"
}
deploy-contractRequirements:
Example:
{
testnet: true,
abiContent: `[{"inputs":[],"name":"myFunction"...}]`, // complete ABI
bytecodeContent: "0x608060405234801561001057600080fd5b50...", // bytecode
constructorArgs: ["arg1", "arg2"], // constructor arguments
walletData: "my-wallets.json_content",
walletPassword: "wallet_password"
}
verify-contractRequirements:
Example:
{
testnet: true,
contractAddress: "0x...", // contract address
contractName: "MyContract", // exact name in source code
jsonContent: `{"language":"Solidity","sources":{...}}`, // compilation metadata
constructorArgs: ["arg1", "arg2"] // arguments used in deployment
}
read-contractTo List Available Functions:
{
testnet: true,
contractAddress: "0x..." // must be a verified contract
}
To Call a Function:
{
testnet: true,
contractAddress: "0x...",
functionName: "balanceOf", // view/pure function name
functionArgs: ["0x..."] // function arguments
}
https://public-node.rsk.cohttps://explorer.rootstock.iohttps://public-node.testnet.rsk.cohttps://explorer.testnet.rootstock.ioissue-attestation: Create new attestations with a raw schema and encoded dataverify-attestation: Verify existing attestations by UIDrevoke-attestation: Revoke attestationslist-attestations: Query attestations by event logs (requires custom RPC URL)create-schema: Register new attestation schemasattest-deployment: Create a deployment attestation using the RAS default schemaattest-verification: Create a contract verification attestation using the RAS default schemaattest-transfer: Create a transfer attestation using the RAS default schema🎯 Issue Attestation
{
testnet: true,
recipient: "0x...", // recipient address
schema: "0x...", // schema UID
data: "encoded_data", // schema-encoded data
expirationTime: 0, // optional timestamp
revocable: true // optional
}
🔍 Verify Attestation
{
testnet: true,
uid: "0x..." // attestation UID
}
❌ Revoke Attestation
{
testnet: true,
uid: "0x...", // attestation UID
walletData: {}, // wallet configuration
walletPassword: "password"
}
📋 List Attestations
Note: RSK public nodes do not support
eth_getLogs. A customrpcUrlfrom a provider such as Alchemy or GetBlock is required.
{
testnet: true,
rpcUrl: "https://rsk-mainnet.g.alchemy.com/v2/YOUR_KEY", // required
recipient: "0x...", // optional filter
attester: "0x...", // optional filter
schema: "0x...", // optional filter
limit: 10 // optional, default 10
}
🏗️ Create Schema
{
testnet: true,
schema: "uint256 tokenId, string name", // schema definition
revocable: true,
resolverAddress: "0x...", // optional, defaults to zero address
walletData: {}, // wallet configuration
walletPassword: "password"
}
🏗️ Attest Deployment
Creates a deployment attestation using the RAS default deployment schema. Uses DEFAULT_SCHEMA_UIDS.testnet.deployment when no schemaUID is provided.
{
testnet: true,
contractAddress: "0x...",
contractName: "MyContract",
deployer: "0x...",
blockNumber: 1000000,
transactionHash: "0x...",
timestamp: 1700000000,
abiHash: "0x...", // optional
bytecodeHash: "0x...", // optional
schemaUID: "0x...", // optional, uses default RAS schema
recipient: "0x...", // optional
walletData: {}, // wallet configuration
walletPassword: "password"
}
✅ Attest Verification
Creates a contract verification attestation using the RAS default verification schema.
{
testnet: true,
contractAddress: "0x...",
contractName: "MyContract",
verifier: "0x...",
sourceCodeHash: "0x...",
compilationTarget: "contracts/MyContract.sol:MyContract",
compilerVersion: "v0.8.17+commit.8df45f5f",
optimizationUsed: true,
timestamp: 1700000000,
verificationTool: "hardhat",
schemaUID: "0x...", // optional, uses default RAS schema
recipient: "0x...", // optional
walletData: {}, // wallet configuration
walletPassword: "password"
}
💸 Attest Transfer
Creates a transfer attestation using the RAS default transfer schema.
{
testnet: true,
sender: "0x...",
recipient: "0x...",
amount: "0.001",
tokenSymbol: "RBTC", // optional, defaults to RBTC
tokenAddress: "0x...", // optional, for ERC20
transactionHash: "0x...",
blockNumber: 1000000,
timestamp: 1700000000,
transferType: "native", // e.g. "native" or "erc20"
reason: "payment", // optional
schemaUID: "0x...", // optional, uses default RAS schema
walletData: {}, // wallet configuration
walletPassword: "password"
}
rsk-mcp-server/
├── src/
│ ├── handlers/
│ │ └── responsesHandler.ts # MCP response handling
│ ├── services/
│ │ ├── AttestationService.ts # Attestation operations
│ │ ├── ContractDeploymentService.ts # Contract deployment
│ │ ├── ContractReadService.ts # Contract reading
│ │ ├── ContractVerificationService.ts # Contract verification
│ │ ├── HistoryService.ts # Transaction history
│ │ ├── TransferService.ts # Token transfers
│ │ └── WalletService.ts # Wallet management
│ ├── tools/
│ │ ├── constants.ts # Constants and options
│ │ ├── handlers.ts # Auxiliary handlers
│ │ ├── schemas.ts # Zod validation schemas
│ │ └── types.ts # TypeScript types
│ ├── utils/
│ │ └── responses.ts # Response utilities
│ ├── server-config.ts # MCP server configuration
│ ├── index.ts # Main entry point
│ └── rsk-cli.d.ts # Ambient type declarations for rsk-cli
├── scripts/
│ └── test-attestations.mjs # Attestation integration tests
├── build/ # Compiled code (generated)
├── package.json # Project configuration
├── tsconfig.json # TypeScript configuration
└── README.md # This documentation
my-wallets.jsonnpm install
npm run build
my-wallets.json formatpassword.json (in case you managed the password in a file)We welcome contributions from the community. Please fork the repository and submit pull requests with your changes. Ensure your code adheres to the project's main objective.
For any questions or support, please open an issue on the repository or reach out to the maintainers.
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.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Rootstock MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/rsk-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.