register_mcp_server
Registers an MCP server in a specified environment, requiring environmentId and connection details. Returns resource metadata to publish at /.well-known/oauth-protected-resource.
Instructions
Register a new MCP server in the specified environment. Requires environmentId parameter (format: env_). It needs the following parameters: name, description, url, access_token_expiry (in seconds), provider (the unique key_id which the customer has setup for connection - this is needed only when use_scalekit_authentication is chosen to be false), use_scalekit_authentication (this is a flag to indicate if the mcp server will be using scalekit authentication solution). The url that you provide will be made available in audience of token. The tool returns resource metadata of the registered MCP server. Show in a structured JSON format for resource metadata and prompt the user to make sure this resource metadata json is published on their mcp server with endpoint /.well-known/oauth-protected-resource.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| provider | No | ||
| description | No | ||
| mcpServerUrl | Yes | ||
| environmentId | Yes | ||
| accessTokenExpiry | Yes | ||
| useScalekitAuthentication | Yes |