Skip to content

dxeoane/mcp-clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCP Clock

This project is a very simple MCP server implemented in Scala. Its main purpose is to provide basic information about the current date and time.

Key Features

  • MCP server written in Scala
  • Extremely simple example
  • Provides basic functions such as:
    • Get current date and time (local and UTC)
    • Get current Unix timestamp
  • Compatible with applications like Claude Desktop and Cherry Studio

Motivation

The main motivation for this project was to try out this new technology from Scala and to provide a minimal example of an MCP server.

Requirements

  • Java 21 or higher

Building the JAR

To build the JAR file, run:

sbt assembly

Installation

To install and configure the server, use the following configuration:

{
  "mcpServers": {
    "mcp-clock": {
      "command": "java",
      "args": [
        "-jar",
        "{project path}/target/scala-2.13/mcpclock-assembly-1.0.0.jar"
      ]
    }
  }
}

Replace {project path} with the actual path to your project directory.


About

This project is a very simple MCP server implemented in Scala

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages