时间协议服务器
可用工具 (2 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
get_current_time 1 个参数 需填 1 项
必填参数:timezone
convert_time 3 个参数 需填 3 项
必填参数:source_timezone、time、target_timezone
服务介绍
时间协议服务器 time
提供时间和时区转换功能的模型上下文协议服务器,支持获取当前时间和时区转换。
null## 工具列表 Tool List
本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。 本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。
| 工具 Tool | 描述 Description |
|---|---|
| get_current_time | Get current time in a specific timezones |
| convert_time | Convert time between timezones |
检查服务 ## Inspector
工具在线测试: https://mcp.xiaobenyang.com/inspector/1777419077074947
Online Tool test https://mcp.xiaobenyang.com/inspector/1777419077074947
服务配置 MCP Server Config
如何获取 XBY-APIKEY ? How to get XBY-APIKEY ?
访问小笨羊科技网站 https://xiaobenyang.com,注册用户即可获得APIKEY
Visit XiaoBenYang website https://xiaobenyang.com, register and get the APIKEY.
SSE
{
"mcpServers": {
"时间协议服务器": {
"headers": {
"XBY-APIKEY": "<YOUR_XBY_APIKEY>"
},
"type": "sse",
"url": "https://mcp.xiaobenyang.com/1777419077074947/sse"
}
}
}
STREAMABLE HTTP
{
"mcpServers": {
"时间协议服务器": {
"headers": {
"XBY-APIKEY": "<YOUR_XBY_APIKEY>"
},
"type": "streamable_http",
"url": "https://mcp.xiaobenyang.com/1777419077074947/mcp"
}
}
}
STDIO
{
"mcpServers": {
"时间协议服务器": {
"command": "npx",
"args": [
"-y",
"xiaobenyang-mcp"
],
"env": {
"XBY_APIKEY": "<YOUR_XBY_APIKEY>",
"mcpId": "1777419077074947",
},
"transport": "stdio"
}
}
}