- Home
- MCP servers
- Time
Time
- other
1
GitHub Stars
other
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"domdomegg-time-mcp-nuget": {
"command": "dotnet",
"args": [
"run",
"--project",
"C:\\\\path\\\\to\\\\TimeMcpServer.csproj"
]
}
}
}You have a lightweight MCP server that exposes a single tool, GetCurrentUtcTime, returning the current UTC time in RFC 3339 format. It’s designed to be run locally and wired into an MCP-compatible client so you can query the current time from your apps or workflows.
How to use
Use a compatible MCP client to connect to the time MCP server and call the GetCurrentUtcTime tool. You can ask your client for the current UTC time or request an RFC 3339 timestamp. The server is designed to provide accurate, standardized timestamps that you can rely on in logs, schedules, and time-based automations.
How to install
Prerequisites you need before installation or running the server:
-
.NET 9.0 or later
-
An MCP-compatible client (such as Claude Desktop) to interact with the server
Configuration
Configure your MCP client to run the time server locally. The following examples show how to wire the server into your MCP client configuration for Windows and macOS.
{
"mcpServers": {
"time-server": {
"command": "dotnet",
"args": [
"run",
"--project", "C:\\path\\to\\TimeMcpServer.csproj"
]
}
}
}
{
"mcpServers": {
"time-server": {
"command": "dotnet",
"args": [
"run",
"--project", "/path/to/TimeMcpServer.csproj"
]
}
}
}
Additional notes
- When you start the server, you will be able to query the GetCurrentUtcTime tool from your MCP client. - Ensure the path to TimeMcpServer.csproj in the configuration matches your local development setup. - If you need to stop the server, terminate the process running the dotnet command.
Troubleshooting and tips
If your MCP client cannot reach the server, verify that the dotnet process is running and that the project path referenced in the configuration exists. Check that your client is configured to use the same MCP server name (time-server) and that the tool GetCurrentUtcTime is being requested properly by your client.
Available tools
GetCurrentUtcTime
Returns the current UTC date and time in RFC 3339 format via the MCP tool GetCurrentUtcTime.