MCP.so
Sign In

MCP Time Server in TypeScript

@kitemcp

About MCP Time Server in TypeScript

No overview available yet

Basic information

Category

Productivity

Runtime

node

Transports

stdio

Publisher

kitemcp

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "kite-mcp-server-time": {
      "command": "node",
      "args": [
        "dist/index.js",
        "--transport=http"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP Time Server in TypeScript?

A TypeScript implementation of an MCP (Model Context Protocol) server that provides time-related tools. It supports getting the current time in a specified timezone and converting times between different timezones, and is designed for developers building AI assistants that need timezone-aware operations.

How to use MCP Time Server in TypeScript?

Install dependencies with npm install, then build and start the server. Run with stdio transport using npm start or with HTTP transport using node dist/index.js --transport=http. Use an MCP client to invoke the provided tools.

Key features of MCP Time Server in TypeScript

  • Get current time in a specified IANA timezone
  • Convert time between different timezones with time difference calculation
  • Supports both stdio and HTTP transport options
  • Docker support for containerized deployment
  • Modular architecture separates server creation and transport binding

Use cases of MCP Time Server in TypeScript

  • Integrating timezone-aware time lookup into AI assistant conversations
  • Converting event times between timezones for scheduling and planning
  • Verifying whether a timezone is currently observing daylight saving time

FAQ from MCP Time Server in TypeScript

What tools does the server provide?

Two tools: get_current_time (returns current datetime in a given IANA timezone) and convert_time (converts a time between source and target IANA timezones and reports the time difference).

What transport options are available?

The server supports stdio transport (default, for local MCP client integration) and HTTP transport (exposes a POST /mcp endpoint and a GET /status health check on port 3000 by default).

What are the runtime requirements and dependencies?

Node.js 18+ is required. The server uses Express for HTTP transport, Luxon for timezone handling, Zod for schema validation, and the MCP TypeScript SDK.

How can I deploy the server with Docker?

Build the Docker image with docker build -t mcp-time-server ., then run with stdio or HTTP transport using the provided Docker commands or Docker Compose configuration.

What endpoints are available when using HTTP transport?

A POST /mcp endpoint for MCP protocol messages and a GET /status endpoint returning server status information.

Comments

More Productivity MCP servers