Oleafly is a live collaborative LaTeX, Typst and Markdown editor for research that offers a local MCP server and an oleafly mcp stdio command so outside AI clients can use its project tools.

MCP Time Server
A Node.js MCP server in the repository that provides time-related functions such as retrieving the current time and converting time between timezones.
WHAT IT DOES
- •Exposes a get_current_time tool that returns the current time for a specified IANA timezone.
- •Exposes a convert_time tool that converts a time from a source timezone to a target timezone.
- •Supports the full set of IANA timezones.
- •Includes Docker support with an optimized Dockerfile for production.
BEST FOR
- •Checking the current local time in a chosen timezone.
- •Converting a specific time between two timezones for scheduling work.
ABOUT MCP-SERVER-MAITHANHDUYAN
MCP Time Server is cataloged as an MCP server attributed to maithanhduyan. A Node.js MCP server in the repository that provides time-related functions such as retrieving the current time and converting time between timezones. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
HOW TO INSTALL
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
LICENSE
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力检查器
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
Tools (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Resources (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Prompts (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Newsletter subscriptions are not open yet
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Community Reviews
Reviews for MCP Time Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
FREQUENTLY ASKED QUESTIONS
Which timezones can be used with the time tools?
The server uses IANA timezone names, with examples such as Asia/Ho_Chi_Minh, America/New_York, and Europe/London.
上游原版 README
README.md · 8b2ed558021a · 采集于 2026-11-13 12:01:22 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
MCP Server - Model Context Protocol
📖 Giới thiệu về MCP Server
Model Context Protocol (MCP) là một giao thức mở được phát triển bởi Anthropic để chuẩn hóa cách các AI models tương tác với các nguồn dữ liệu và công cụ bên ngoài. MCP Server là một thành phần quan trọng trong hệ sinh thái này, đóng vai trò là cầu nối giữa AI models và các dịch vụ, cơ sở dữ liệu, API khác nhau.
🔑 Khái niệm cốt lõi
- MCP Server: Là một dịch vụ backend cung cấp các công cụ (tools), tài nguyên (resources) và prompts cho AI models
- Giao thức chuẩn: Sử dụng JSON-RPC 2.0 để đảm bảo tương thích giữa các hệ thống
- Kiến trúc Client-Server: AI applications (clients) giao tiếp với MCP servers thông qua WebSocket hoặc stdio
🌟 Sử dụng trong thực tế
1. Tích hợp Cơ sở dữ liệu
AI Model ↔ MCP Server ↔ Database (MySQL, PostgreSQL, MongoDB)
- Cho phép AI truy vấn và phân tích dữ liệu trực tiếp
- Tự động tạo reports và insights từ database
2. Kết nối API bên ngoài
AI Model ↔ MCP Server ↔ External APIs (Weather, Stock, Social Media)
- Lấy dữ liệu real-time từ các dịch vụ web
- Thực hiện các tác vụ automation
3. Quản lý File System
AI Model ↔ MCP Server ↔ Local/Cloud Storage
- Đọc, ghi, và xử lý files
- Backup và sync dữ liệu
🚀 Use Cases phổ biến
1. Business Intelligence & Analytics
- Mô tả: Tự động phân tích dữ liệu kinh doanh
- Ví dụ: Tạo báo cáo doanh thu hàng tháng từ database sales
# MCP Server cung cấp tool để query database
tools = [
{
"name": "query_sales_db",
"description": "Query sales database",
"parameters": {"query": "string"}
}
]
2. Customer Support Automation
- Mô tả: Hỗ trợ khách hàng thông qua AI chatbot
- Ví dụ: Tra cứu thông tin đơn hàng, cập nhật trạng thái ticket
tools = [
{
"name": "get_order_status",
"description": "Get customer order status",
"parameters": {"order_id": "string"}
}
]
3. Content Management
- Mô tả: Quản lý và tạo nội dung tự động
- Ví dụ: Tự động tạo blog posts, cập nhật CMS
tools = [
{
"name": "publish_content",
"description": "Publish content to CMS",
"parameters": {"title": "string", "content": "string"}
}
]
4. DevOps & Monitoring
- Mô tả: Giám sát hệ thống và tự động hóa deployment
- Ví dụ: Kiểm tra server health, deploy applications
tools = [
{
"name": "check_server_health",
"description": "Check server health status",
"parameters": {"server_id": "string"}
}
]
5. E-commerce Integration
- Mô tả: Quản lý shop online thông qua AI
- Ví dụ: Cập nhật inventory, xử lý orders, customer service
🛠️ Cách tạo MCP Server
Bước 1: Cài đặt môi trường
# Python
pip install mcp
# Node.js
npm install @modelcontextprotocol/sdk
# TypeScript
npm install @modelcontextprotocol/sdk typescript
Bước 2: Tạo MCP Server cơ bản (Python)
#!/usr/bin/env python3
import asyncio
import json
from mcp.server import Server
from mcp.server.models import InitializationOptions
from mcp.server.stdio import stdio_server
from mcp.types import TextContent, Tool
server = Server("my-mcp-server")
@server.list_tools()
async def handle_list_tools() -> list[Tool]:
"""Danh sách các tools có sẵn"""
return [
Tool(
name="echo",
description="Echo back the input",
inputSchema={
"type": "object",
"properties": {
"message": {"type": "string"}
},
"required": ["message"]
}
)
]
@server.call_tool()
async def handle_call_tool(name: str, arguments: dict) -> list[TextContent]:
"""Xử lý tool calls"""
if name == "echo":
message = arguments.get("message", "")
return [TextContent(type="text", text=f"Echo: {message}")]
else:
raise ValueError(f"Unknown tool: {name}")
async def main():
async with stdio_server() as (read_stream, write_stream):
await server.run(
read_stream,
write_stream,
InitializationOptions(
server_name="my-mcp-server",
server_version="1.0.0",
capabilities=server.get_capabilities()
)
)
if __name__ == "__main__":
asyncio.run(main())
Bước 3: Tạo MCP Server với TypeScript
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
import {
CallToolRequestSchema,
ListToolsRequestSchema,
} from '@modelcontextprotocol/sdk/types.js';
class MyMCPServer {
private server: Server;
constructor() {
this.server = new Server(
{
name: 'my-mcp-server',
version: '1.0.0',
},
{
capabilities: {
tools: {},
},
}
);
this.setupHandlers();
}
private setupHandlers() {
this.server.setRequestHandler(ListToolsRequestSchema, async () => ({
tools: [
{
name: 'calculator',
description: 'Perform basic math operations',
inputSchema: {
type: 'object',
properties: {
operation: { type: 'string', enum: ['add', 'subtract', 'multiply', 'divide'] },
a: { type: 'number' },
b: { type: 'number' },
},
required: ['operation', 'a', 'b'],
},
},
],
}));
this.server.setRequestHandler(CallToolRequestSchema, async (request) => {
const { name, arguments: args } = request.params;
if (name === 'calculator') {
const { operation, a, b } = args as any;
let result: number;
switch (operation) {
case 'add':
result = a + b;
break;
case 'subtract':
result = a - b;
break;
case 'multiply':
result = a * b;
break;
case 'divide':
result = a / b;
break;
default:
throw new Error(`Unknown operation: ${operation}`);
}
return {
content: [{ type: 'text', text: `Result: ${result}` }],
};
}
throw new Error(`Unknown tool: ${name}`);
});
}
async run() {
const transport = new StdioServerTransport();
await this.server.connect(transport);
}
}
const server = new MyMCPServer();
server.run().catch(console.error);
Bước 4: Cấu hình Client để sử dụng MCP Server
{
"mcpServers": {
"my-server": {
"command": "python",
"args": ["path/to/your/mcp_server.py"]
}
}
}
Bước 5: Test MCP Server
# Test với stdio
echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}' | python mcp_server.py
📁 Projects trong Repository
🕐 MCP Time Server (Node.js)
Vị trí: mcp-time-node/
Một MCP Server được viết bằng Node.js cung cấp các chức năng liên quan đến thời gian:
✨ Tính năng
- Get Current Time: Lấy thời gian hiện tại theo múi giờ được chỉ định
- Convert Time: Chuyển đổi thời gian giữa các múi giờ khác nhau
- IANA Timezone Support: Hỗ trợ đầy đủ các múi giờ theo chuẩn IANA
🚀 Cách sử dụng
# Chạy với Node.js trực tiếp
cd mcp-time-node
npm install
npm start
# Chạy demo
npm run demo
# Chạy với Docker
docker build -t mcp-time-server .
docker run -i --rm mcp-time-server
📋 Available Tools
-
get_current_time
- Lấy thời gian hiện tại
- Parameter:
timezone(IANA timezone name) - Ví dụ:
Asia/Ho_Chi_Minh,America/New_York,Europe/London
-
convert_time
- Chuyển đổi thời gian giữa các múi giờ
- Parameters:
time: Thời gian theo định dạng HH:MMsource_timezone: Múi giờ nguồntarget_timezone: Múi giờ đích
🐳 Docker Support
Project đã được containerized với Dockerfile optimized cho production:
- Base image:
node:18-alpine - Security: Non-root user
- Size: Minimal footprint
⚙️ VS Code MCP Integration
Đã cấu hình sẵn trong .vscode/mcp.json với 2 options:
- mcp-time-node: Chạy trực tiếp với Node.js
- mcp-time-docker: Chạy với Docker container
💡 Ví dụ sử dụng
// Lấy thời gian hiện tại ở Việt Nam
{
"name": "get_current_time",
"arguments": {
"timezone": "Asia/Ho_Chi_Minh"
}
}
// Chuyển đổi 14:30 từ Việt Nam sang New York
{
"name": "convert_time",
"arguments": {
"time": "14:30",
"source_timezone": "Asia/Ho_Chi_Minh",
"target_timezone": "America/New_York"
}
}
🔮 Tương lai của MCP
1. Ecosystem mở rộng
- Nhiều providers hơn: Database, Cloud services, IoT devices
- Community-driven: Open source tools và extensions
- Standardization: Trở thành chuẩn industry cho AI integrations
2. Performance improvements
- Caching mechanisms: Tối ưu hóa response time
- Parallel processing: Xử lý multiple requests đồng thời
- Load balancing: Phân tải cho high-traffic applications
3. Security enhancements
- Authentication & Authorization: OAuth2, JWT tokens
- Data encryption: End-to-end encryption
- Audit logging: Theo dõi và log mọi interactions
4. AI-native features
- Context awareness: Hiểu context tốt hơn từ previous conversations
- Learning capabilities: Tự học và cải thiện performance
- Multi-modal support: Xử lý text, images, audio, video
5. Enterprise adoption
- Enterprise-grade security: Compliance với GDPR, HIPAA
- Scalability: Support hàng triệu concurrent connections
- Monitoring & Analytics: Dashboard và metrics chi tiết
6. Integration trends
Current: AI ↔ MCP Server ↔ Single Service
Future: AI ↔ MCP Server ↔ Multiple Services (Orchestration)
- Service orchestration: Một MCP server quản lý multiple services
- Workflow automation: Tự động hóa complex business processes
- Real-time collaboration: Multiple AI agents làm việc cùng nhau
📈 Roadmap dự kiến
| Timeline | Milestone |
|---|---|
| 2025 Q2 | MCP v2.0 với improved performance |
| 2025 Q3 | Enterprise security features |
| 2025 Q4 | Multi-modal support |
| 2026 Q1 | Service orchestration platform |
| 2026 Q2 | AI agent collaboration framework |
🎯 Kết luận
MCP Server đang trở thành backbone cho việc tích hợp AI vào các hệ thống thực tế. Với khả năng kết nối linh hoạt giữa AI models và external services, MCP mở ra vô số possibilities cho automation và intelligent applications.
Key takeaways:
- ✅ Giao thức chuẩn hóa cho AI integrations
- ✅ Dễ dàng implement và maintain
- ✅ Ecosystem đang phát triển mạnh mẽ
- ✅ Tương lai rất promising với enterprise adoption
Bắt đầu với MCP Server ngay hôm nay để tận dụng sức mạnh của AI trong ứng dụng của bạn!
Install configuration
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP Time Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-server-maithanhduyan)REPOSITORY STATS
Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
下载与拉取统计
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Related productivity work MCP Servers
Alternative and complementary servers in the same category
Buddy is an Android app that offers its phone tools through a local MCP server to Claude Code, Codex, OpenCode, Antigravity, and Grok sessions.

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

