CreateSatelliteExtension

Updated at:

Creates an environment agent extension.

Operation description

Creates an extension configuration, such as a private HTTP MCP server, and a tool execution policy under a specified environment agent.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /digitalEmployee/{name}/satellites/{satelliteId}/extensions HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

name

string

Yes

The name of the digital worker. The name must start with a lowercase letter or a digit, and can contain only lowercase letters, digits, underscores (_), and hyphens (-). The name cannot exceed 64 characters in length.

ops-bot

satelliteId

string

Yes

The ID of the environment agent (Satellite). The ID is in the format of sat- followed by 16 lowercase hexadecimal characters.

sat-0123456789abcdef

Request parameters

Parameter

Type

Required

Description

Example

body

object

No

The configuration of the extension. String fields do not support 4-byte characters such as emojis. The serialized configuration cannot exceed 64 KiB in size. You can create up to 16 extensions for each environment agent.

extensionName

string

Yes

The name of the extension. The name must be unique within the same environment agent. It must start with a lowercase letter and can contain only lowercase letters, digits, and hyphens (-). The name cannot exceed 32 characters in length. The name cannot be modified after creation.

jira

type

string

Yes

The type of the extension. Only mcp is supported. The type cannot be modified after creation.

mcp

description

string

No

The description of the extension. The description cannot exceed 1,024 bytes in length. Default value: an empty string.

Internal Jira MCP service

enabled

boolean

No

Specifies whether to enable the extension. Default value: true. If this parameter is set to false, the machine stops the extension.

true

mcp

object

No

The connection configuration of the MCP server. This parameter is required when type is set to mcp. Only HTTP connections (Streamable HTTP or HTTP+SSE) are supported. The protocol version and transport method are automatically identified. Only the url, headers, and auth fields can be included.

url

string

No

The URL of the MCP server. This parameter is required when type is set to mcp. The URL must be an absolute URL that starts with http:// or https:// in lowercase. It cannot exceed 2,048 bytes in length and cannot contain user information (user:pass@) or fragments (#). Credentials must be placed in auth or headers.

https://mcp.example.com/mcp

headers

object

No

The additional request headers used when connecting to the MCP server. The key is the header name and the value is the header value. The name must conform to the HTTP token syntax, is case-insensitive, and cannot be repeated. A maximum of 16 headers are allowed, excluding Authorization. A single name cannot exceed 64 bytes, and a single value cannot exceed 4 KiB. The total size of the name and value cannot exceed 8 KiB, including Authorization. You cannot set the Host, Content-Length, Content-Type, Accept, Connection, Transfer-Encoding, Mcp-Session-Id, MCP-Protocol-Version, Mcp-Method, and Mcp-Name headers, or any headers that start with Mcp-Param-.

string

No

The value of the request header. The value cannot contain control characters such as carriage returns and line feeds, except for horizontal tabs.

example-value

auth

object

No

The authentication configuration for accessing the MCP server. No authentication is performed if this parameter is not passed or if type is an empty string. If this parameter is configured at the same time as Authorization in headers, the authentication information generated by this field takes precedence.

type

string

No

The authentication method. Valid values: bearer and basic. The value is case-insensitive. No authentication is performed when the value is an empty string. In this case, keyInfo must be empty.

bearer

keyInfo

object

No

The authentication information. Keys must be unique. When type is set to bearer, this parameter must include a token. The token cannot be empty, consist only of whitespace characters, or contain control characters. The token can include or omit the Bearer prefix. When type is set to basic, this parameter must include a username and a password. The username cannot be empty or contain colons (:) or control characters. The password cannot be empty or consist only of whitespace characters. Other keys are not used for authentication and are saved and returned as-is.

string

No

The value of the authentication information, such as the value of the token, username, or password.

example-token

defaultToolMode

string

No

The mode used for tools not listed in toolPolicies, including tools added later by the MCP server. Valid values: auto (automatic execution), hil (manual confirmation required before each execution), and disabled (unavailable). Default value: disabled.

disabled

toolPolicies

array<object>

No

The mode settings for individual tools. A maximum of 256 items are allowed. The list can include tools that are not in the current tool catalog.

object

No

The mode settings for an individual tool.

toolName

string

Yes

The name of the tool, which is obtained from the tool catalog returned by FetchSatelliteExtensionTools. The name cannot be empty, cannot exceed 256 bytes in length, and cannot contain control characters. The name must be unique within the list.

search_issues

mode

string

Yes

The mode of the tool. Valid values: auto (automatic execution), hil (manual confirmation required before each execution), and disabled (unavailable).

auto

displayName

string

No

The display name. The name cannot exceed 512 bytes in length. Default value: an empty string.

Jira

Response elements

Element

Type

Description

Example

object

The response data.

requestId

string

The request ID.

0E5B3C2A-1D4F-4A6B-8C9D-7E1F2A3B4C5D

configRevision

integer

The version of the extension configuration after creation. You can compare this version with the appliedConfigRevision returned by GetSatelliteExtension to determine whether the machine has applied the configuration.

7

extension

object

The extension configuration after creation, excluding the running status.

extensionName

string

The name of the extension.

jira

type

string

The type of the extension. The current value is mcp.

mcp

description

string

The description of the extension. If not set, the value is an empty string.

Internal Jira MCP service

enabled

boolean

Indicates whether the extension is enabled.

true

mcp

object

The connection configuration of the MCP server, including the saved authentication credentials.

url

string

The URL of the MCP server.

https://mcp.example.com/mcp

headers

object

The additional request headers used when connecting to the MCP server. The key is the header name.

string

The value of the request header.

example-value

auth

object

The authentication configuration for accessing the MCP server.

type

string

The authentication method. Valid values: bearer and basic.

bearer

keyInfo

object

The authentication information. The saved credentials are returned as-is.

string

The value of the authentication information.

example-token

defaultToolMode

string

The mode used for tools not listed in toolPolicies. Valid values: auto, hil, and disabled.

disabled

toolPolicies

array<object>

The mode settings for an individual tool.

object

The mode settings for an individual tool.

toolName

string

The name of the tool.

search_issues

mode

string

The target mode of the tool. Valid values: auto, hil, and disabled.

auto

createTime

string

The creation time in ISO 8601 format (UTC), accurate to seconds.

2026-10-13T08:00:00Z

updateTime

string

The last update time in ISO 8601 format (UTC), accurate to seconds.

2026-10-13T08:00:00Z

displayName

string

The display name. If not set, the value is an empty string.

Jira

Examples

Success response

JSON format

{
  "requestId": "0E5B3C2A-1D4F-4A6B-8C9D-7E1F2A3B4C5D",
  "configRevision": 7,
  "extension": {
    "extensionName": "jira",
    "type": "mcp",
    "description": "内网 Jira MCP 服务",
    "enabled": true,
    "mcp": {
      "url": "https://mcp.example.com/mcp",
      "headers": {
        "key": "example-value"
      },
      "auth": {
        "type": "bearer",
        "keyInfo": {
          "key": "example-token"
        }
      }
    },
    "defaultToolMode": "disabled",
    "toolPolicies": [
      {
        "toolName": "search_issues",
        "mode": "auto"
      }
    ],
    "createTime": "2026-10-13T08:00:00Z",
    "updateTime": "2026-10-13T08:00:00Z",
    "displayName": "Jira"
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.