Skip to content

Connect an AI agent (MCP)

Zimmet runs an MCP server, so any MCP client can work with your inventory: desktop AI apps, coding agents, or your own scripts.

  1. In Zimmet, open the workspace the agent should work in, then the user menu (bottom of the sidebar) → Connect an agent.
  2. Create a token and copy it. It is shown once.
  3. Add the server to your MCP client. Most clients take this shape:
{
"mcpServers": {
"zimmet": {
"type": "http",
"url": "https://your-zimmet/api/mcp",
"headers": { "Authorization": "Bearer zmt_…" }
}
}
}

The server speaks MCP over Streamable HTTP at POST /api/mcp, without sessions.

A token works in the workspace it was created in, and only there. Create one per workspace if the agent should work in several. Removing you from the workspace stops the token.

The agent acts as you: it has your role in that workspace, and everything it changes shows in the item history under your name. Comments it writes are marked via agent. Viewers can read, comment, report a status, take free items and attach files to items, but not change stock or create items. Revoke a token any time from the same dialog.

Tool What it does
list_types All types with tracking, unit, minimum, labels, components and counts.
create_type New type, tracked one by one (serial) or by quantity (stock), optionally with its components.
set_components Replace the list of parts a type is assembled from. Installed items keep their place.
add_items New items of a serial type, each with its own code. installed_in installs them into an item right away.
add_stock Receive units at a location; joins the matching lot or starts one.
adjust_stock Add or remove units (delta) or set a counted quantity (counted_qty).
move_stock Move some or all units of a lot to another location.
find_items Search by text, type, status (issues), location or holder.
install Install one or more items into a parent item; moves them if installed elsewhere. Returns what the parent still misses.
take_out Remove installed items from their parent.
get_item One item with labels, holder, parent, installed and missing components, documents (with download links), pending handover, comments and history.
update_item Change an item’s name, location or labels.
update_items Set the same labels on many items of one type; given labels replace each item’s value.
low_stock Stock types below their minimum, with their lots.
set_status Set an item’s status with a note; faulty items notify watchers and admins.
list_users Members of the workspace with their email, role and how many items they hold.
give_custody Hand one or more items to a person, or nobody. Admins assign directly; others start a handover the recipient accepts.
pending_handovers Handovers waiting for you, and ones you started.
respond_handover Accept or decline a handover waiting for you.
add_comment Comment on an item or a type. @Name mentions notify people.
attach_document Attach a file to an item, a type, or a type’s items with one label value. The file comes as a public url, content_base64 or text.
list_workspaces Other workspaces you belong to, with your role there.
transfer_items Move items, with their installed components, documents, comments and history, to another workspace where you are editor or admin. Codes stay when free there; otherwise the result lists the new ones.

install picks the parent’s component of the child’s type. When the parent has several of that type (Left and Right monitor), it takes the first one with room, or the one named in slot. Items that aren’t a listed component still install and show as extra parts.

update_item and update_items refuse a choice that doesn’t fit its parent (a model from another manufacturer) and name the valid ones. update_items checks every item first, so one bad item leaves all unchanged. Changing a parent drops dependent choices that no longer fit.

Tokens of workspace admins also get these tools. Other roles don’t see them.

Tool What it does
invite_user Add a person to the workspace by email with a role. A new email gets an account and an invite link (also emailed when outbound email is set up).
update_user Change a member’s role in the workspace.
  • “I got 3 Rigol DS1054Z oscilloscopes. Add them, give oscilloscope_001 to Ayşe and attach this datasheet to every DS1054Z.”
  • “We got 240 M8 bolts. Put them on shelf B2 in Warehouse B.”
  • “Move 50 of them to Van 3.”
  • “Who has laptop_014, and is it under warranty?”
  • “What is running low? Make me a reorder list.”
  • “laptop_002’s screen flickers when docked. Mark it faulty.”
  • “What is waiting for me to accept? Accept the oscilloscope.”
  • “Set Model to Samsung 990 Pro on ssd_001 to ssd_010.”
  • “A Workstation has a left and a right Monitor and a Keyboard. Build workstation_003 from monitor_007, monitor_008 and keyboard_004.”
  • “Add this purchase link to every Samsung T7: https://…”
  • “Move laptop_014 and everything in it to the Field Ops workspace.”
  • “Add ali@example.com to this workspace as an editor.” (admin)

attach_document takes the file one of three ways:

  • url: Zimmet downloads it. Only public http/https addresses work; private network addresses are refused.
  • content_base64 with a filename: for files the agent has locally.
  • text with a filename: for notes, CSV and the like.

The size limit is MAX_UPLOAD_MB (default 50 MB). Attaching to a type or model needs the editor role; anyone can attach to an item.