ping
Check if the Omnisend MCP Server is running correctly to verify connectivity before performing marketing platform operations.
Instructions
Simple tool to check if the MCP server is running correctly.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/shared/ping.ts:10-14 (handler)The handler function for the "ping" tool. It returns a structured response confirming the MCP server is operational and includes the server version.async () => { return { content: [{ type: "text", text: `Omnisend MCP server is working correctly. Server version: ${SERVER_VERSION}` }] }; }
- src/tools/shared/ping.ts:6-15 (registration)Registers the "ping" tool on the McpServer instance, including name, description, empty input schema, and the handler function.server.tool( "ping", "Simple tool to check if the MCP server is running correctly.", {}, async () => { return { content: [{ type: "text", text: `Omnisend MCP server is working correctly. Server version: ${SERVER_VERSION}` }] }; } );
- src/index.ts:30-30 (registration)Invokes registerPingTool to add the "ping" tool to the main MCP server.registerPingTool(server);
- src/tools/index.ts:2-2 (helper)Re-exports the registerPingTool function from ping.ts for use in other modules.export { registerPingTool } from './shared/ping.js';