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.
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.
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.Install dependencies using npm install
. Build the server with npm run build
. For development with automatic rebuilding upon changes, use npm run watch
.
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 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.
shanejonas/openrpc-mpc-server
December 3, 2024
March 23, 2025
JavaScript