ping
GitHub轻量级就绪探针,用于 CLI 健康检查、MCP 传输连通性验证及往返延迟测量。输入可选消息并原样返回,无外部 I/O,适合作为调用重型工具前的存活检测。
触发场景
安装
npx skills add IvanMurzak/Unity-MCP --skill ping -g -y
SKILL.md
Frontmatter
{
"name": "ping",
"description": "Lightweight readiness probe. Returns the input `message` echoed back, or `'pong'` when omitted. Useful for CLI health checks and SignalR connectivity smoke tests."
}
Ping
Lightweight readiness probe. Returns the input message or 'pong' if omitted.
Inputs
message(optional) — when present, echoed back verbatim.
Behavior
No I/O, no Unity API calls — pure echo. Ideal for measuring round-trip latency or confirming the MCP transport is alive before invoking a heavier tool.
How to Call
unity-mcp-cli run-system-tool ping --input '{
"message": "string_value"
}'
For complex input (multi-line strings, code), save the JSON to a file and use:
unity-mcp-cli run-system-tool ping --input-file args.jsonOr pipe via stdin (recommended):
unity-mcp-cli run-system-tool ping --input-file - <<'EOF' {"param": "value"} EOF
Troubleshooting
If unity-mcp-cli is not found, either install it globally (npm install -g unity-mcp-cli) or use npx unity-mcp-cli instead.
Read the /unity-initial-setup skill for detailed installation instructions.
Input
| Name | Type | Required | Description |
|---|---|---|---|
message |
string |
No | Optional message to echo back. |
Input JSON Schema
{
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
}
Output
Output JSON Schema
{
"type": "object",
"properties": {
"result": {
"type": "string"
}
},
"required": [
"result"
]
}
版本历史
- 0.86.1 当前 2026-07-25 08:51


