MCP-WTIT
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP-WTITwhat time is it in Tokyo right now?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP-WTIT (What Time Is It?)
A Model Context Protocol (MCP) server that provides current time in ISO8601 format with timezone support.
๐ Features
โฐ Get current time with detailed information (ISO8601, timestamp, timezone)
๐ Support for all IANA timezones
๐ฏ Optional milliseconds precision
๐๏ธ Clean Architecture design
๐ฆ ESModules with TypeScript 5.6+
โ Comprehensive test coverage
๐ง Type-safe with strict TypeScript configuration
Related MCP server: DateTime MCP Server
๐ Requirements
Node.js 18.0.0 or higher
npm or yarn
๐ ๏ธ Installation
As a global package
# Install globally
npm install -g mcp-wtit
# Run the server
mcp-wtitAs a dependency
# Install as a dependency
npm install mcp-wtitFrom source
# Clone the repository
git clone https://github.com/yorifuji/mcp-wtit.git
cd mcp-wtit
# Install dependencies
npm install
# Build the project
npm run build
# Run the server
npm start๐ฆ Quick Start
For MCP Clients (Claude Desktop, etc.)
Add to your MCP client configuration:
If installed globally:
{
"mcpServers": {
"mcp-wtit": {
"command": "mcp-wtit"
}
}
}If installed locally:
{
"mcpServers": {
"mcp-wtit": {
"command": "node",
"args": ["./node_modules/mcp-wtit/dist/index.js"]
}
}
}From source:
{
"mcpServers": {
"mcp-wtit": {
"command": "node",
"args": ["/path/to/mcp-wtit/dist/index.js"]
}
}
}Debug with MCP Inspector
MCP Inspector provides a web-based interface to test and debug your MCP server:
# Build the project first
npm run build
# Run with MCP Inspector
npm run inspectThis will:
Start the MCP Inspector on http://localhost:6274
Automatically open your browser
Connect to the MCP server with debug capabilities
In the Inspector, you can:
View available tools and their schemas
Test tool calls with different parameters
Monitor request/response communication
Debug server behavior in real-time
For Development
# Run in development mode
npm run dev
# Run tests
npm test
# Run tests with coverage
npm run test:coverage
# Lint code
npm run lint
# Type check
npm run typecheck๐ API Documentation
Tools
get_current_time
Get the current time with detailed information.
Parameters:
includeMilliseconds(boolean, optional): Include milliseconds in ISO8601 format (default: true)timezone(string, optional): Timezone for the time (default: "UTC")
Response:
{
"iso8601": "2024-01-15T10:30:45.123Z",
"timestamp": 1705315845123,
"timezone": "UTC"
}๐๏ธ Architecture
This project follows Clean Architecture principles:
src/
โโโ domain/ # Business logic (no dependencies)
โโโ application/ # Use cases
โโโ infrastructure/ # External interfaces (MCP)
โโโ shared/ # Shared types and utilities
โโโ di/ # Dependency injectionSee Architecture Documentation for details.
๐งช Testing
Tests are located in the tests/ directory and use Vitest:
# Run all tests
npm test
# Run tests in watch mode
npm run test:watch
# Generate coverage report
npm run test:coverage๐ฆ Scripts
Script | Description |
| Build the TypeScript project |
| Run in development mode |
| Run the built server |
| Debug with MCP Inspector |
| Run tests |
| Run tests in watch mode |
| Run tests with coverage report |
| Run ESLint |
| Run ESLint and fix issues |
| Run TypeScript type checking |
๐ค Contributing
Fork the repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add some amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Acknowledgments
Built for the Model Context Protocol
Inspired by Clean Architecture principles
๐ฆ NPM Package
Published on npm: mcp-wtit
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseAqualityDmaintenanceA Model Context Protocol server for time manipulation tasks, enabling AI models to get the current date/time and calculate duration between timestamps.Last updated72MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides tools to get the current date and time in various formats, supporting different timezones and custom formatting options.Last updated41191MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides time and timezone conversion capabilities, enabling LLMs to get current time information and perform timezone conversions using IANA timezone names.Last updated2MIT
- Alicense-qualityDmaintenanceA lightweight Model Context Protocol server that provides current UTC time in various formats, including ISO 8601 and Unix timestamps. It is designed for seamless integration with Cursor IDE to provide consistent time-related capabilities across all development projects.Last updatedMIT
Related MCP Connectors
A time server that keeps your AI honest about time. Real clock + drift guard, zero dependencies.
Timezone MCP โ wraps WorldTimeAPI (free, no auth)
A real clock for AI agents: current time, timezone conversion, and DST facts from the IANA tzdb.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yorifuji/mcp-wtit'
If you have feedback or need assistance with the MCP directory API, please join our Discord server