Model Context Protocol
AI 助理預約(MCP)
本診所支援透過 MCP 相容的 AI 助理(如 Claude、Cursor)查詢門診空檔與預約看診。把下方端點加到你的 AI 助理後,就可以直接請它幫忙查時段或掛號。
MCP 端點
Streamable HTTP
免登入
https://www.urokingdom.com/mcp
怎麼接上你的 AI 助理
Claude.ai
網頁版- 打開 Claude.ai 的自訂連接器(Custom Connector)
-
傳輸方式選 Streamable HTTP,並貼上公開 MCP 端點
https://www.urokingdom.com/mcp - 儲存後,即可請 Claude 查詢空檔或幫忙預約
Claude Desktop
桌面版把這段設定加到 claude_desktop_config.json:
{
"mcpServers": {
"urokingdom-booking": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://www.urokingdom.com/mcp"
]
}
}
}Claude Code
CLI在終端機執行(官方指令,--transport http 為 Streamable HTTP):
claude mcp add --transport http urokingdom-booking https://www.urokingdom.com/mcp預設寫入目前專案;若要套用到所有專案,加上 --scope user。
ChatGPT
網頁版- 在 ChatGPT 網頁版開啟 Plugins,點加號後選擇「Add custom MCP server」。若介面顯示 Apps & Connectors,也可從那裡新增;部分方案需先開啟 Developer mode。
-
在 Connection 的 Server URL 填入以下公開端點,驗證選 No authentication:
https://www.urokingdom.com/mcp - 建立後先安裝這個 plugin,再在對話中用 @ 叫出使用。此功能是否開放依 ChatGPT 方案而定。
Codex
CLI在終端機執行(官方指令,--url 為 Streamable HTTP):
codex mcp add urokingdom-booking --url https://www.urokingdom.com/mcp或把這段加到 ~/.codex/config.toml:
[mcp_servers.urokingdom-booking]
url = "https://www.urokingdom.com/mcp"
Gemini CLI
CLI在終端機執行(官方指令,--transport http 為 Streamable HTTP;--scope user 寫入 ~/.gemini/settings.json):
gemini mcp add --transport http --scope user urokingdom-booking https://www.urokingdom.com/mcp或把這段加到 ~/.gemini/settings.json:
{
"mcpServers": {
"urokingdom-booking": {
"httpUrl": "https://www.urokingdom.com/mcp"
}
}
}官方文件以 httpUrl 表示 Streamable HTTP。較新版本的 Gemini CLI 也可能寫成 "url" 加上 "type": "http";兩者都是 HTTP 串流。不要只寫 url 卻省略 type,以免被當成 SSE。
Cursor
開發者把這段設定加到 ~/.cursor/mcp.json:
{
"mcpServers": {
"urokingdom-booking": {
"url": "https://www.urokingdom.com/mcp"
}
}
}AI 可以幫你做什麼
- 查詢門診時段與休診
- 查可預約空檔
- 預約門診(AI 送出前會先跟您複述確認)
- 憑預約代碼查詢或取消單筆預約
為保護隱私,這個公開端點不會提供其他病患的資料,也無法用姓名或電話反查他人預約。
一般掛號方式
給開發者與 AI 代理
探索檔與機器可讀說明: