Skip to main content
PUT
Update MCP server

Authorizations

Authorization
string
header
required

JWT token obtained through Barndoor's OAuth 2.0 authorization-code flow with PKCE.

The token should be included in the Authorization header: Authorization: Bearer <your-jwt-token>

Use the Barndoor SDK's loginInteractive() function to obtain tokens automatically.

Path Parameters

server_id
string<uuid>
required

Server UUID

Body

application/json
name
string

Human-readable name for the server

Example:

"My Salesforce Instance"

slug
string

URL-friendly identifier

Pattern: ^[a-z0-9-]+$
client_id
string

OAuth client ID (provide actual value, not obfuscated)

client_secret
string

OAuth client secret (provide actual value, not obfuscated)

meta
object

Additional metadata for the server

Response

Server updated successfully

id
string<uuid>
required

Unique identifier for the server

Example:

"123e4567-e89b-12d3-a456-426614174000"

name
string
required

Human-readable name of the server

Example:

"Salesforce Production"

slug
string
required

URL-friendly identifier used in API paths

Pattern: ^[a-z0-9-]+$
Example:

"salesforce"

connection_status
enum<string>
required

Current connection status:

  • available: Server is available but not connected
  • pending: Connection is in progress or credentials missing
  • connected: Server is connected and ready to use
  • error: Connection failed or encountered an error
Available options:
available,
pending,
connected,
error
Example:

"connected"

provider
string | null

Third-party provider name

Example:

"salesforce"

url
string<uri> | null

MCP base URL from the server directory

Example:

"https://api.salesforce.com/mcp"