openrpc
A Model Context Protocol (MCP) server that provides JSON-RPC functionality through OpenRPC.
claude mcp add --transport stdio shanejonas-openrpc-mcp-server npx -y openrpc-mcp-server
How to use
This MCP server exposes JSON-RPC functionality via OpenRPC. It provides two built-in tools: rpc_call, which lets you invoke arbitrary JSON-RPC methods against a target server by specifying the URL, method name, and parameters; and rpc_discover, which uses OpenRPC's rpc.discover to list all available methods on a given server. Together, these tools enable you to programmatically discover and call methods defined by an OpenRPC specification, with results returned in JSON format. Use rpc_discover to understand the available API surface, then use rpc_call to perform specific method invocations and receive structured results suitable for downstream automation or integration workflows.
How to install
Prerequisites:
- Node.js and npm installed on your system
- Access to install npm packages (the server runs via npx using the published package)
Installation steps:
- Install dependencies and build the server (from the repository root):
npm install
- Build the server (produces production-ready artifacts as defined by the project):
npm run build
- (Optional for development) Enable auto-rebuild during development:
npm run watch
Usage with Claude Desktop (example config shown in the repository):
- Update Claude Desktop configuration to include this MCP server, e.g.:
{
"mcpServers": {
"openrpc": {
"command": "npx",
"args": ["-y", "openrpc-mcp-server"]
}
}
}
Note: The server communicates over standard input/output (stdio), so it can be integrated with various host environments that support MCP.
Additional notes
Helpful notes:
- The MCP server communicates over stdio, which can complicate debugging. Use the MCP Inspector tool for debugging and a browser-based interface when provided:
npm run inspector. - The repository shows an example Claude Desktop configuration; if you are integrating with Claude, place the config at the standard Claude config path for macOS or Windows as documented in the README.
- The available tools are rpc_call and rpc_discover. Prepare your OpenRPC-compatible target URL for discovery, then craft JSON-RPC requests to perform method calls.
- No additional environment variables are strictly required for the basic operation, but you may need to configure proxies or authentication credentials depending on your target RPC server.
Related MCP Servers
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.