# Rootstock (RSK) MCP Server

> Rootstock (RSK) MCP Server is an open-source MCP server for developer tools. MCP server giving AI clients wallet, token, contract and attestation tools for Rootstock. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, self-hosted
- **Repository:** https://github.com/rsksmart/rsk-mcp-server
- **MCP Registry name:** io.github.rsksmart/rsk-mcp-server
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [crypto and web3](https://ai-powered.com/categories/crypto-and-web3)
- **Listing updated:** 2026-11-18

## About

The README says this server connects AI clients to the Rootstock (RSK) blockchain through the Model Context Protocol. Once connected, a client can check rBTC and ERC20 balances, send transfers, look up transaction status, deploy and verify contracts, and read data from verified contracts on Rootstock mainnet or testnet.

Transfers and contract deployments are gated by a confirmation step. Calls create a pending operation that only executes after it is confirmed through a separate tool, and the README advises against skipping that step without explicit human approval. Wallet private keys are described as encrypted with AES-256 and stored locally.

The server suits developers and blockchain builders who want an assistant to handle Rootstock operations and RAS (Rootstock Attestation Service) attestations from a chat interface. The README includes a disclaimer that the software is provided as is and has not undergone testing, so it is better suited to experimentation on testnet than to production funds.

## Features

- **Balance and transfer tools:** Checks rBTC and several ERC20 token balances and sends rBTC or tokens between wallets.
- **Confirmation before execution:** Deployments and transfers create pending operations that must be confirmed before anything reaches the chain.
- **Contract deployment and verification:** Deploys contracts from ABI and bytecode and verifies source code for deployed contracts.
- **Read verified contracts:** Lists functions of verified contracts and calls view or pure functions with arguments.
- **Attestation management:** Issues, verifies and revokes RAS attestations and registers attestation schemas.
- **Transaction history lookup:** Retrieves a wallet's recent transactions through the Alchemy API.

## Good for

- Checking rBTC and token balances from a chat assistant
- Sending test transfers on Rootstock testnet with human approval
- Deploying and verifying a smart contract during development
- Issuing attestations for contract deployments or token transfers
- Reviewing a wallet's recent transaction history

## Install

### Claude Code (Terminal)

```sh
claude mcp add rsk-mcp-server -- npx -y @rsksmart/rsk-mcp-server
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "rsk-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@rsksmart/rsk-mcp-server"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "rsk-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@rsksmart/rsk-mcp-server"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "rsk-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@rsksmart/rsk-mcp-server"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "rsk-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@rsksmart/rsk-mcp-server"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "rsk-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@rsksmart/rsk-mcp-server"
      ]
    }
  }
}
```

## Tools

- `start-interaction`: Start interacting with the Rootstock CLI functions
- `list-pending-operations`: List pending operations awaiting confirmation (deploys, transfers)
- `confirm-operation`: Confirm and execute a pending operation by ID
- `cancel-operation`: Cancel a pending operation by ID
- `start-wallet-interaction`: Show available wallet management operations
- `create-wallet`: Create, import, list, switch, or delete wallets
- `use-wallet-from-creation`: Reuse wallet data from a previous create-wallet result
- `check-balance`: Check rBTC or ERC20 token balances
- `transfer-tokens`: Transfer rBTC or ERC20 tokens between wallets
- `check-transaction`: Check a transaction's status and details by hash
- `check-transaction-history`: Query a wallet's transaction history via the Alchemy API
- `deploy-contract`: Deploy a smart contract using ABI and bytecode
- `verify-contract`: Verify a deployed contract's source code
- `read-contract`: Call view/pure functions on a verified contract
- `issue-attestation`: Issue a new attestation via RAS
- `verify-attestation`: Verify an existing attestation by UID
- `revoke-attestation`: Revoke an existing attestation by UID
- `list-attestations`: Query attestations by event logs (requires a custom RPC URL)
- `create-schema`: Register a new attestation schema
- `attest-deployment`: Attest a contract deployment using the RAS default schema
- `attest-verification`: Attest a contract verification using the RAS default schema
- `attest-transfer`: Attest a token transfer using the RAS default schema

## FAQ

### How do I install the server?

The registry lists an npm package, @rsksmart/rsk-mcp-server, run over stdio. The README also describes cloning the repository, running npm install and npm run build, then pointing the client at build/index.js.

### Does it work on testnet?

Yes. Most tools take a testnet flag, and the README lists both mainnet and testnet RPC endpoints with their chain IDs.

### Are transfers executed automatically?

Not by default. Transfers and deployments require a confirmAction field; passing false creates a pending operation that must be confirmed with confirm-operation.

### Why does list-attestations need a custom RPC URL?

The README says RSK public nodes do not support eth_getLogs, so a provider such as Alchemy or GetBlock is required for that tool.

### Is Rootstock (RSK) MCP Server free?

Yes. Rootstock (RSK) MCP Server is open source, so you can use and self-host it for free.

### How do I add Rootstock (RSK) MCP Server to Claude Code?

Run this command in your terminal: claude mcp add rsk-mcp-server -- npx -y @rsksmart/rsk-mcp-server

### What are the best alternatives to Rootstock (RSK) MCP Server?

The closest alternatives to Rootstock (RSK) MCP Server are Solana Rent & Rug Shield MCP Gateway, NullClear Arbiter, Rokha, Rushr and Solana Rpc.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Solana Rent & Rug Shield MCP Gateway](https://ai-powered.com/mcp/solana-rent-and-rug-shield-mcp-gateway-2): Solana Rent & Rug Shield MCP Gateway is a freemium MCP server for security.
- [NullClear Arbiter](https://ai-powered.com/mcp/nullclear-arbiter-2): NullClear Arbiter is a freemium MCP server for crypto and web3.
- [Rokha](https://ai-powered.com/mcp/rokha): Rokha is a freemium MCP server for ai models and llm tooling.
- [Rushr](https://ai-powered.com/mcp/rushr): Rushr is an open-source MCP server for crypto and web3.
- [Solana Rpc](https://ai-powered.com/mcp/solana-rpc): Solana Rpc is a freemium MCP server for crypto and web3.
- [Arcstone Multi-Domain MCP Bridge](https://ai-powered.com/mcp/arcstone-multi-domain-mcp-bridge): Arcstone Multi-Domain MCP Bridge is an open-source MCP server for developer tools.
- [OKX MCP Server](https://ai-powered.com/mcp/okx-mcp-server): OKX MCP Server is an open-source MCP server for crypto and web3.
- [Rundeck](https://ai-powered.com/mcp/rundeck): Rundeck is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/rootstock-rsk-mcp-server
