drio
Open app

mcptime

Source

SImple MCP server to return the current time

Catalog onlyCatalog onlySTDIO

Overview

mcptime is a simple Minecraft server that returns the current time when queried.

To use mcptime, set up the server and send a request to it to get the current time.

  • Simple setup for a Minecraft time server - Returns current time in a user-friendly format - Lightweight and easy to integrate with other applications
  1. Integrating time display in Minecraft mods.
  2. Providing time information for Minecraft server events.
  3. Synchronizing in-game activities based on real-world time.

Add to your AI client

Use these steps to connect mcptime in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcptime-troyharris": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcptime-troyharris"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcptime-troyharris": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcptime-troyharris"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcptime-troyharris": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcptime-troyharris"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcptime-troyharris": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcptime-troyharris"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcptime-troyharris": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcptime-troyharris"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcptime-troyharris": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcptime-troyharris"
      ]
    }
  }
}

FAQ

What programming language is mcptime written in?

mcptime is written in Python.

Is mcptime free to use?

Yes! mcptime is open-source and free to use.

How can I contribute to mcptime?

You can contribute by submitting issues or pull requests on the GitHub repository.

mcptime — MCP Registry