ppsspp_health
Check if the PPSSPP MCP server is running and ready by probing liveness counters without contacting the emulator. Use this read-only health check before session-dependent tools to verify availability and avoid failures.
Instructions
PURPOSE: Probe MCP server liveness and readiness without contacting PPSSPP. Use this before any session-dependent tool to verify the server is up.
USAGE: No parameters.
BEHAVIOR: READ-ONLY. Reads in-memory server counters (uptime, registered tool count, active session count). Does not contact PPSSPP and does not modify any state.
RETURNS: Dict with status ('ok'/'degraded'), version, python_version, pydantic_version, uptime_s, tool_count, session_count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | Server status: 'ok' when all subsystems healthy; 'degraded' when sessions.json is inaccessible/corrupted but server is otherwise functional. | |
| version | Yes | MCP server version. | |
| uptime_s | Yes | Server uptime in seconds. | |
| tool_count | Yes | Number of registered MCP tools. | |
| session_count | Yes | Number of active sessions. | |
| session_error | Yes | When status='degraded', describes the sessions.json issue (e.g. 'FileNotFoundError: ...' or 'JSONDecodeError: ...'). None when sessions.json is healthy. | |
| python_version | Yes | Python interpreter version. | |
| pydantic_version | Yes | Pydantic version. |