Skip to main content
Glama
shanejonas

openrpc-mpc-server

by shanejonas

OpenRPC MCP 서버

OpenRPC를 통해 JSON-RPC 기능을 제공하는 MCP(Model Context Protocol) 서버입니다.

https://github.com/user-attachments/assets/3447175a-f921-4ded-8250-b611edb2fb67

특징

도구

  • rpc_call - 임의의 JSON-RPC 메서드 호출

    • 서버 URL, 메서드 이름 및 매개변수를 지정하세요

    • JSON 형식의 결과를 반환합니다.

  • rpc_discover - 사용 가능한 JSON-RPC 메서드 검색

    • OpenRPC의 rpc.discover 사양을 사용합니다.

    • 지정된 서버의 모든 메서드를 나열합니다.

Related MCP server: MCP REST API Server

개발

종속성 설치:

지엑스피1

서버를 빌드하세요:

npm run build

자동 재빌드를 사용한 개발의 경우:

npm run watch

설치

Claude Desktop과 함께 사용하려면 서버 구성을 추가하세요.

MacOS의 경우: ~/Library/Application Support/Claude/claude_desktop_config.json Windows의 경우: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "openrpc": {
      "command": "npx",
      "args": ["-y", "openrpc-mcp-server"]
    }
  }
}

디버깅

MCP 서버는 stdio를 통해 통신하므로 디버깅이 어려울 수 있습니다. MCP Inspector 사용을 권장합니다.

npm run inspector

검사기는 브라우저에서 디버깅 도구에 액세스할 수 있는 URL을 제공합니다.

Available Tools

2 tools
rpc_callC

Call any JSON-RPC method on a server with parameters. A user would prompt: Call method on with params

ParametersJSON Schema
NameRequiredDescriptionDefault
serverYesServer URL
methodYesJSON-RPC method name to call
paramsNoStringified Parameters to pass to the method

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool performs a JSON-RPC call but lacks details on error handling, authentication needs, rate limits, or what the response might look like. The example prompt format adds minimal context but doesn't cover key behavioral traits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately concise with two sentences: one stating the purpose and one providing an example prompt. The structure is front-loaded with the core functionality, though the example could be slightly more informative.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool that performs potentially complex remote procedure calls with no annotations and no output schema, the description is insufficient. It lacks details on error cases, response formats, authentication, or how to handle the stringified parameters, leaving significant gaps in understanding the tool's behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all three parameters. The description adds minimal value by mentioning parameters in the example prompt but doesn't provide additional semantics beyond what the schema provides, such as format expectations or usage examples for the 'params' string.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Call any JSON-RPC method on a server with parameters.' It specifies the verb ('Call'), resource ('JSON-RPC method'), and scope ('on a server'), though it doesn't explicitly differentiate from the sibling tool 'rpc_discover' beyond the example prompt format.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'rpc_discover'. It only gives an example user prompt format without explaining the context, prerequisites, or exclusions for using this tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

rpc_discoverB

This uses JSON-RPC to call rpc.discover which is part of the OpenRPC Specification for discovery for JSON-RPC servers. A user would prompt: What JSON-RPC methods does this server have?

ParametersJSON Schema
NameRequiredDescriptionDefault
serverYesServer URL

TDQS

B3.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. While it mentions this is for discovery and references the OpenRPC Specification, it doesn't describe what the tool actually returns (method list, schema, etc.), error conditions, authentication requirements, or rate limits. The example prompt helps but doesn't fully explain behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized with two sentences. The first sentence states the technical implementation, and the second provides a helpful usage example. Both sentences earn their place, though the structure could be slightly more front-loaded with the core purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no annotations and no output schema, the description should do more to explain what the tool returns. While it mentions discovery, it doesn't describe the response format, whether it returns method names, schemas, or other metadata. The example prompt helps but doesn't fully address output expectations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents the single 'server' parameter as a URL. The description adds marginal value by implying this parameter should be a JSON-RPC server URL in the example, but doesn't provide additional format requirements or constraints beyond what's in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool uses JSON-RPC to call `rpc.discover` for server method discovery, which is a specific verb+resource combination. However, it doesn't explicitly distinguish this from its sibling tool `rpc_call`, which would handle actual RPC method calls rather than discovery.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context with the example prompt 'What JSON-RPC methods does this server have? <server url>', indicating when to use this tool. It doesn't explicitly state when NOT to use it or mention the alternative `rpc_call` tool, but the context strongly implies this is for discovery rather than execution.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 2 tool updatesv1.0.0
    • Addedrpc_call
    • Addedrpc_discover

TDQS

B3.3/5.0

Scored across 2 tools

Disambiguation5/5

The two tools have clearly distinct purposes: rpc_call is for executing arbitrary JSON-RPC methods, while rpc_discover is specifically for server discovery to list available methods. There is no overlap in functionality, making them easy to distinguish.

Naming Consistency5/5

Both tools follow a consistent 'rpc_' prefix pattern with descriptive suffixes (call, discover), using snake_case throughout. This provides a predictable and readable naming convention across the tool set.

Tool Count3/5

With only 2 tools, the server feels minimal but appropriate for its narrow scope of JSON-RPC interaction. However, it lacks tools for common operations like server health checks or parameter validation, which could enhance usability in this domain.

Completeness3/5

The tools cover the core actions of calling methods and discovering server capabilities, which aligns with the OpenRPC domain. However, there are notable gaps such as error handling tools, batch request support, or schema validation that would provide more comprehensive coverage for JSON-RPC workflows.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers