ping
Test connectivity to the Coolify MCP Server by sending a simple request and receiving a response, ensuring the server is operational and accessible.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| random_string | No | Dummy parameter for no-parameter tools |
Implementation Reference
- src/mcp-server.ts:369-380 (registration)Registers the 'ping' MCP tool with an inline Zod input schema (optional random_string parameter) and an inline async handler function that returns a text content confirming the Coolify MCP server is running and connected.server.tool( 'ping', { random_string: z.string().optional().describe("Dummy parameter for no-parameter tools") }, async () => ({ content: [{ type: 'text', text: 'Coolify MCP server is running and connected!' }] }) );
- src/mcp-server.ts:374-379 (handler)The handler function for the 'ping' tool, which simply returns a structured content message indicating the server is operational.async () => ({ content: [{ type: 'text', text: 'Coolify MCP server is running and connected!' }] })
- src/mcp-server.ts:371-373 (schema)Input schema for the 'ping' tool using Zod, defining an optional 'random_string' parameter as a dummy for no-parameter tools.{ random_string: z.string().optional().describe("Dummy parameter for no-parameter tools") },