MCP servers
Approve MCP tool drift
POST
Atomically replaces approved tool hashes with the most recently observed set. It never clears pins to create an unreviewed trust-on-first-use window. Introspect successfully before calling this operation.
bearerAuthheader
AuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
id*stringFormat
uuidIf-Match?stringOptional strong ETag (or *) from a prior response. A stale tag returns 412 without changing the resource.
Idempotency-Key*stringRequired. Reuse the same key to retry this write safely. Retries and idempotency.
Match
^[A-Za-z0-9!#$%&'*+.^_`|~-]+$Length
1 <= length <= 255Drift approved, or an explicit no_drift no-op.
application/json- response
id*stringFormat
uuidstatus*stringValue in
"no_drift""drift_approved"pinned_tool_hashes*Map of remote MCP tool name to SHA-256 of the sanitized description and input schema.
curl -X POST 'https://api.kejue.co/v1/mcp-servers/497f6eca-6276-4993-bfeb-53cbbbba6f08/approve-drift' \ -H 'Idempotency-Key: string'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "status": "no_drift", "pinned_tool_hashes": { "property1": "string", "property2": "string" }}