Create a new MCP server instance from a server directory template.
The server will be created in pending status until OAuth credentials are configured.
If client_id and client_secret are provided, the server will be set to active status.
JWT token obtained through Auth0 OAuth 2.0 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.
Human-readable name for the server
"My Salesforce Instance"
ID of the server directory template to create from
Optional URL-friendly identifier (auto-generated if not provided)
^[a-z0-9-]+$OAuth client ID (for OAuth-enabled servers)
OAuth client secret (for OAuth-enabled servers)
Additional metadata for the server