Update a Project MCP Gateway
post
/ic/api/integration/v1/projects/{projectId}/mcp/gateways/{id}
Updates an MCP gateway in a project. Set the X-HTTP-Method-Override header to PATCH. Omitted or null policy arrays retain existing policies; empty arrays clear the corresponding policy category. The resulting configuration requires at least one MCP server, at least one security or business policy, and an execution plan whose steps match the policies.
Request
Path Parameters
-
id(required): string
Resource code, optionally followed by |01.00.0000. Omitted versions default to 01.00.0000; other versions are rejected.Example:
MCP_GATEWAY -
projectId(required): string
Project identifierExample:
MCP_PROJECT
Query Parameters
-
integrationInstance(required): string
This is the name of the service instance. You can get this value from the About page where it is specified in the Service instance field.Example:
example-instance
Header Parameters
-
X-HTTP-Method-Override(required): string
Set to PATCH to update the resource using this POST operation.Example:
PATCH
Supported Media Types
- application/json; charset=utf-8
Root Schema : schema
Match All
Show Source
-
object
MCPGatewayRs
Project MCP gateway configuration, lifecycle state, resource references, and execution plan.
-
object
type
Nested Schema : MCPGatewayRs
Type:
objectProject MCP gateway configuration, lifecycle state, resource references, and execution plan.
Show Source
-
authorizationMode: string
Allowed Values:
[ "OIC", "DEDICATED_RESOURCE" ]Authorization mode for gateway activation. -
businessPolicies: array
businessPolicies
Policy references. On update, omitted or null retains existing policies and an empty array clears this category. A configured gateway must retain at least one security or business policy.
-
code: string
Resource code.
-
created: string
(date-time)
Time the resource was created.
-
createdBy: string
User who created the resource.
-
description: string
Description of the resource.
-
endpointURI: string
Runtime endpoint of an active MCP gateway.
-
executionPlan:
executionPlan
Policy execution order for gateway requests and responses.
-
id: string
Resource identifier.
-
lastUpdated: string
(date-time)
Time the resource was last updated.
-
lastUpdatedBy: string
User who last updated the resource.
-
links: array
links
Links to related resources.
-
mcpServers: array
mcpServers
MCP server references used by the gateway.
-
name: string
Display name of the resource.
-
processingTime: number
(float)
Server-reported processing time.
-
projectId: string
Project identifier.
-
projectName: string
Project display name.
-
securityPolicies: array
securityPolicies
Policy references. On update, omitted or null retains existing policies and an empty array clears this category. A configured gateway must retain at least one security or business policy.
-
status: string
Allowed Values:
[ "INPROGRESS", "ACTIVE", "CONFIGURED", "ACTIVATING", "ACTIVATION_FAILED", "DEACTIVATING", "FAILED" ]Current resource state. -
traceLevel: string
Allowed Values:
[ "NONE", "PRODUCTION", "AUDIT", "DEBUG" ]Gateway tracing level. -
version: string
Resource version. The release accepts only 01.00.0000 on writes and uses it when the version is omitted.
Nested Schema : type
Type:
Show Source
object-
status: string
Allowed Values:
[ "ACTIVE", "CONFIGURED" ]Optional requested gateway state. Only ACTIVE and CONFIGURED are accepted on update.
Nested Schema : businessPolicies
Type:
arrayPolicy references. On update, omitted or null retains existing policies and an empty array clears this category. A configured gateway must retain at least one security or business policy.
Show Source
-
Array of:
object ResourceRefRs
Reference to an MCP server or policy used by a gateway.
Nested Schema : executionPlan
Policy execution order for gateway requests and responses.
Match All
Policy execution order for gateway requests and responses.
Show Source
-
object
ExecutionPlanRs
Ordered policy steps applied to gateway requests and responses.
Nested Schema : links
Type:
arrayLinks to related resources.
Show Source
-
Array of:
object MCP2610_Link
A link to a related REST resource.
Nested Schema : mcpServers
Type:
arrayMCP server references used by the gateway.
Show Source
-
Array of:
object ResourceRefRs
Reference to an MCP server or policy used by a gateway.
Nested Schema : securityPolicies
Type:
arrayPolicy references. On update, omitted or null retains existing policies and an empty array clears this category. A configured gateway must retain at least one security or business policy.
Show Source
-
Array of:
object ResourceRefRs
Reference to an MCP server or policy used by a gateway.
Nested Schema : ResourceRefRs
Type:
objectReference to an MCP server or policy used by a gateway.
Show Source
-
code(required): string
Minimum Length:
1Pattern:[^\u0000-\u0020]Nonblank code of the referenced MCP server or policy. The referenced resource must exist in the current project. -
version: string
Referenced resource version. Omitted or blank values default to 01.00.0000; other nonblank versions are rejected.
Nested Schema : ExecutionPlanRs
Type:
objectOrdered policy steps applied to gateway requests and responses.
Show Source
-
request: array
request
Ordered policy execution steps for requests. If steps are supplied, their step numbers must start at 1 and be sequential. An omitted or empty list is allowed.
-
response: array
response
Ordered policy execution steps for responses. If steps are supplied, their step numbers must start at 1 and be sequential. An omitted or empty list is allowed.
Nested Schema : request
Type:
arrayOrdered policy execution steps for requests. If steps are supplied, their step numbers must start at 1 and be sequential. An omitted or empty list is allowed.
Show Source
-
Array of:
object ExecutionStepRs
One security or business policy step in the gateway execution plan.
Nested Schema : response
Type:
arrayOrdered policy execution steps for responses. If steps are supplied, their step numbers must start at 1 and be sequential. An omitted or empty list is allowed.
Show Source
-
Array of:
object ExecutionStepRs
One security or business policy step in the gateway execution plan.
Nested Schema : ExecutionStepRs
Type:
objectOne security or business policy step in the gateway execution plan.
Show Source
-
kind(required): string
Pattern:
^[\u0000-\u0020]*([Ss][Ee][Cc][Uu][Rr][Ii][Tt][Yy]_[Pp][Oo][Ll][Ii][Cc][Yy]|[Bb][Uu][Ss][Ii][Nn][Ee][Ss][Ss]_[Pp][Oo][Ll][Ii][Cc][Yy])[\u0000-\u0020]*$Policy kind: SECURITY_POLICY or BUSINESS_POLICY. Requests are trimmed and normalized to uppercase by the service; conventional mixed-case forms are accepted. -
policyCode(required): string
Minimum Length:
1Pattern:[^\u0000-\u0020]Nonblank code of the policy executed in this step. The code and normalized version must match a declared securityPolicies or businessPolicies reference, according to kind. -
policyVersion: string
Version of the policy executed in this step. Omitted or blank values default to 01.00.0000; other nonblank versions are rejected.
-
step(required): integer
(int32)
Minimum Value:
1Positive execution step number. Each request or response step list must be sequential, starting at 1; sequence order is validated by the service.
Nested Schema : MCP2610_Link
Type:
objectA link to a related REST resource.
Show Source
-
href: string
URL of the linked resource.
-
mediaType: string
Media type of the linked resource.
-
rel: string
Relationship of the linked resource.
Response
Supported Media Types
- application/vnd.oracle.model+json;type=singular
- application/json; charset=utf-8
200 Response
Successful operation
Root Schema : MCPGatewayRs
Type:
objectProject MCP gateway configuration, lifecycle state, resource references, and execution plan.
Show Source
-
authorizationMode: string
Allowed Values:
[ "OIC", "DEDICATED_RESOURCE" ]Authorization mode for gateway activation. -
businessPolicies: array
businessPolicies
Policy references. On update, omitted or null retains existing policies and an empty array clears this category. A configured gateway must retain at least one security or business policy.
-
code: string
Resource code.
-
created: string
(date-time)
Time the resource was created.
-
createdBy: string
User who created the resource.
-
description: string
Description of the resource.
-
endpointURI: string
Runtime endpoint of an active MCP gateway.
-
executionPlan:
executionPlan
Policy execution order for gateway requests and responses.
-
id: string
Resource identifier.
-
lastUpdated: string
(date-time)
Time the resource was last updated.
-
lastUpdatedBy: string
User who last updated the resource.
-
links: array
links
Links to related resources.
-
mcpServers: array
mcpServers
MCP server references used by the gateway.
-
name: string
Display name of the resource.
-
processingTime: number
(float)
Server-reported processing time.
-
projectId: string
Project identifier.
-
projectName: string
Project display name.
-
securityPolicies: array
securityPolicies
Policy references. On update, omitted or null retains existing policies and an empty array clears this category. A configured gateway must retain at least one security or business policy.
-
status: string
Allowed Values:
[ "INPROGRESS", "ACTIVE", "CONFIGURED", "ACTIVATING", "ACTIVATION_FAILED", "DEACTIVATING", "FAILED" ]Current resource state. -
traceLevel: string
Allowed Values:
[ "NONE", "PRODUCTION", "AUDIT", "DEBUG" ]Gateway tracing level. -
version: string
Resource version. The release accepts only 01.00.0000 on writes and uses it when the version is omitted.
Nested Schema : businessPolicies
Type:
arrayPolicy references. On update, omitted or null retains existing policies and an empty array clears this category. A configured gateway must retain at least one security or business policy.
Show Source
-
Array of:
object ResourceRefRs
Reference to an MCP server or policy used by a gateway.
Nested Schema : executionPlan
Policy execution order for gateway requests and responses.
Match All
Policy execution order for gateway requests and responses.
Show Source
-
object
ExecutionPlanRs
Ordered policy steps applied to gateway requests and responses.
Nested Schema : links
Type:
arrayLinks to related resources.
Show Source
-
Array of:
object MCP2610_Link
A link to a related REST resource.
Nested Schema : mcpServers
Type:
arrayMCP server references used by the gateway.
Show Source
-
Array of:
object ResourceRefRs
Reference to an MCP server or policy used by a gateway.
Nested Schema : securityPolicies
Type:
arrayPolicy references. On update, omitted or null retains existing policies and an empty array clears this category. A configured gateway must retain at least one security or business policy.
Show Source
-
Array of:
object ResourceRefRs
Reference to an MCP server or policy used by a gateway.
Nested Schema : ResourceRefRs
Type:
objectReference to an MCP server or policy used by a gateway.
Show Source
-
code(required): string
Minimum Length:
1Pattern:[^\u0000-\u0020]Nonblank code of the referenced MCP server or policy. The referenced resource must exist in the current project. -
version: string
Referenced resource version. Omitted or blank values default to 01.00.0000; other nonblank versions are rejected.
Nested Schema : ExecutionPlanRs
Type:
objectOrdered policy steps applied to gateway requests and responses.
Show Source
-
request: array
request
Ordered policy execution steps for requests. If steps are supplied, their step numbers must start at 1 and be sequential. An omitted or empty list is allowed.
-
response: array
response
Ordered policy execution steps for responses. If steps are supplied, their step numbers must start at 1 and be sequential. An omitted or empty list is allowed.
Nested Schema : request
Type:
arrayOrdered policy execution steps for requests. If steps are supplied, their step numbers must start at 1 and be sequential. An omitted or empty list is allowed.
Show Source
-
Array of:
object ExecutionStepRs
One security or business policy step in the gateway execution plan.
Nested Schema : response
Type:
arrayOrdered policy execution steps for responses. If steps are supplied, their step numbers must start at 1 and be sequential. An omitted or empty list is allowed.
Show Source
-
Array of:
object ExecutionStepRs
One security or business policy step in the gateway execution plan.
Nested Schema : ExecutionStepRs
Type:
objectOne security or business policy step in the gateway execution plan.
Show Source
-
kind(required): string
Pattern:
^[\u0000-\u0020]*([Ss][Ee][Cc][Uu][Rr][Ii][Tt][Yy]_[Pp][Oo][Ll][Ii][Cc][Yy]|[Bb][Uu][Ss][Ii][Nn][Ee][Ss][Ss]_[Pp][Oo][Ll][Ii][Cc][Yy])[\u0000-\u0020]*$Policy kind: SECURITY_POLICY or BUSINESS_POLICY. Requests are trimmed and normalized to uppercase by the service; conventional mixed-case forms are accepted. -
policyCode(required): string
Minimum Length:
1Pattern:[^\u0000-\u0020]Nonblank code of the policy executed in this step. The code and normalized version must match a declared securityPolicies or businessPolicies reference, according to kind. -
policyVersion: string
Version of the policy executed in this step. Omitted or blank values default to 01.00.0000; other nonblank versions are rejected.
-
step(required): integer
(int32)
Minimum Value:
1Positive execution step number. Each request or response step list must be sequential, starting at 1; sequence order is validated by the service.
Nested Schema : MCP2610_Link
Type:
objectA link to a related REST resource.
Show Source
-
href: string
URL of the linked resource.
-
mediaType: string
Media type of the linked resource.
-
rel: string
Relationship of the linked resource.
400 Response
Malformed parameters
401 Response
Unauthorized or insufficient design-time permissions
404 Response
Project or resource not found, or the MCP feature is not available
412 Response
Precondition failed
500 Response
Server error
Examples
The following example shows how to update an MCP gateway in a project by submitting a POST request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, see Send Requests.
Example: Update a Project MCP Gateway
curl --request POST --include \
--url "${BASE_URL}/ic/api/integration/v1/projects/${PROJECT_ID}/mcp/gateways/${GATEWAY_ID}?integrationInstance=${INTEGRATION_INSTANCE}" \
--header "Authorization: Bearer ${ACCESS_TOKEN}" \
--header "Accept: application/json" \
--header "X-HTTP-Method-Override: PATCH" \
--header "Content-Type: application/json; charset=utf-8" \
--data-raw '{
"name": "MCP Gateway Updated"
}'