openrpc-mpc-server

This repository provides an OpenRPC MCP server, enabling JSON-RPC functionality. It includes tools for calling methods, discovering available methods, and debugging with the MCP Inspector, facilitating integration with Claude Desktop.

36
6

OpenRPC MCP Server

This repository hosts an OpenRPC-compliant Model Context Protocol (MCP) server, enabling JSON-RPC communication. It leverages the OpenRPC standard to provide a structured interface for interacting with models.

Features

Tools

  • rpc_call: Executes arbitrary JSON-RPC methods. Users specify the server URL, method name, and parameters, receiving results in JSON format.
  • rpc_discover: Discovers available JSON-RPC methods on a server using the OpenRPC rpc.discover specification, listing all accessible methods.

Development

Install dependencies using npm install. Build the server with npm run build. For development with automatic rebuilding upon changes, use npm run watch.

Installation

To integrate with Claude Desktop, add the server configuration to the claude_desktop_config.json file located in the specified directory for MacOS or Windows. The configuration defines the "openrpc" server, specifying the command npx with the argument openrpc-mcp-server.

Debugging

Debugging MCP servers over stdio can be complex. The MCP Inspector is recommended. Run npm run inspector to launch the Inspector and access debugging tools via a browser URL.

Repository

SH
shanejonas

shanejonas/openrpc-mpc-server

Created

December 3, 2024

Updated

March 23, 2025

Language

JavaScript

Category

Developer Tools