fix(mcp): run the time preset with uvx mcp-server-time (#7863)

The time preset ran npx -y @modelcontextprotocol/server-time, but that
package does not exist on npm (404), so the server exited on start and
clients reported the connection as closed. The official time server is
published to PyPI as mcp-server-time; run it with uvx like the fetch
preset, and update the preset name, the name placeholder and the user
manual tables.
This commit is contained in:
Owlbay authored and GitHub committed 2026-10-05 16:04:25 +08:00
1 parent 4804b723d4
commit 92fa72c76f
8 files changed
+15 -13

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ Click the **MCP** icon button in the top navigation bar (its hover tooltip reads
| Preset | Package Name | Description |
|--------|-------------|-------------|
| fetch | mcp-server-fetch | HTTP request tool that enables AI to fetch web content |
| time | @modelcontextprotocol/server-time | Time tool that provides current time information |
| time | mcp-server-time | Time tool that provides current time information |
| memory | @modelcontextprotocol/server-memory | Memory tool that enables AI to store and retrieve information |
| sequential-thinking | @modelcontextprotocol/server-sequential-thinking | Chain-of-thought tool that enhances AI reasoning |
| context7 | @upstash/context7-mcp | Documentation search tool for querying technical docs |
+1 -1
View File
@@ -33,7 +33,7 @@ MCP (Model Context Protocol) は、AI ツールが外部データソースやツ
| プリセット | パッケージ名 | 機能説明 |
|------|------|----------|
| fetch | mcp-server-fetch | HTTP リクエストツール、AI が Web コンテンツを取得可能に |
| time | @modelcontextprotocol/server-time | 時間ツール、現在の時刻情報を提供 |
| time | mcp-server-time | 時間ツール、現在の時刻情報を提供 |
| memory | @modelcontextprotocol/server-memory | メモリツール、AI が情報を保存・検索可能に |
| sequential-thinking | @modelcontextprotocol/server-sequential-thinking | 思考連鎖ツール、AI の推論能力を強化 |
| context7 | @upstash/context7-mcp | ドキュメント検索ツール、技術ドキュメントをクエリ |
+1 -1
View File
@@ -33,7 +33,7 @@ MCP (Model Context Protocol) 是一种协议,允许 AI 工具访问外部数
| 预设 | 包名 | 功能说明 |
|------|------|----------|
| fetch | mcp-server-fetch | HTTP 请求工具,让 AI 能够获取网页内容 |
| time | @modelcontextprotocol/server-time | 时间工具,提供当前时间信息 |
| time | mcp-server-time | 时间工具,提供当前时间信息 |
| memory | @modelcontextprotocol/server-memory | 记忆工具,让 AI 能够存储和检索信息 |
| sequential-thinking | @modelcontextprotocol/server-sequential-thinking | 思维链工具,增强 AI 推理能力 |
| context7 | @upstash/context7-mcp | 文档搜索工具,查询技术文档 |
+4 -2
View File
@@ -43,11 +43,13 @@ export const mcpPresets: McpPreset[] = [
},
{
id: "time",
name: "@modelcontextprotocol/server-time",
name: "mcp-server-time",
tags: ["stdio", "time", "utility"],
// 官方 time 服务器只发布在 PyPI(mcp-server-time),npm 上没有 @modelcontextprotocol/server-time
server: {
type: "stdio",
...createNpxCommand("@modelcontextprotocol/server-time", ["-y"]),
command: "uvx",
args: ["mcp-server-time"],
} as McpServerSpec,
homepage: "https://github.com/modelcontextprotocol/servers",
docs: "https://github.com/modelcontextprotocol/servers/tree/main/src/time",
+2 -2
View File
@@ -2492,7 +2492,7 @@
"title": "MCP Title (Unique)",
"titlePlaceholder": "my-mcp-server",
"name": "Display Name",
"namePlaceholder": "e.g. @modelcontextprotocol/server-time",
"namePlaceholder": "e.g. mcp-server-time",
"enabledApps": "Enable to Apps",
"noAppsWarning": "At least one app must be selected",
"description": "Description",
@@ -2582,7 +2582,7 @@
"description": "Universal HTTP request tool, supports GET/POST and other HTTP methods, suitable for quick API requests and web data scraping"
},
"time": {
"name": "@modelcontextprotocol/server-time",
"name": "mcp-server-time",
"description": "Time query tool providing current time, timezone conversion, and date calculation features"
},
"memory": {
+2 -2
View File
@@ -2492,7 +2492,7 @@
"title": "MCP ID(ユニーク)",
"titlePlaceholder": "my-mcp-server",
"name": "表示名",
"namePlaceholder": "例: @modelcontextprotocol/server-time",
"namePlaceholder": "例: mcp-server-time",
"enabledApps": "適用するアプリ",
"noAppsWarning": "少なくとも 1 つ選択してください",
"description": "説明",
@@ -2582,7 +2582,7 @@
"description": "汎用 HTTP リクエストツール。GET/POST などに対応し、API テストや Web データ取得に最適です"
},
"time": {
"name": "@modelcontextprotocol/server-time",
"name": "mcp-server-time",
"description": "現在時刻、タイムゾーン変換、日付計算を提供する時間クエリツール"
},
"memory": {
+2 -2
View File
@@ -2493,7 +2493,7 @@
"title": "MCP 標題(唯一)",
"titlePlaceholder": "my-mcp-server",
"name": "顯示名稱",
"namePlaceholder": "例如 @modelcontextprotocol/server-time",
"namePlaceholder": "例如 mcp-server-time",
"enabledApps": "啟用至應用程式",
"noAppsWarning": "至少選擇一個應用程式",
"description": "描述",
@@ -2583,7 +2583,7 @@
"description": "通用 HTTP 請求工具,支援 GET/POST 等 HTTP 方法,適合快速請求 API / 抓取網頁資料"
},
"time": {
"name": "@modelcontextprotocol/server-time",
"name": "mcp-server-time",
"description": "時間查詢工具,提供目前時間、時區轉換、日期計算等功能"
},
"memory": {
+2 -2
View File
@@ -2492,7 +2492,7 @@
"title": "MCP 标题(唯一)",
"titlePlaceholder": "my-mcp-server",
"name": "显示名称",
"namePlaceholder": "例如 @modelcontextprotocol/server-time",
"namePlaceholder": "例如 mcp-server-time",
"enabledApps": "启用到应用",
"noAppsWarning": "至少选择一个应用",
"description": "描述",
@@ -2582,7 +2582,7 @@
"description": "通用 HTTP 请求工具,支持 GET/POST 等 HTTP 方法,适合快速请求接口/抓取网页数据"
},
"time": {
"name": "@modelcontextprotocol/server-time",
"name": "mcp-server-time",
"description": "时间查询工具,提供当前时间、时区转换、日期计算等功能"
},
"memory": {