Basic Info Tool Stable

基本資訊工具。提供伺服器時間查詢與訊息回應功能。

Overview

Basic Info Tool 提供最基本的 MCP 功能,適合用於測試連線與除錯。 這些工具不需要任何驗證即可使用。

Available Methods

get_server_time

取得目前伺服器時間。格式為 yyyy-MM-dd HH:mm:ss。

參數

此方法無需任何參數。

請求範例

{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "get_server_time", "arguments": {} } }

回應範例

{ "result": { "content": [{ "type": "text", "text": "2025-11-24 17:30:45" }] }, "id": 1, "jsonrpc": "2.0" }

echo

回應輸入的訊息。用於測試 MCP 連線是否正常。

參數

請求範例

{ "jsonrpc": "2.0", "id": 2, "method": "tools/call", "params": { "name": "echo", "arguments": { "message": "Hello MCP!" } } }

回應範例

{ "result": { "content": [{ "type": "text", "text": "Echo: Hello MCP!" }] }, "id": 2, "jsonrpc": "2.0" }

Use Cases

連線測試 快速驗證 MCP Server 是否正常運作
除錯 測試 MCP 客戶端與伺服器的通訊流程
時間同步 取得伺服器時間用於日誌記錄

Testing

使用我們的測試頁面快速測試 Basic Info Tool:

開啟測試頁面

相關文件