-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenrpc-mpc-server.json
57 lines (57 loc) · 1.65 KB
/
openrpc-mpc-server.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"server_info": {
"name": "openrpc",
"description": "An OpenRPC server that provides JSON-RPC functionality, including capabilities for tools and prompts to interact with JSON-RPC servers.",
"repo_url": "https://github.com/shanejonas/openrpc-mpc-server",
"server_type": "Community Servers",
"server_category": [
"Development"
],
"server_version": "0.1.0"
},
"tools": [
{
"name": "rpc_call",
"description": "Call any JSON-RPC method on a server with parameters. A user would prompt: Call method <method> on <server url> with params <params>",
"input_schema": {
"type": "object",
"properties": {
"server": {
"type": "string",
"description": "Server URL"
},
"method": {
"type": "string",
"description": "JSON-RPC method name to call"
},
"params": {
"type": "string",
"description": "Stringified Parameters to pass to the method"
}
},
"required": [
"server",
"method"
]
}
},
{
"name": "rpc_discover",
"description": "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? <server url>",
"input_schema": {
"type": "object",
"properties": {
"server": {
"type": "string",
"description": "Server URL"
}
},
"required": [
"server"
]
}
}
],
"resources": {},
"prompts": {}
}