add MCP ping.

This commit is contained in:
Syoyo Fujita
2025-07-13 12:05:22 +09:00
parent 1af4424719
commit d4f63306d4
3 changed files with 19 additions and 3 deletions

View File

@@ -0,0 +1,8 @@
curl -X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "ping",
"id": 123
}' \
http://localhost:8085/mcp

View File

@@ -4,10 +4,9 @@ curl -X POST \
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "tusdcat",
"name": "get_version",
"arguments": {
"text": "#usda 1.0\n def \"bora\" { }"
},
}
},
"id": 2
}' \