Skip to content

Save an edit

PUT
/api/mcp/{id}
curl --request PUT \
--url http://localhost:5173/api/mcp/example \
--cookie authjs.session-token=<authjs.session-token>

An absent field is left alone. secret omitted keeps the stored token, secret: "" clears it. Renaming can change the slug the tools are named after, so the answer carries the record as stored.

id
required
string

Saved.

No such server