Get current UTC time in RFC 3339 format
A minimal .NET-built MCP server exposing one tool, GetCurrentUtcTime, that returns the current UTC time in RFC 3339 format.
1.1.1Add to Favorites
Why it matters
Retrieve the current UTC timestamp in standardized RFC 3339 format for time-sensitive operations, logging, and data synchronization tasks within .NET applications.
Outcomes
What it gets done
Query the current UTC time from the system
Format timestamps in RFC 3339 standard format
Provide time data for .NET/NuGet environments
Enable consistent time references across distributed systems
Source
Get it from source
Spark does not host a copy of it.
Open sourceReports
Agent outcome reports
No reports yet
Overview
time-mcp-nuget MCP server
Time MCP Server is a minimal Model Context Protocol server built with .NET that exposes a single tool, GetCurrentUtcTime, returning the current UTC date and time in RFC 3339 format. It requires .NET 9.0 or later and an MCP-compatible client such as Claude Desktop. Use it when an MCP agent needs a simple, standard-format UTC timestamp and a custom timekeeping tool isn't worth building; it offers no time zone conversion, scheduling, or date arithmetic beyond that single lookup.
What it does
Time MCP Server is a minimal Model Context Protocol server built with .NET. It exposes a single tool, GetCurrentUtcTime, which returns the current UTC date and time formatted as RFC 3339. It requires .NET 9.0 or later and an MCP-compatible client such as Claude Desktop.
When to use - and when NOT to
Use this server when an MCP client needs a simple, dependency-light way to get a timestamp in a standard, machine-parseable format, rather than building a custom timekeeping tool. It is not the right choice if you need time zone conversion, scheduling, or date arithmetic - none of these are capabilities this server provides.
Capabilities
The server has one tool: GetCurrentUtcTime, which returns the current UTC date and time in RFC 3339 format. Run it with:
dotnet run
How to install
Run the server locally with .NET 9.0 or later, then point an MCP-compatible client at it. To use it with Claude Desktop, add an entry to the platform's MCP configuration file - %APPDATA%\Claude\claude_desktop_config.json on Windows or ~/Library/Application Support/Claude/claude_desktop_config.json on macOS - naming dotnet as the command and run --project <path to TimeMcpServer.csproj> as its arguments. New versions are published by tagging a release (for example v1.0.1) and pushing the tag, which triggers CI/CD to publish the NuGet package, register the server with the Model Context Protocol Registry, and create a GitHub release.
Who it's for
Developers who need a lightweight, single-purpose UTC clock tool for an MCP-compatible AI agent, and who are already working in a .NET toolchain or comfortable running one just for this server.
Source README
Time MCP Server
A minimal Model Context Protocol (MCP) server built with .NET.
The server provides one simple tool:
GetCurrentUtcTime- Gets the current UTC date and time in RFC 3339 format
Quick start
Prerequisites:
- .NET 9.0 or later
- Claude Desktop or another MCP-compatible client
Run with:
dotnet run
Configuration
To use this server with Claude Desktop, add the following to your MCP configuration file:
Windows
Add to %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"time-server": {
"command": "dotnet",
"args": [
"run",
"--project",
"C:\\path\\to\\TimeMcpServer.csproj"
]
}
}
}
macOS
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"time-server": {
"command": "dotnet",
"args": [
"run",
"--project",
"/path/to/TimeMcpServer.csproj"
]
}
}
}
Usage
Once configured, you can use the time tool in Claude Desktop:
- "What's the current UTC time?"
- "Give me an RFC 3339 timestamp"
Publishing New Versions
To publish a new version of the package:
Update the version in
TimeMcpServer.csproj, and commit asRelease x.y.zTag the release with a version number prefixed with 'v':
git tag v1.0.1Push the tag to trigger the publishing pipeline:
git push --tags
The CI/CD pipeline will automatically:
- Publish the NuGet package to nuget.org
- Publish the server to the MCP Registry
- Create a GitHub release
CI/CD
The project includes GitHub Actions workflows for:
- Build & Test - Builds and tests on multiple platforms (Windows, macOS, Linux)
- Publish - Automatically publishes to NuGet, MCP Registry, and creates GitHub releases on version tags
MCP Registry
This server is published to the Model Context Protocol Registry. The publishing process uses the server.json configuration file which follows the MCP Registry specification.
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.