Per-agent setup is in Connecting agents.
Workspace token
In the panel: Workspace → MCP → New token. Pick only the scopes the agent needs. The token (prefixiswt_) is shown once — keep it in an environment variable, not in a committed file:
A token can never exceed what its creator has in the shop team — if the creator loses access, the token stops working.
Tool groups
The owner sets each group to off / read / write in Workspace → MCP, for every token. A call’s effective access is the lower of the group setting and the token scopes.
Orders and stats have no write mode. Orders are off by default because they contain buyer data — you enable them deliberately.
The server also exposes the resources
itemshop://shop and itemshop://site/files/{path} (the draft) and two prompts: change_look and add_product.
Safety
- File edits go to the draft — nothing changes in production until a build is promoted.
promote_deploymentanddiscard_draftneed an explicitconfirm: true. You can reserve production publishing for the panel (Workspace → Publishing) — the agent then only shares a preview link. With the policy on (the default),promote_deploymentreturns403 WORKSPACE_PRODUCTION_REQUIRES_APPROVAL.- Product changes go through the same validation as the panel.
- Every call is recorded in the Workspace activity log (source
mcp). - Per-token limits: 240 requests per minute, of which 60 writes per minute. Failed authentications are rate-limited per IP.
- Suspect a leak? Revoke the token in the panel — it takes effect immediately.
stdio bridge
If your agent only runs local stdio servers, use@itemshop/mcp. It forwards every MCP message to the hosted server, so it has the same tools, scopes and limits.
The bridge accepts only workspace tokens (
iswt_…) and refuses to send the token over plain HTTP except to localhost. Diagnostics go to stderr; stdout carries only MCP messages.
“ItemShop rejected the workspace token”
“ItemShop rejected the workspace token”
The token was revoked, expired, or its creator lost access to the shop. Create a new one.
“No workspace token”
“No workspace token”
Set
ITEMSHOP_TOKEN in the environment the agent starts the bridge with.The agent sees fewer tools than expected
The agent sees fewer tools than expected
Check the token scopes and the group modes in Workspace → MCP. Test connection shows what is actually available.
Agent skills
ItemShop knowledge for your agent.
Connecting agents
Claude Code, Codex, Cursor setup.