mirror of
https://github.com/lighttransport/tinyusdz.git
synced 2026-01-18 01:11:17 +01:00
add MCP ping.
This commit is contained in:
8
examples/mcp_server/test-ping.sh
Normal file
8
examples/mcp_server/test-ping.sh
Normal 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
|
||||
@@ -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
|
||||
}' \
|
||||
|
||||
Reference in New Issue
Block a user