Kamai
io.kamai由 kamai.io 发布官方发布者v1.0.0更新于 Oct 28, 2026
AI takeoff for construction: turn PDF blueprints into structured, traceable quantities.
概览
Kamai 的远程 MCP 服务器让助手浏览建筑图纸项目、查看工程量与构件,并编辑或上传图纸。
- 可以做什么
- 浏览项目与图纸,查看编号、就绪状态及每张图纸的内容清单
- 查看带工程量标注的图纸页面、构件轮廓、图例文件夹和可排序的工程量表格
- 下载已处理图纸的 PDF,其中检测到的构件被高亮标出
- 编辑构件(重命名、改色、归档)、创建文件夹、设置洞口高度、创建或重命名项目
- 管理处理任务并上传图纸 PDF,包括聊天消息中附带的 PDF
- 启用查询工具后:统计与查找构件、计算房间净墙面面积、设置绘图比例或旋转、生成联动表格
- 适用场景
- 适用于使用 Kamai 建筑工程量测算的场景:希望助手直接查询工程量、查看图纸构件,或进行小幅修改与上传,而不必切换到 Kamai 应用。
- 运行要求
- 远程端点 mcp.kamai.io,需通过 OAuth 登录授权。README 另说明本地 stdio 模式,使用 Kamai 个人 API 密钥(KAMAI_API_KEY),本地构建需 Bun 1.3.3 与 Node.js 22.12 或更高版本。查询工具需设置 KAMAI_QUERY_TOOLS=on。
安装
在 SourceWeft 中
- 打开 控制台中的 Kamai,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.kamai%2Fmcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"kamai": {
"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
With KAMAI_QUERY_TOOLS=on (see below):
With KAMAI_HOST_PROBE on (the default on dev and debug, off in prod; see below):
list_blueprints also takes include_inventory (with a project_id): what each
blueprint contains.
list_projects, get_project, get_blueprint, request_blueprint_upload,
finalize_blueprint_upload, and with the query tools get_table_row_elements and
get_element_outlines, and with the probe report_host_probe, 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.
Add KAMAI_QUERY_TOOLS=on to the environment for the query tools.
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
Privacy and support
- Privacy policy: https://kamai.io/privacy-policy
- Support: https://kamai.io/support or [email protected]
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,提交 b4bacc1
工具
0版本历史
1- v1.0.0最新Sep 30, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分