We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/plutzilla/omnisend-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
ping.ts•518 B
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import { SERVER_VERSION } from '../../index.js';
export const registerPingTool = (server: McpServer) => {
// Add a simple ping tool to check if the server is working
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}` }]
};
}
);
};