health_check
Verify the OSP Marketing Tools MCP Server's operational status and resource accessibility to ensure marketing workflows proceed without interruption.
Instructions
Check if the server is running and can access its resources
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/index.ts:7-20 (registration)Registration of the 'health_check' tool, including its inline handler function that returns a static JSON response with server health status, available resources, and version.server.tool( "health_check", "Check if the server is running and can access its resources", async (_extra) => ({ content: [{ type: "text", text: JSON.stringify({ status: "healthy", resources: ["osp://marketing-tools"], version: "1.0.0" }) }] }) );
- src/tools/index.ts:10-20 (handler)Inline handler for the health_check tool that executes the tool logic by returning a content block with JSON health status.async (_extra) => ({ content: [{ type: "text", text: JSON.stringify({ status: "healthy", resources: ["osp://marketing-tools"], version: "1.0.0" }) }] }) );