Connect to JSON-RPC Services via OpenRPC
Call and discover any JSON-RPC method on a remote server via OpenRPC's rpc.discover specification.
Maintainer of this project? Claim this page to edit the listing.
1.0.0Add to Favorites
Why it matters
Integrate with remote JSON-RPC services by dynamically calling and discovering their methods. This asset acts as a bridge, allowing you to interact with various services through a standardized OpenRPC interface.
Outcomes
What it gets done
Call arbitrary JSON-RPC methods on remote servers.
Discover available JSON-RPC methods using the OpenRPC specification.
Configure connections to MCP servers for seamless integration.
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/vb-openrpc | bash Capabilities
Tools your agent gets
Call arbitrary JSON-RPC methods by specifying server URL, method name, and parameters.
Discover available JSON-RPC methods using OpenRPC rpc.discover specification.
Overview
OpenRPC MCP Server
OpenRPC MCP Server lets Claude call arbitrary JSON-RPC methods on any server and discover available methods via OpenRPC's rpc.discover specification. Use it when working with a JSON-RPC API. Not applicable for REST or GraphQL APIs - it's scoped to the JSON-RPC protocol.
What it does
OpenRPC MCP Server gives an AI assistant the ability to call arbitrary JSON-RPC methods on any server and discover what methods a server exposes, using the OpenRPC specification's rpc.discover convention.
When to use - and when NOT to
Use it when you're working with a JSON-RPC API and want Claude to call specific methods with parameters, or to first discover what methods and parameters a given JSON-RPC server supports before calling them. Do not use it for REST or GraphQL APIs - this server is scoped specifically to the JSON-RPC protocol and OpenRPC-compatible discovery.
Capabilities
rpc_call: call an arbitrary JSON-RPC method by specifying the server URL, method name, and parameters, returning JSON-formatted results.rpc_discover: discover all available JSON-RPC methods on a given server using OpenRPC'srpc.discoverspecification.
How to install
Add to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"openrpc": {
"command": "npx",
"args": ["-y", "openrpc-mcp-server"]
}
}
}
For local development, clone the repo and run npm install then npm run build (or npm run watch for auto-rebuild). Debug with the MCP Inspector via npm run inspector, which provides a browser-based debugging URL.
Who it's for
Developers working with JSON-RPC APIs who want Claude to discover and call available methods conversationally instead of manually crafting JSON-RPC requests.
Source README
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.discoverspecification - Lists all methods on a given server
- Uses OpenRPC's
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.
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.