health_check
Verify server functionality and resource accessibility on the OSP Marketing Tools MCP Server to ensure smooth operation of marketing tools.
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 (handler)Inline handler function for the health_check tool, which returns a static response confirming the server is healthy, listing accessible resources, and providing the 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:7-20 (registration)Registration of the health_check tool using server.tool(), including name, description, and inline handler.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" }) }] }) );