Kamai
io.kamaiv1.0.0Updated Sep 30, 2026
AI takeoff for construction: turn PDF blueprints into structured, traceable quantities.
Overview
Connects an assistant to Kamai construction-blueprint projects so it can view blueprints, takeoff quantities and elements, and manage projects and uploads.
- What it does
- Provides tools and interactive widgets for Kamai construction-blueprint work: viewing projects and blueprints, showing measured takeoff quantities as a sortable table, and listing per-element rows such as rooms, walls, doors, windows and objects with outlines. It can create or rename projects, list, inspect and cancel processing jobs, and handle blueprint PDF uploads, including importing a PDF attached to a chat message. It also opens the Kamai app in a panel.
- When to use it
- Use it when an assistant needs to work with construction takeoffs from PDF blueprints inside Kamai: reviewing projects, checking measured quantities and elements, tracking processing jobs, or uploading new blueprints. It is aimed at Kamai users rather than general document handling.
- Requirements
- A remote endpoint at or a local stdio run with Bun 1.3.3 and Node.js 22.12 or newer. Local mode needs a Kamai personal API key in KAMAI_API_KEY and the API base URL in MCP_API_BASE_URL. HTTP mode needs MCP_PUBLIC_URL, MCP_AUTH_ISSUER and optionally MCP_AUTH_JWKS_URI, MCP_ACCEPTED_AUDIENCES, PORT and KAMAI_APP_ORIGINS, plus access to Kamai's MCP API and authorization server.
Installation
In SourceWeft
- Open Kamai in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Other MCP clients
Add this to your client's mcpServers config.
{
"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.
Source: README.md at commit 0c8ee0f
Tools
0Version history
1- v1.0.0LatestSep 30, 2026
