Official · MODEL CONTEXT PROTOCOL
openrpc-mpc-server
A Model Context Protocol (MCP) server that provides JSON-RPC functionality through OpenRPC.
连接能力
openrpc-mpc-server 为 AI Agent 提供什么
来源目录未提供结构化功能列表,请在使用前阅读源仓库文档。
安全
MCP 收录不等于安全审核
MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。
README
仓库文档
A Model Context Protocol (MCP) server that provides JSON-RPC functionality through OpenRPC.
Screen.Recording.2024-12-02.at.8.59.57.PM.mov
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
Install dependencies:
npm installBuild the server:
npm run buildFor development with auto-rebuild:
npm run watchTo 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"]
}
}
}Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector:
npm run inspectorThe Inspector will provide a URL to access debugging tools in your browser.
社区