MCP ExplorerExplorer

Openrpc Mpc Server

@shanejonason 9 months ago
34 Apache-2.0
FreeCommunity
AI Systems
A Model Context Protocol (MCP) server that provides JSON-RPC functionality through OpenRPC.

Overview

What is Openrpc Mpc Server

openrpc-mpc-server is a Model Context Protocol (MCP) server that enables JSON-RPC functionality using OpenRPC specifications.

Use cases

Use cases for openrpc-mpc-server include enabling communication between applications using JSON-RPC, facilitating remote procedure calls, and integrating with tools that support OpenRPC.

How to use

To use openrpc-mpc-server, install the dependencies using ‘npm install’, build the server with ‘npm run build’, and configure it in the Claude Desktop application by adding the server configuration to the appropriate JSON file. For debugging, utilize the MCP Inspector.

Key features

Key features include ‘rpc_call’ for invoking JSON-RPC methods with specified parameters and ‘rpc_discover’ for listing available JSON-RPC methods on the server.

Where to use

undefined

Content

OpenRPC MCP Server

A Model Context Protocol (MCP) server that provides JSON-RPC functionality through OpenRPC.

https://github.com/user-attachments/assets/3447175a-f921-4ded-8250-b611edb2fb67

Features

Tools

  • rpc_call - Call arbitrary JSON-RPC methods
    • Specify server URL, method name, and parameters
    • Returns JSON-formatted results
  • rpc_discover - Discover available JSON-RPC methods
    • Uses OpenRPC’s rpc.discover specification
    • Lists all methods on a given server

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Installation

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "openrpc": {
      "command": "npx",
      "args": [
        "-y",
        "openrpc-mcp-server"
      ]
    }
  }
}

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers