MCP Educate Time
一个基于 MCP (Model Context Protocol) 的简单时间服务,提供获取当前系统时间的工具。
项目结构
me/
├── mcp_educate_time/ # Python 包
│ ├── __init__.py
│ └── time_server.py # MCP 时间服务实现
├── time_server.py # 根级时间服务(同上)
├── main.py # 入口示例
├── pyproject.toml # 项目配置
├── setup.py # 安装配置
├── .mcp.json # MCP 配置(含 Bing Search)
├── .python-version # Python 版本
└── uv.lock # 依赖锁定文件
功能
get_time()— 获取当前系统时间(通过 MCP Tool 暴露)
快速开始
安装依赖
pip install -e .
运行服务
python time_server.py
服务默认通过 stdio 传输运行,可与支持 MCP 的客户端(如 Claude Desktop、Trae IDE 等)集成。
发布到 PyPI
python -m build
python -m twine upload dist/*
许可证
MIT
Metadata
Release files for mcp-educate-time-luxiju 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mcp_educate_time_luxiju-0.1.1.tar.gz | 2.5 kB | Without provenance | Details for mcp_educate_time_luxiju-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mcp_educate_time_luxiju-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for mcp_educate_time_luxiju-0.1.1-py3-none-any.whl |
Total release size: 5.0 kB
Release files / mcp_educate_time_luxiju-0.1.1.tar.gz
| Download URL | mcp_educate_time_luxiju-0.1.1.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
346bd785923867cc4021db518e45fd83379387898dff1ecb30dd20aebd1abfd1
|
|
BLAKE2b-256 checksum How to use checksums |
3bf026909414b0373e97ed0edee7efb73bcec794710d60914f5a097597b23a79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|
Release files / mcp_educate_time_luxiju-0.1.1-py3-none-any.whl
| Download URL | mcp_educate_time_luxiju-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5a21a068005a300f9e1bd44378e2cd3a25c861fdfb7fa5ec3178c19166a375a1
|
|
BLAKE2b-256 checksum How to use checksums |
9c41b46798aacd78408a9f01152f871e8afa44660c5ac88b57c9ccb39a240576
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|
Security for mcp-educate-time-luxiju 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.