MCP DateTime
MCP 날짜/시간
에이전트 시스템과 채팅 REPL에 날짜 및 시간대 정보를 제공하는 모델 컨텍스트 프로토콜(MCP) 서버의 TypeScript 구현입니다.
개요
MCP DateTime은 모델 컨텍스트 프로토콜을 구현하여 AI 에이전트와 채팅 인터페이스에 날짜/시간 및 시간대 정보를 제공하는 간단한 서버입니다. AI 시스템은 이를 통해 다음과 같은 작업을 수행할 수 있습니다.
로컬 시스템 시간대의 현재 시간을 가져옵니다.
유효한 시간대의 현재 시간을 가져옵니다.
사용 가능한 모든 시간대를 나열하세요
URI 리소스를 통해 시간대 정보에 액세스
Related MCP server: Time Tools MCP Server
설치
npm에서
지엑스피1
출처에서
git clone https://github.com/odgrmi/mcp-datetime.git
cd mcp-datetime
npm install
npm run build용법
명령줄
MCP DateTime은 두 가지 모드로 실행할 수 있습니다.
1. 표준 I/O 모드(기본값)
이 모드는 표준 입출력을 통해 MCP 프로토콜을 지원하는 AI 시스템과 통합하는 데 이상적입니다.
mcp-datetime2. 서버 전송 이벤트(SSE) 모드
이 모드는 MCP 프로토콜에 대한 SSE 전송을 제공하는 HTTP 서버를 시작합니다.
mcp-datetime --sse사용자 정의 포트와 URI 접두사를 지정할 수도 있습니다.
mcp-datetime --sse --port=8080 --prefix=/api/datetime환경 변수
PORT: SSE 모드의 포트를 설정합니다(기본값: 3000)URI_PREFIX: SSE 모드에 대한 URI 접두사를 설정합니다(기본값: 없음)
사용 가능한 도구
MCP DateTime은 다음과 같은 도구를 제공합니다.
get-current-time
시스템의 로컬 시간대에 따른 현재 시간을 반환합니다.
get-current-timezone
현재 시스템 시간대를 반환합니다.
get-time-in-timezone
지정된 시간대의 현재 시간을 반환합니다.
매개변수:
timezone: 현재 시간을 가져올 시간대(예: "America/New_York")
list-timezones
사용 가능한 모든 시간대 목록을 반환합니다.
리소스 URI
MCP DateTime은 리소스 URI를 통해 시간대 정보에 대한 액세스도 제공합니다.
datetime://{timezone}
지정된 시간대의 현재 시간을 반환합니다.
예: datetime://America/New_York
datetime://list
사용 가능한 모든 시간대 목록을 반환합니다.
일반 시간대
다음의 일반적인 시간대는 항상 이용 가능합니다.
UTC
유럽/런던
유럽/파리
유럽/베를린
미국/뉴욕
미국/시카고
아메리카/덴버
아메리카/로스앤젤레스
아시아/도쿄
아시아/상하이
아시아/콜카타
호주/시드니
태평양/오클랜드
SSE 엔드포인트
SSE 모드에서 실행할 경우 다음 엔드포인트를 사용할 수 있습니다.
/sse: SSE 연결 엔드포인트/message: 클라이언트-서버 통신을 위한 메시지 엔드포인트/info: 기본 서버 정보
URI 접두사가 지정되면 모든 엔드포인트에 추가됩니다.
AI 시스템과의 통합
MCP DateTime은 모델 컨텍스트 프로토콜(Model Context Protocol)을 지원하는 AI 시스템과 통합될 수 있습니다. 이를 통해 AI 에이전트는 정확한 시간대 및 날짜/시간 정보에 접근할 수 있습니다.
개발
필수 조건
Node.js 14.16 이상
엔피엠
설정
git clone https://github.com/odgrim/mcp-datetime.git
cd mcp-datetime
npm install짓다
npm run build개발 모드에서 실행
npm run dev # Standard I/O mode
npm run dev:sse # SSE mode특허
이 프로젝트는 Mozilla Public License 2.0에 따라 라이선스가 부여되었습니다. 자세한 내용은 LICENSE 파일을 참조하세요.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceA TypeScript server that provides time-related tools through the Model Context Protocol, allowing users to get current time in various timezones and convert times between different IANA timezones.MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server for time manipulation tasks, enabling AI models to get the current date/time and calculate duration between timestamps.72MIT
- 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.2MIT
- Alicense-qualityCmaintenanceThe Time MCP Server is a Model Context Protocol (MCP) server that provides AI assistants and other MCP clients with standardized tools to perform time and date-related operations. This server acts as a bridge between AI tools and a robust time-handling back12226MIT
Related MCP Connectors
A real clock for AI agents: current time, timezone conversion, and DST facts from the IANA tzdb.
A time server that keeps your AI honest about time. Real clock + drift guard, zero dependencies.
Timezone MCP — wraps WorldTimeAPI (free, no auth)
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/odgrim/mcp-datetime'
If you have feedback or need assistance with the MCP directory API, please join our Discord server