
shanejonas/openrpc-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
shanejonas/openrpc-mcp-serverは[https://github.com/shanejonas/openrpc-mcp-server.からインポートされたMCPサーバーの候補です
概要
shanejonas/openrpc-mcp-serverは[https://github.com/shanejonas/openrpc-mcp-server.からインポートされたMCPサーバーの候補です
概要(AI 翻訳)
OpenRPCによるJSON-RPC機能を提供するモデルコンテキストプロトコル(MCP)サーバー。
[https://github.com/user-attachments/assets/3447175a-f921-4ded-8250-b611edb2fb67]
##特徴
ツール
- [
rpc_call- 任意のJSON-RPCメソッドを呼び出す - サーバーURL、メソッド名、パラメータを指定する
- JSON 形式の結果を返す
- [
rpc_discover- 利用可能なJSON-RPCメソッドを発見 - OpenRPCの[
rpc.discoverの指定を使用して下さい - 特定のサーバーにすべてのメソッドをリスト
開発
依存関係をインストール:
サーバの構築:
自動再構築による開発のため:
インストール
Claude Desktop を使用するには、サーバーの設定を追加します。
MacOSの場合: [~/Library/Application Support/Claude/claude_desktop_config.json
Windowsの場合: [%APPDATA%/Claude/claude_desktop_config.json
デバッグ
MCP サーバーが stdio 上で通信しているため、デバッグは難しくなります。 MCPインスペクタを使用することをお勧めします。
インスペクタは、ブラウザでデバッグツールにアクセスするためのURLを提供します.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
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.
インストール
npx -y openrpc-mcp-server設定
{
"mcpServers": {
"openrpc": {
"command": "npx",
"args": ["-y", "openrpc-mcp-server"]
}
}
}