strale_ping
Check server health status, verify connection, and monitor response time with tool and capability counts.
Instructions
Health check. Returns server status, tool count, capability count, and response time. Verifies the connection is working.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- packages/mcp-server/src/tools.ts:471-488 (handler)The tool handler for 'strale_ping' which performs a health check.
async () => { return { content: [ { type: "text" as const, text: JSON.stringify({ status: "ok", server: "strale-mcp", version: "0.1.4", tools_registered: 8, // UPDATE if tools are added/removed capabilities_available: capabilities.length, solutions_available: solutions.length, timestamp: new Date().toISOString(), }, null, 2), }, ], }; }, - packages/mcp-server/src/tools.ts:464-489 (registration)Registration of the 'strale_ping' tool within the McpServer.
server.registerTool( "strale_ping", { description: "Health check. Returns server status, tool count, capability count, and response time. Verifies the connection is working.", inputSchema: z.object({}), }, async () => { return { content: [ { type: "text" as const, text: JSON.stringify({ status: "ok", server: "strale-mcp", version: "0.1.4", tools_registered: 8, // UPDATE if tools are added/removed capabilities_available: capabilities.length, solutions_available: solutions.length, timestamp: new Date().toISOString(), }, null, 2), }, ], }; }, );