-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjustfile
20 lines (14 loc) · 963 Bytes
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Remove or modify the shell line since Macs use bash/zsh by default
# set shell := ["pwsh","-NoProfile","-NoLogo","-Command"]
ping:
echo '{ "jsonrpc": "2.0", "id": 1, "method": "ping" }' | ./target/debug/rs_filesystem --mcp
prompts-list:
echo '{ "jsonrpc": "2.0", "id": 1, "method": "prompts/list" }' | ./target/debug/rs_filesystem --mcp
prompt-get:
echo '{ "jsonrpc": "2.0", "id": 1, "method": "prompts/get", "params": {"name":"current_time","arguments": {"city": "hangzhou"} } }' | ./target/debug/rs_filesystem --mcp
tools-list:
echo '{ "jsonrpc": "2.0", "id": 1, "method": "tools/list" }' | ./target/debug/rs_filesystem --mcp
resources-list:
echo '{ "jsonrpc": "2.0", "id": 1, "method": "resources/list" }' | ./target/debug/rs_filesystem --mcp
current-time:
echo '{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "get_current_time_in_city", "arguments": {"city":"Hangzhou" } } }' | ./target/debug/rs_filesystem --mcp