ping
Verify server connectivity and responsiveness. Sends a test request to ensure the Coolify MCP server is operational and reachable before proceeding with other commands.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| random_string | No | Dummy parameter for no-parameter tools |
Implementation Reference
- src/mcp-server.ts:368-380 (registration)The 'ping' tool is registered inline in the MCP server setup, with a dummy optional 'random_string' parameter and a simple handler that returns a static success message.
// Add a simple test tool to verify the server is working 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 inline handler for the 'ping' tool. It's an anonymous async function that returns a text response confirming the server is running.
async () => ({ content: [{ type: 'text', text: 'Coolify MCP server is running and connected!' }] }) - src/mcp-server.ts:371-373 (schema)The input schema for the 'ping' tool. It defines a single optional 'random_string' parameter (Zod string) used as a dummy placeholder since ping takes no meaningful parameters.
{ random_string: z.string().optional().describe("Dummy parameter for no-parameter tools") },