add mcp servers (#2076)

This commit is contained in:
澄潭
2025-04-16 14:48:53 +08:00
committed by GitHub
parent 4f0834d817
commit 8cce7f5d50
150 changed files with 34544 additions and 3 deletions

View File

@@ -0,0 +1,20 @@
# Time Service
This service provides accurate time information based on specified timezones. No API authentication is required.
# MCP Server Configuration Function Overview
## Function Overview
This service can provide the current time based on a specified timezone. It can also determine the user's location through their IP address, and then provide the accurate time based on the timezone of that location.
## Tool Introduction
### Get Current Time
- **Purpose**: This tool allows users to get the current time in a specific timezone or the system default timezone.
- **Use Cases**: Suitable for applications that need to display accurate local time to users in different regions, such as international websites, travel applications, or scheduling systems that operate across multiple time zones.
- **Request Parameters**:
- `timeZone` (optional): IANA timezone name (e.g., 'America/New_York', 'Europe/London'). Defaults to "Asia/Shanghai" if not provided.
- **Response Structure**: Returns the current time in the format "YYYY-MM-DD HH:MM:SS" for the specified timezone.
- **Notes**: The service can be integrated with IP location services to automatically determine the user's timezone based on their IP address, providing a more personalized experience without requiring the user to manually select their timezone.

View File

@@ -0,0 +1,20 @@
# 时间服务
该服务提供基于指定时区的精确时间信息。无需API认证。
# MCP服务器配置功能简介
## 功能简介
该服务可以基于指定的时区提供当前时间。它还可以通过用户的IP地址确定用户所在位置然后基于该位置所在时区提供精确的时间。
## 工具简介
### 获取当前时间
- **用途**:此工具允许用户获取特定时区或系统默认时区的当前时间。
- **使用场景**:适用于需要向不同地区的用户显示准确本地时间的应用程序,如国际网站、旅行应用或跨多个时区运行的调度系统。
- **请求参数**
- `timeZone` (可选)IANA时区名称例如'America/New_York''Europe/London')。如果未提供,默认为"Asia/Shanghai"。
- **响应结构**:返回指定时区的当前时间,格式为"YYYY-MM-DD HH:MM:SS"。
- **注意点**该服务可以与IP位置服务集成根据用户的IP地址自动确定用户的时区提供更加个性化的体验无需用户手动选择时区。

View File

@@ -0,0 +1,15 @@
server:
name: time
tools:
- name: get-current-time
description: |
Because your understanding of dates comes from training data and you do not have an internal clock, you must use this tool to get the current time (including the day of the week) when you need date/time information to complete other instructions.
args:
- name: timeZone
description: |
IANA timezone name (e.g., 'America/New_York', 'Europe/London'),One can try to locate the user's position through IP, thereby obtaining the timezone.
type: string
default: "Asia/Shanghai"
responseTemplate:
body: |
{{ dateInZone "Monday, 2006-01-02 15:04:05" now .args.timeZone }}