What it exposes
Tools are projected from your workspace’s verified capabilities — the ones Peeve has confirmed exist in your product by mapping it. A capability appears as a tool only when all of the following hold:- it belongs to the current production version of your product map;
- its status is verified — not draft, stale or broken;
- its agent access is set to allowed — not human-only or blocked;
- it has not been disabled by a builder.
The two endpoints
Workspace-level
/api/mcp/{workspaceId}Unauthenticated, CORS *. Anyone with the URL can list and call tools. Safe
because it is read-only and guide-only.Per-user
/api/mcp/{workspaceId}/u/{contactId}The same tools, behind a pv_grant_… bearer token bound to one contact.
Revocable per person.Protocol
JSON-RPC 2.0 over HTTP. Protocol version2024-11-05, negotiated in the
initialize handshake.
Anything else returns
-32601 Method not found.
Notifications — a message with no id, or any method in the notifications/*
namespace — get no reply. A batch consisting only of notifications is answered
202 with no body.
Batches are supported: send an array, get an array back.
There is no version segment in the URL, on purpose. MCP negotiates its
protocol version in the handshake and tool changes are additive, so the URL
you paste into an assistant stays valid indefinitely.
What a tools/call actually returns
read, write, write — needs the user's confirmation,
and destructive — needs the user's confirmation.
Auditing
Everytools/call and every initialize lands in your activity log, recorded
after the response so it never slows a call.
The record carries the capability key, the method and the outcome — never the
arguments. On the per-user endpoint it is attributed to the granted contact,
so you can see which person’s assistant did what.
Next
Workspace endpoint
Full request and response shapes.
Per-user grants
Issuing and revoking
pv_grant_… tokens.Connect a client
Claude, Cursor and generic MCP client configuration.
Agent artifacts
The static alternative, for agents that do not speak MCP.