MCP.so
登录

Chronos MCP Server

@aadversteeg

关于 Chronos MCP Server

Simple .NET Core based mcp server for retrieving the current time.

基本信息

分类

其他

许可证

MIT

运行时

c#

传输方式

stdio

发布者

aadversteeg

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "chronos-mcp-server": {
      "command": "docker",
      "args": [
        "pull",
        "aadversteeg/chronos-mcp-server:latest"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Chronos MCP Server?

Chronos MCP Server is a time-related server implementing the Model Context Protocol (MCP), providing timezone-aware date and time information. Built with .NET Core using the MCP C# SDK, it is designed for developers who need timezone-aware date/time data in MCP-compatible clients.

How to use Chronos MCP Server?

Install as a .NET global tool (dotnet tool install --global Ave.McpServer.Chronos) and run ave-mcpserver-chronos, or use Docker (docker pull aadversteeg/chronos-mcp-server:latest). Optional default timezone configuration is set via appsettings.json or the DefaultTimeZoneId environment variable. Invoke the get_current_date_and_time tool with an optional timezoneId parameter, or get_default_timezone_id to retrieve the configured default.

Key features of Chronos MCP Server

  • Get current date and time in any supported timezone
  • Optional default timezone via configuration or environment variable
  • Proper error handling for invalid timezone requests
  • Functional error handling using the Result pattern
  • Available as .NET tool, Docker image, or from source
  • Provides two tools: get_current_date_and_time and get_default_timezone_id

Use cases of Chronos MCP Server

  • Retrieve current date and time in a specific timezone for an application
  • Check the configured default timezone of the server
  • Deploy as a lightweight containerized time service
  • Use as a demonstration of building a custom MCP server with .NET

FAQ from Chronos MCP Server

What tools does Chronos MCP Server provide?

It provides get_current_date_and_time (returns date, time, and timezone) and get_default_timezone_id (returns the configured default timezone or an error if not set).

How do I configure a default timezone?

Set DefaultTimeZoneId in the appsettings.json file or via the DefaultTimeZoneId environment variable (e.g., -e "DefaultTimeZoneId=Europe/Amsterdam" for Docker).

What runtime dependencies are required?

For .NET tool installation you need .NET 10 SDK; for Docker deployment you need Docker only.

Can I use the server without a default timezone?

Yes. If no default timezone is configured, the timezoneId parameter is required for each call to get_current_date_and_time.

Where is the Docker image hosted?

The Docker image is available on DockerHub at aadversteeg/chronos-mcp-server with latest and versioned tags.

评论

其他 分类下的更多 MCP 服务器