POST /api/tools/member
Add a team tool that runs on each person's own account for a service (member mode). Editor and up in the team the workspace header names. No secret is stored: each run uses the caller's own connection. An MCP service's actions are read with the creator's own connection (409 connect_personal_first without one). 409 member_mode_not_allowed when an admin makes every tool of that service run on its owner's account. A custom sign-in MCP server (connector_key custom_mcp with server_url) is read with the creator's own sign-in to that server.
Personal access token scope: tools:write.
bearerAuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
application/json- body
connector_key*stringThe service each person signs in to (a catalog key)
displayName?stringFor custom_mcp: the tool's name
folder_id?stringA folder of the team's tree to file the new tool in
permissions?Per-action permission overrides: {action: always|ask|off}
server_url?stringFor custom_mcp: the sign-in MCP server each person signs in to (a preset's server counts as that preset)
status?booleanSwitch it into the creator's own chats (default true)
transport_type?stringFor custom_mcp: auto (default), http or sse
Success
curl -X POST 'http://localhost:7091/api/tools/member' \ -H 'Content-Type: application/json' \ -d '{ "connector_key": "string"}'Handle OAuth callback by providing the authorization code and state GET
Handle OAuth callback by providing the authorization code and state. Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.
Create a new tool POST
Create a new tool. [Personal access token](/API/personal-access-tokens) scope: `tools:write`.