Create the server
The official TypeScript kit provides a class named McpServer.
const server = new McpServer({
name: "clock",
version: "1.0.0",
});
The name identifies this server. The version helps clients and developers tell one release from another.
Nothing is connected yet. The program has only created the server object.