
Mcp Ticket Demo
io.github.markusvankempen由 GitHub 帳號 markusvankempen 發布v1.9.0更新於 Oct 27, 2026
MCP server demo — tickets, schema discovery, auth, and PII gating. stdio + HTTP.
發布方自己的服務:demo.st
概覽
用來學習與示範 MCP 的參考工單伺服器,內含 19 個工具、資源、提示詞、驗證模式、PII 遮蔽與流量限制。
- 可以做什麼
- 探索伺服器能力與查詢 schema,再用單一查詢工具讀取工單、客戶、資產、計時器、設定與事件
- 建立、留言與關閉工單,未具備 pii 權限時客戶電話等欄位會被遮蔽
- 讀取可定址資源:單張工單、未結案工單清單與 schema 結構,並使用五個面向使用者的提示詞進行引導式演練
- 維運伺服器本身:修改設定、管理使用者與 API 金鑰、匯入設定、啟停計時器、推送日誌列與發布系統資訊
- 以本機 stdio 程序或 HTTP 服務執行,提供健康檢查、測試、管理、日誌與工具清單頁面
- 適用情境
- 適合想了解 MCP 伺服器如何運作、用貼近實務的伺服器測試 IDE 或代理整合、進行現場示範,或作為自建伺服器的參考實作。它是示範專案,並非正式工單系統。
- 執行需求
- 需要 Node.js,可透過 npx 或複製儲存庫執行;預設為 stdio,也可用 HTTP 模式並指定連接埠與主機。選用設定包括 AUTH_MODE、用於 stdio 憑證的 MCP_API_KEY、額外登入的 MCP_USERS、RATE_LIMIT,以及管理頁面的 ADMIN_USER/ADMIN_PASSWORD。不需要外部帳號或服務。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcp Ticket Demo,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
[MCP as a Platform — MCP Dev Summit Toronto 2026]
MCP Ticket Demo — A Full-Stack MCP Reference Server
[npm] [npm downloads] [VS Code] [Open VSX] [License] [Node.js] [MCP] [IBM Cloud] [Linux Foundation]
A production-shaped MCP server you can run in under five minutes. Ships with 19 tools, 3 resources, 5 prompts, three auth modes, API key management, per-tool gates, rate limiting, a live observability dashboard, and a VS Code / Bob / Cursor / Windsurf control-plane extension.
Use it to learn MCP, test IDE integrations, run live demos, or as a reference implementation when building your own server.
Companion to MCP as a Platform: What I Learned Building a Portfolio of MCP Servers · MCP Dev Summit Toronto · 5 October 2026 · Talk slides →
Personal open-source project.
What makes this useful beyond a hello-world
Most MCP examples stop at "here is a tool that returns a string." This one goes further:
Quickstart — five minutes
Then open in a browser:
From a terminal
The same mcp-ticket-demo command is also a client for a running server, local or deployed. With no arguments it is still the MCP server, so the IDE configs below keep working.
--json prints one document for scripts, and exit codes are 0 done · 1 refused · 2 usage · 3 unreachable. Commands that delete or reconfigure ask first. Every command, option and example is in server/README.md, and a copy-paste page is at /clients/cli.html on a running desk. demo apply changes real settings, so use it on a server you own.
[/health — liveness check with version, tool count, and cwd]
[/test — read-only smoke test: seed tickets, schemas, and run_query]
Laptop login: demo / demo. On a public bind (HOST=0.0.0.0, container, Code Engine) set ADMIN_PASSWORD — the default is disabled. Write smoke is /test?write=1 after admin sign-in.
Add to your IDE (one line)
VS Code / GitHub Copilot — .vscode/mcp.json:
Bob / Cursor / Windsurf — .bob/mcp.json / .cursor/mcp.json / .windsurf/mcp.json:
Or install the extension and click Register server with all IDEs — it writes all four configs at once: VS Code Marketplace · Open VSX
[Extension diagnostics panel — all steps passing, server confirmed healthy]
Tools
The server has 19 tools. Six are the ticket desk, below. Eight operate the server itself: update_settings (every setting is one patch: auth mode, rate limit, call trace, desk sign-in, transports, events, gates, locks and scopes), set_mqtt, users, API keys, import_settings and sample traffic. Most of those need the admin scope even while auth is off; server/README.md lists the scope of each. Three are timers, start_timer, stop_timer and push_timer, with no get_timer (push_timer also streams the timer as events; see Events): you read a timer through the schema, run_query with schema=timers (server/README.md). push_log sends a log line as an event, and watch_system publishes the machine as system.info, including a container's cgroup limit. Plain lists are not tools of their own: run_query reads settings (the saved settings, importable as they are), system (the machine), events (the events already sent), and, with an admin credential, users, api_keys, trace, errors and counters. The page at /clients/dashboard.html draws them. Each of these tools is declared once and everything else is generated from that definition.
The ticket desk (6)
[Chat tab — AI calls MCP tools to create and query tickets live]
3 Resources
Resources are addressable and pinnable — clients can subscribe and refresh. Tools are for agent loops.
Call resources/list to browse — you do not need to know a URI ahead of time. A denied read is a JSON-RPC error (not a fake ticket document you can pin).
5 Prompts
User-facing prompts — the user picks these, the model executes them.
Auth model
Credentials: Authorization: Bearer <api key> over HTTP · MCP_API_KEY env var over stdio.
Issue keys, set modes, toggle per-tool gates, and lock individual tools on /admin.
A change broadcasts notifications/tools/list_changed to connected SSE and Streamable HTTP sessions (Cursor/Bob after initialize). One-shot POST /mcp (curl) has no session — it sees the new list on the next call.
Repo layout
Docs
Environment variables
Honest limits
- Tickets live in memory — a new container starts from seed data.
- Admin auth is a session cookie, not SSO. Cookie is
HttpOnly(+Secureon HTTPS). /healthbeing green does not mean the ticket went to the right person.- Public
/testdoes not create or close tickets. Use/test?write=1after admin sign-in. - Remote config, the extension's Remote config tab and the command line change real settings (auth mode, users, keys, rate limit) on whatever server you point them at. Demo setup is for a server you own.
Author: Markus van Kempen · [email protected] · markusvankempen.github.io · MCP Dev Summit Toronto talk · Talk slides · npm · VS Code Marketplace · Open VSX
來源:README.md,提交 80edabd
工具
0版本歷史
2- v1.9.0最新Sep 24, 2026
- v1.0.4Sep 18, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。
其他 Demo 整合

demo.st
st.demo官方發布者
demo.st 的遠端 MCP 伺服器,讓助理預留子網域、發布打包的靜態網站,並管理該網站的小型文件儲存。

Proofmark Demo Server
由 GitHub 帳號 SamuelDharshi 發布
一個小型本機檔案系統 MCP 伺服器,以 npm 套件形式發佈,用來示範 Proofmark 證明機制。

PlanPro demo (unofficial, AetherStack)
由 GitHub 帳號 piksliviksi 發布
非官方示範型 MCP 端點,以合成資料提供 PlanPro 風格的工作計畫、KPI 與風險資訊,並透過 OAuth 登入。

WebMCP Demo Store
由 GitHub 帳號 kamatanuj 發布
以 MCP 工具形式提供的示範網路商店,讓助理不必抓取 HTML 就能搜尋商品目錄、管理購物車並下單。

Everyday Software Voice Demo
由 GitHub 帳號 PpiNeaPpLe 發布
一個遠端 MCP 伺服器,依公開的企業網站產生預填連結,用於在瀏覽器中試用 AI 接待員示範。