Tool connections
Create a connection
| Parameter | In | Required | Description |
|---|---|---|---|
userId | body | Yes | User ID |
toolId | body | Yes | Tool identifier (e.g. slack, linear) |
instanceName | body | Yes | Display name for this connection |
secret | body | Yes | API key or token to encrypt and store |
description | body | No | Optional description |
workspaceId | body | No | Workspace or project ID |
parentId | body | No | Parent connection ID (for nested instances under a multi-instance tool, e.g. project rows under a workspace row) |
List connections
Delete a connection
Decrypt a secret (server-side only)
MCP endpoints
MCP endpoints are user-specific URLs with unique tokens for connecting AI tools to Toolshed.Create an endpoint
| Parameter | In | Required | Description |
|---|---|---|---|
userId | body | Yes | User ID |
name | body | Yes | Endpoint name (e.g. “Claude Desktop”) |
description | body | No | Optional description |
List endpoints
Delete an endpoint
Encryption
Secrets are encrypted using AES-256-GCM with a key derived fromBETTER_AUTH_SECRET via SHA-256. The encrypted format is base64(iv):base64(ciphertext). The encryption key never leaves the server.