Time Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Adheres to the Contributor Covenant code of conduct for project participation and contribution guidelines.

  • Uses Pytest for running tests on the time server implementation.

  • Built with Python 3.10+, providing a type-safe implementation for time-related operations.

시간 서버

MCP(Model Context Protocol) 표준을 기반으로 구축된 시간대 변환 및 시간 관련 작업을 위한 MCP 서버입니다.

목차

특징

  • 모든 시간대의 현재 시간을 가져옵니다
  • 시간대 간 시간 변환
  • MCP 프로토콜 표준으로 구축됨
  • 유형 안전한 Python 구현
  • RESTful API 엔드포인트
  • 포괄적인 오류 처리
  • 시간대 데이터베이스 통합

설치

Smithery를 통해 설치

Smithery를 통해 Claude Desktop용 Time Server를 자동으로 설치하려면:

지엑스피1

수동 설치

pip install .

용법

서버를 시작합니다:

python -m time_server

API 문서

도구

get_current_time

특정 시간대의 현재 시간 가져오기

매개변수:

  • timezone : 문자열 - IANA 시간대 식별자(예: "America/New_York")

보고:

  • ISO 8601 형식의 현재 시간

convert_time

시간대 간 시간 변환

매개변수:

  • time : 문자열 - ISO 8601 형식으로 변환할 시간
  • from_timezone : 문자열 - 소스 시간대
  • to_timezone : 문자열 - 대상 시간대

보고:

  • ISO 8601 형식으로 변환된 시간

개발

개발 종속성 설치:

pip install -e .[dev]

테스트 실행:

pytest

코드 품질 확인:

ruff check . mypy src

행동 강령

이 프로젝트는 기여자 서약 행동 강령을 준수합니다. 참여하시는 모든 분은 이 강령을 준수해 주시기 바랍니다.

특허

MIT

-
security - not tested
F
license - not found
-
quality - not tested

RESTful API 엔드포인트를 통해 시간대 변환 및 시간 관련 작업을 제공하는 MCP 서버로, 포괄적인 오류 처리 및 시간대 데이터베이스 통합 기능을 갖추고 있습니다.

  1. Table of Contents
    1. Features
      1. Installation
        1. Installing via Smithery
        2. Manual Installation
      2. Usage
        1. API Documentation
          1. Tools
        2. Development
          1. Code of Conduct
            1. License
              ID: lo6ocr3732