Kamai
io.kamaiv1.0.0更新於 Sep 30, 2026
AI takeoff for construction: turn PDF blueprints into structured, traceable quantities.
概覽
將助理連接到 Kamai 建築圖說專案,讓它能檢視圖說、數量與構件,並管理專案與上傳。
- 功能
- 提供用於 Kamai 建築圖說工作的工具與互動式小工具:檢視專案與圖說、以可排序表格顯示量測出的數量,並列出房間、牆體、門、窗、物件等逐構件資料列及其輪廓。它可以建立或重新命名專案,列出、檢視與取消處理工作,並處理圖說 PDF 上傳,包括匯入聊天訊息中附帶的 PDF。它也能在面板中開啟 Kamai 應用程式。
- 適用情境
- 當助理需要在 Kamai 中處理以 PDF 圖說為基礎的建築數量時使用:檢視專案、核對量測出的數量與構件、追蹤處理工作,或上傳新圖說。它鎖定 Kamai 使用者,而非一般文件處理。
- 執行需求
- 遠端端點 Bun 1.3.3 與 Node.js 22.12 以上版本在本機以 stdio 執行。本機模式需要在 KAMAI_API_KEY 中提供 Kamai 個人 API 金鑰,並在 MCP_API_BASE_URL 中提供 API 基礎網址。HTTP 模式需要 MCP_PUBLIC_URL、MCP_AUTH_ISSUER,以及選用的 MCP_AUTH_JWKS_URI、MCP_ACCEPTED_AUDIENCES、PORT 與 KAMAI_APP_ORIGINS,且需要能存取 Kamai 的 MCP API 與授權伺服器。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Kamai,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"mcp": {
"type": "http",
"url": "https://mcp.kamai.io/mcp"
}
}
}README
kamai-mcp
Kamai's MCP server: tools and MCP Apps widgets for Kamai construction-blueprint projects, blueprints and takeoffs. It runs against Kamai's MCP API and validates access tokens issued by Kamai's OAuth authorization server. It holds no Kamai secrets.
Tools
list_projects, get_project, get_blueprint, request_blueprint_upload and
finalize_blueprint_upload are app-only: callable by the widgets, not advertised to
the model.
Run locally with your API key
The quickest way to run this server against your own Kamai data is local mode: the host spawns the server, talks to it over stdio, and the credential is a personal API key from Kamai (API Keys in the Kamai app) instead of OAuth.
Claude Code:
Claude Desktop (claude_desktop_config.json):
The key is used as the bearer for every API call; the tools run as the key's owner.
Run the HTTP server
The values in .env.example are placeholders: set MCP_PUBLIC_URL and
MCP_AUTH_ISSUER to your tunnel and to a reachable authorization server before
starting, or every request will be refused with invalid_token.
The MCP API and the authorization server are operated by Kamai, so running the
HTTP server end to end needs access to both. An MCP server is only really testable
against a real host, and a host can only reach a public HTTPS URL, so HTTP-mode
development means running behind a tunnel and pointing MCP_PUBLIC_URL at it.
bun run dev builds the widgets first: the server serves the built HTML from
dist/widgets/, not the React source, so rebuild after touching anything under
src/widgets/app/.
The widgets use React, TypeScript, Vite, Tailwind CSS, DaisyUI and Lucide. Vite produces one self-contained HTML resource per widget, so nothing needs hosting.
Local builds require Bun 1.3.3 and Node.js 22.12 or newer.
Layout
Contributing
See CONTRIBUTING.md. Security issues go to the address in SECURITY.md, not to the issue tracker.
License
Apache-2.0. Copyright 2026 Kamai Enterprises LTD.
The Kamai name and logo are trademarks of Kamai Enterprises LTD and are not covered by the license.
來源:README.md,提交 0c8ee0f
工具
0版本歷史
1- v1.0.0最新Sep 30, 2026
