This server provides access to Waferlock product manuals through a Model Context Protocol (MCP) interface that bridges to a REST API hosted on Heroku.
Core Capabilities:
List all manuals - Retrieve a complete list of all uploaded Waferlock product manuals
Get manual details - Access detailed information about specific manuals using their unique file ID
Search manuals - Find manuals by searching filenames with text queries
Technical Features:
Secure API authentication via token without exposing AWS credentials
Compatible with MCP-supported clients like ChatGPT Desktop
Supports optional MCP-level token authentication for additional security
Connects to a Waferlock Robot MCP REST API hosted on Heroku to access and manage Waferlock product manuals, including listing, searching, and retrieving manual information.
Waferlock MCP CLI (Public)
這個專案提供一個獨立的 CLI,透過 Waferlock Robot MCP 在 Heroku 上的公開 REST API,將資料橋接到支援 Model Context Protocol (MCP) 的客戶端(例如 ChatGPT Desktop)。使用者只需要 API URL 與 Token,即可在本地啟動 stdio 版 MCP 伺服器,不需暴露 AWS 憑證。
安裝與使用
1. 取得程式碼
2. 編譯
3. 直接執行 (本地調試)
--server-name:覆寫 MCP server 名稱--server-version:覆寫 MCP server 版本--mcp-token:若指定,MCP 客戶端必須提供同樣的 Token(透過環境變數或連線設定)
4. 透過 npx 執行 (Git 來源)
建立 tag 後(例如 git tag v1.0.0 && git push origin v1.0.0),即可提供使用者以下指令:
5. ChatGPT Desktop 設定範例
將 jasonlcs、waferlock-robot-mcp-1177c207c107、<你的 API Token> 改成實際值即可使用。
專案結構
開發注意事項
需要 Node.js 18+(提供原生
fetch)。CLI 會優先讀取命令列參數(
--api-url、--api-token等),若未提供則回退至環境變數API_URL、API_TOKEN、MCP_TOKEN。內建
dotenv,會載入.env(選用)。專案使用 TypeScript;若想讓使用者省去編譯步驟,可在 repo 中同步
dist/,或加上 npmprepare腳本在安裝時自動編譯。
後續步驟
npm run build確認dist/生成。必要時chmod +x dist/cli.js。git add . && git commit -m "Initial public CLI",再git push -u origin main。建立版本 tag(例:
git tag v1.0.0 && git push origin v1.0.0)。在主專案或文件提到此 CLI,指引用法(
npx github:...或node dist/cli.js ...)。
授權
ISC License