authed

Update Mcp Connection

Change a connection's tools: its member within their role, a holder of member.manage only by unticking — power comes only from the member's consent. The row stays locked from its read to the save, so no other change is judged against tools this one replaces.

patch/api/v1/mcp-connections/{connection_id}

Request

  • Base URL
    https://api.teaflask.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.teaflask.com/api/v1/mcp-connections/{connection_id}
  • Auth
    none declared

Path parameters

connection_idstring uuid required

Request body

toolsstring[] required

The tools the AI tool may call; organization basics are always added.

Response

Successful Response

idstring uuid required
user_idstring uuid required

The member who connected the tool.

oauth_client_idstring required
client_namestring required

The name the tool registered under.

toolsstring[] required

The tools it may call that teaflask still offers.

usable_toolsstring[] required

The choosable tools its member's current role can give an AI tool; a stored tool outside them is off until the role allows it.

new_toolsstring[] required

Choosable tools teaflask added since its member last chose; they stay off until the member ticks them.

created_atstring date-time required
updated_atstring date-time required
last_used_atstring date-time nullable required
revoked_atstring date-time nullable required
sign_out_pendingboolean required

Disconnected, but the tool may still hold its sign-in; its member finishes the sign-out by disconnecting it again.

Changes

No recorded changes to this operation across all 1 revision of this API.