1. Packages
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. DatabaseTools
  6. DatabaseToolsMcpServer
Viewing docs for Oracle Cloud Infrastructure v4.13.0
published on Thursday, May 28, 2026 by Pulumi
oci logo
Viewing docs for Oracle Cloud Infrastructure v4.13.0
published on Thursday, May 28, 2026 by Pulumi

    This resource provides the Database Tools Mcp Server resource in Oracle Cloud Infrastructure Database Tools service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database-tools/latest/DatabaseToolsMcpServer

    Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/databaseTools

    Creates a new Database Tools MCP server.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDatabaseToolsMcpServer = new oci.databasetools.DatabaseToolsMcpServer("test_database_tools_mcp_server", {
        compartmentId: compartmentId,
        databaseToolsConnectionId: testDatabaseToolsConnection.id,
        displayName: databaseToolsMcpServerDisplayName,
        domainId: testDomain.id,
        storage: {
            type: databaseToolsMcpServerStorageType,
            bucket: {
                bucket: databaseToolsMcpServerStorageBucketBucket,
                namespace: databaseToolsMcpServerStorageBucketNamespace,
            },
        },
        type: databaseToolsMcpServerType,
        accessTokenExpiryInSeconds: Number(databaseToolsMcpServerAccessTokenExpiryInSeconds),
        customRoles: [{
            description: databaseToolsMcpServerCustomRolesDescription,
            displayName: databaseToolsMcpServerCustomRolesDisplayName,
        }],
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        description: databaseToolsMcpServerDescription,
        freeformTags: {
            "bar-key": "value",
        },
        locks: [{
            type: databaseToolsMcpServerLocksType,
            message: databaseToolsMcpServerLocksMessage,
            relatedResourceId: testResource.id,
            timeCreated: databaseToolsMcpServerLocksTimeCreated,
        }],
        refreshTokenExpiryInSeconds: Number(databaseToolsMcpServerRefreshTokenExpiryInSeconds),
        runtimeIdentity: databaseToolsMcpServerRuntimeIdentity,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_database_tools_mcp_server = oci.databasetools.DatabaseToolsMcpServer("test_database_tools_mcp_server",
        compartment_id=compartment_id,
        database_tools_connection_id=test_database_tools_connection["id"],
        display_name=database_tools_mcp_server_display_name,
        domain_id=test_domain["id"],
        storage={
            "type": database_tools_mcp_server_storage_type,
            "bucket": {
                "bucket": database_tools_mcp_server_storage_bucket_bucket,
                "namespace": database_tools_mcp_server_storage_bucket_namespace,
            },
        },
        type=database_tools_mcp_server_type,
        access_token_expiry_in_seconds=int(database_tools_mcp_server_access_token_expiry_in_seconds),
        custom_roles=[{
            "description": database_tools_mcp_server_custom_roles_description,
            "display_name": database_tools_mcp_server_custom_roles_display_name,
        }],
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        description=database_tools_mcp_server_description,
        freeform_tags={
            "bar-key": "value",
        },
        locks=[{
            "type": database_tools_mcp_server_locks_type,
            "message": database_tools_mcp_server_locks_message,
            "related_resource_id": test_resource["id"],
            "time_created": database_tools_mcp_server_locks_time_created,
        }],
        refresh_token_expiry_in_seconds=int(database_tools_mcp_server_refresh_token_expiry_in_seconds),
        runtime_identity=database_tools_mcp_server_runtime_identity)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/databasetools"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databasetools.NewDatabaseToolsMcpServer(ctx, "test_database_tools_mcp_server", &databasetools.DatabaseToolsMcpServerArgs{
    			CompartmentId:             pulumi.Any(compartmentId),
    			DatabaseToolsConnectionId: pulumi.Any(testDatabaseToolsConnection.Id),
    			DisplayName:               pulumi.Any(databaseToolsMcpServerDisplayName),
    			DomainId:                  pulumi.Any(testDomain.Id),
    			Storage: &databasetools.DatabaseToolsMcpServerStorageArgs{
    				Type: pulumi.Any(databaseToolsMcpServerStorageType),
    				Bucket: &databasetools.DatabaseToolsMcpServerStorageBucketArgs{
    					Bucket:    pulumi.Any(databaseToolsMcpServerStorageBucketBucket),
    					Namespace: pulumi.Any(databaseToolsMcpServerStorageBucketNamespace),
    				},
    			},
    			Type:                       pulumi.Any(databaseToolsMcpServerType),
    			AccessTokenExpiryInSeconds: pulumi.Any(databaseToolsMcpServerAccessTokenExpiryInSeconds),
    			CustomRoles: databasetools.DatabaseToolsMcpServerCustomRoleArray{
    				&databasetools.DatabaseToolsMcpServerCustomRoleArgs{
    					Description: pulumi.Any(databaseToolsMcpServerCustomRolesDescription),
    					DisplayName: pulumi.Any(databaseToolsMcpServerCustomRolesDisplayName),
    				},
    			},
    			DefinedTags: pulumi.StringMap{
    				"foo-namespace.bar-key": pulumi.String("value"),
    			},
    			Description: pulumi.Any(databaseToolsMcpServerDescription),
    			FreeformTags: pulumi.StringMap{
    				"bar-key": pulumi.String("value"),
    			},
    			Locks: databasetools.DatabaseToolsMcpServerLockArray{
    				&databasetools.DatabaseToolsMcpServerLockArgs{
    					Type:              pulumi.Any(databaseToolsMcpServerLocksType),
    					Message:           pulumi.Any(databaseToolsMcpServerLocksMessage),
    					RelatedResourceId: pulumi.Any(testResource.Id),
    					TimeCreated:       pulumi.Any(databaseToolsMcpServerLocksTimeCreated),
    				},
    			},
    			RefreshTokenExpiryInSeconds: pulumi.Any(databaseToolsMcpServerRefreshTokenExpiryInSeconds),
    			RuntimeIdentity:             pulumi.Any(databaseToolsMcpServerRuntimeIdentity),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testDatabaseToolsMcpServer = new Oci.DatabaseTools.DatabaseToolsMcpServer("test_database_tools_mcp_server", new()
        {
            CompartmentId = compartmentId,
            DatabaseToolsConnectionId = testDatabaseToolsConnection.Id,
            DisplayName = databaseToolsMcpServerDisplayName,
            DomainId = testDomain.Id,
            Storage = new Oci.DatabaseTools.Inputs.DatabaseToolsMcpServerStorageArgs
            {
                Type = databaseToolsMcpServerStorageType,
                Bucket = new Oci.DatabaseTools.Inputs.DatabaseToolsMcpServerStorageBucketArgs
                {
                    Bucket = databaseToolsMcpServerStorageBucketBucket,
                    Namespace = databaseToolsMcpServerStorageBucketNamespace,
                },
            },
            Type = databaseToolsMcpServerType,
            AccessTokenExpiryInSeconds = databaseToolsMcpServerAccessTokenExpiryInSeconds,
            CustomRoles = new[]
            {
                new Oci.DatabaseTools.Inputs.DatabaseToolsMcpServerCustomRoleArgs
                {
                    Description = databaseToolsMcpServerCustomRolesDescription,
                    DisplayName = databaseToolsMcpServerCustomRolesDisplayName,
                },
            },
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            Description = databaseToolsMcpServerDescription,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            Locks = new[]
            {
                new Oci.DatabaseTools.Inputs.DatabaseToolsMcpServerLockArgs
                {
                    Type = databaseToolsMcpServerLocksType,
                    Message = databaseToolsMcpServerLocksMessage,
                    RelatedResourceId = testResource.Id,
                    TimeCreated = databaseToolsMcpServerLocksTimeCreated,
                },
            },
            RefreshTokenExpiryInSeconds = databaseToolsMcpServerRefreshTokenExpiryInSeconds,
            RuntimeIdentity = databaseToolsMcpServerRuntimeIdentity,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DatabaseTools.DatabaseToolsMcpServer;
    import com.pulumi.oci.DatabaseTools.DatabaseToolsMcpServerArgs;
    import com.pulumi.oci.DatabaseTools.inputs.DatabaseToolsMcpServerStorageArgs;
    import com.pulumi.oci.DatabaseTools.inputs.DatabaseToolsMcpServerStorageBucketArgs;
    import com.pulumi.oci.DatabaseTools.inputs.DatabaseToolsMcpServerCustomRoleArgs;
    import com.pulumi.oci.DatabaseTools.inputs.DatabaseToolsMcpServerLockArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testDatabaseToolsMcpServer = new DatabaseToolsMcpServer("testDatabaseToolsMcpServer", DatabaseToolsMcpServerArgs.builder()
                .compartmentId(compartmentId)
                .databaseToolsConnectionId(testDatabaseToolsConnection.id())
                .displayName(databaseToolsMcpServerDisplayName)
                .domainId(testDomain.id())
                .storage(DatabaseToolsMcpServerStorageArgs.builder()
                    .type(databaseToolsMcpServerStorageType)
                    .bucket(DatabaseToolsMcpServerStorageBucketArgs.builder()
                        .bucket(databaseToolsMcpServerStorageBucketBucket)
                        .namespace(databaseToolsMcpServerStorageBucketNamespace)
                        .build())
                    .build())
                .type(databaseToolsMcpServerType)
                .accessTokenExpiryInSeconds(databaseToolsMcpServerAccessTokenExpiryInSeconds)
                .customRoles(DatabaseToolsMcpServerCustomRoleArgs.builder()
                    .description(databaseToolsMcpServerCustomRolesDescription)
                    .displayName(databaseToolsMcpServerCustomRolesDisplayName)
                    .build())
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .description(databaseToolsMcpServerDescription)
                .freeformTags(Map.of("bar-key", "value"))
                .locks(DatabaseToolsMcpServerLockArgs.builder()
                    .type(databaseToolsMcpServerLocksType)
                    .message(databaseToolsMcpServerLocksMessage)
                    .relatedResourceId(testResource.id())
                    .timeCreated(databaseToolsMcpServerLocksTimeCreated)
                    .build())
                .refreshTokenExpiryInSeconds(databaseToolsMcpServerRefreshTokenExpiryInSeconds)
                .runtimeIdentity(databaseToolsMcpServerRuntimeIdentity)
                .build());
    
        }
    }
    
    resources:
      testDatabaseToolsMcpServer:
        type: oci:DatabaseTools:DatabaseToolsMcpServer
        name: test_database_tools_mcp_server
        properties:
          compartmentId: ${compartmentId}
          databaseToolsConnectionId: ${testDatabaseToolsConnection.id}
          displayName: ${databaseToolsMcpServerDisplayName}
          domainId: ${testDomain.id}
          storage:
            type: ${databaseToolsMcpServerStorageType}
            bucket:
              bucket: ${databaseToolsMcpServerStorageBucketBucket}
              namespace: ${databaseToolsMcpServerStorageBucketNamespace}
          type: ${databaseToolsMcpServerType}
          accessTokenExpiryInSeconds: ${databaseToolsMcpServerAccessTokenExpiryInSeconds}
          customRoles:
            - description: ${databaseToolsMcpServerCustomRolesDescription}
              displayName: ${databaseToolsMcpServerCustomRolesDisplayName}
          definedTags:
            foo-namespace.bar-key: value
          description: ${databaseToolsMcpServerDescription}
          freeformTags:
            bar-key: value
          locks:
            - type: ${databaseToolsMcpServerLocksType}
              message: ${databaseToolsMcpServerLocksMessage}
              relatedResourceId: ${testResource.id}
              timeCreated: ${databaseToolsMcpServerLocksTimeCreated}
          refreshTokenExpiryInSeconds: ${databaseToolsMcpServerRefreshTokenExpiryInSeconds}
          runtimeIdentity: ${databaseToolsMcpServerRuntimeIdentity}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    resource "oci_databasetools_databasetoolsmcpserver" "test_database_tools_mcp_server" {
      compartment_id               = compartmentId
      database_tools_connection_id = testDatabaseToolsConnection.id
      display_name                 = databaseToolsMcpServerDisplayName
      domain_id                    = testDomain.id
      storage = {
        type = databaseToolsMcpServerStorageType
        bucket = {
          bucket    = databaseToolsMcpServerStorageBucketBucket
          namespace = databaseToolsMcpServerStorageBucketNamespace
        }
      }
      #Required
      #Optional
      type                           = databaseToolsMcpServerType
      access_token_expiry_in_seconds = databaseToolsMcpServerAccessTokenExpiryInSeconds
      custom_roles {
        description  = databaseToolsMcpServerCustomRolesDescription
        display_name = databaseToolsMcpServerCustomRolesDisplayName
      }
      #Required
      defined_tags = {
        "foo-namespace.bar-key" = "value"
      }
      description = databaseToolsMcpServerDescription
      freeform_tags = {
        "bar-key" = "value"
      }
      locks {
        type                = databaseToolsMcpServerLocksType
        message             = databaseToolsMcpServerLocksMessage
        related_resource_id = testResource.id
        time_created        = databaseToolsMcpServerLocksTimeCreated
      }
      #Required
      #Optional
      refresh_token_expiry_in_seconds = databaseToolsMcpServerRefreshTokenExpiryInSeconds
      runtime_identity                = databaseToolsMcpServerRuntimeIdentity
    }
    

    Create DatabaseToolsMcpServer Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DatabaseToolsMcpServer(name: string, args: DatabaseToolsMcpServerArgs, opts?: CustomResourceOptions);
    @overload
    def DatabaseToolsMcpServer(resource_name: str,
                               args: DatabaseToolsMcpServerArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def DatabaseToolsMcpServer(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               display_name: Optional[str] = None,
                               storage: Optional[DatabaseToolsMcpServerStorageArgs] = None,
                               type: Optional[str] = None,
                               database_tools_connection_id: Optional[str] = None,
                               domain_id: Optional[str] = None,
                               compartment_id: Optional[str] = None,
                               defined_tags: Optional[Mapping[str, str]] = None,
                               freeform_tags: Optional[Mapping[str, str]] = None,
                               description: Optional[str] = None,
                               locks: Optional[Sequence[DatabaseToolsMcpServerLockArgs]] = None,
                               refresh_token_expiry_in_seconds: Optional[int] = None,
                               runtime_identity: Optional[str] = None,
                               access_token_expiry_in_seconds: Optional[int] = None,
                               custom_roles: Optional[Sequence[DatabaseToolsMcpServerCustomRoleArgs]] = None)
    func NewDatabaseToolsMcpServer(ctx *Context, name string, args DatabaseToolsMcpServerArgs, opts ...ResourceOption) (*DatabaseToolsMcpServer, error)
    public DatabaseToolsMcpServer(string name, DatabaseToolsMcpServerArgs args, CustomResourceOptions? opts = null)
    public DatabaseToolsMcpServer(String name, DatabaseToolsMcpServerArgs args)
    public DatabaseToolsMcpServer(String name, DatabaseToolsMcpServerArgs args, CustomResourceOptions options)
    
    type: oci:DatabaseTools:DatabaseToolsMcpServer
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "oci_databasetools_databasetoolsmcpserver" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DatabaseToolsMcpServerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DatabaseToolsMcpServerArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DatabaseToolsMcpServerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DatabaseToolsMcpServerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DatabaseToolsMcpServerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var databaseToolsMcpServerResource = new Oci.DatabaseTools.DatabaseToolsMcpServer("databaseToolsMcpServerResource", new()
    {
        DisplayName = "string",
        Storage = new Oci.DatabaseTools.Inputs.DatabaseToolsMcpServerStorageArgs
        {
            Type = "string",
            Bucket = new Oci.DatabaseTools.Inputs.DatabaseToolsMcpServerStorageBucketArgs
            {
                Bucket = "string",
                Namespace = "string",
            },
        },
        Type = "string",
        DatabaseToolsConnectionId = "string",
        DomainId = "string",
        CompartmentId = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
        Description = "string",
        Locks = new[]
        {
            new Oci.DatabaseTools.Inputs.DatabaseToolsMcpServerLockArgs
            {
                Type = "string",
                Message = "string",
                RelatedResourceId = "string",
                TimeCreated = "string",
            },
        },
        RefreshTokenExpiryInSeconds = 0,
        RuntimeIdentity = "string",
        AccessTokenExpiryInSeconds = 0,
        CustomRoles = new[]
        {
            new Oci.DatabaseTools.Inputs.DatabaseToolsMcpServerCustomRoleArgs
            {
                Description = "string",
                DisplayName = "string",
            },
        },
    });
    
    example, err := databasetools.NewDatabaseToolsMcpServer(ctx, "databaseToolsMcpServerResource", &databasetools.DatabaseToolsMcpServerArgs{
    	DisplayName: pulumi.String("string"),
    	Storage: &databasetools.DatabaseToolsMcpServerStorageArgs{
    		Type: pulumi.String("string"),
    		Bucket: &databasetools.DatabaseToolsMcpServerStorageBucketArgs{
    			Bucket:    pulumi.String("string"),
    			Namespace: pulumi.String("string"),
    		},
    	},
    	Type:                      pulumi.String("string"),
    	DatabaseToolsConnectionId: pulumi.String("string"),
    	DomainId:                  pulumi.String("string"),
    	CompartmentId:             pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	Locks: databasetools.DatabaseToolsMcpServerLockArray{
    		&databasetools.DatabaseToolsMcpServerLockArgs{
    			Type:              pulumi.String("string"),
    			Message:           pulumi.String("string"),
    			RelatedResourceId: pulumi.String("string"),
    			TimeCreated:       pulumi.String("string"),
    		},
    	},
    	RefreshTokenExpiryInSeconds: pulumi.Int(0),
    	RuntimeIdentity:             pulumi.String("string"),
    	AccessTokenExpiryInSeconds:  pulumi.Int(0),
    	CustomRoles: databasetools.DatabaseToolsMcpServerCustomRoleArray{
    		&databasetools.DatabaseToolsMcpServerCustomRoleArgs{
    			Description: pulumi.String("string"),
    			DisplayName: pulumi.String("string"),
    		},
    	},
    })
    
    resource "oci_databasetools_databasetoolsmcpserver" "databaseToolsMcpServerResource" {
      display_name = "string"
      storage = {
        type = "string"
        bucket = {
          bucket    = "string"
          namespace = "string"
        }
      }
      type                         = "string"
      database_tools_connection_id = "string"
      domain_id                    = "string"
      compartment_id               = "string"
      defined_tags = {
        "string" = "string"
      }
      freeform_tags = {
        "string" = "string"
      }
      description = "string"
      locks {
        type                = "string"
        message             = "string"
        related_resource_id = "string"
        time_created        = "string"
      }
      refresh_token_expiry_in_seconds = 0
      runtime_identity                = "string"
      access_token_expiry_in_seconds  = 0
      custom_roles {
        description  = "string"
        display_name = "string"
      }
    }
    
    var databaseToolsMcpServerResource = new DatabaseToolsMcpServer("databaseToolsMcpServerResource", DatabaseToolsMcpServerArgs.builder()
        .displayName("string")
        .storage(DatabaseToolsMcpServerStorageArgs.builder()
            .type("string")
            .bucket(DatabaseToolsMcpServerStorageBucketArgs.builder()
                .bucket("string")
                .namespace("string")
                .build())
            .build())
        .type("string")
        .databaseToolsConnectionId("string")
        .domainId("string")
        .compartmentId("string")
        .definedTags(Map.of("string", "string"))
        .freeformTags(Map.of("string", "string"))
        .description("string")
        .locks(DatabaseToolsMcpServerLockArgs.builder()
            .type("string")
            .message("string")
            .relatedResourceId("string")
            .timeCreated("string")
            .build())
        .refreshTokenExpiryInSeconds(0)
        .runtimeIdentity("string")
        .accessTokenExpiryInSeconds(0)
        .customRoles(DatabaseToolsMcpServerCustomRoleArgs.builder()
            .description("string")
            .displayName("string")
            .build())
        .build());
    
    database_tools_mcp_server_resource = oci.databasetools.DatabaseToolsMcpServer("databaseToolsMcpServerResource",
        display_name="string",
        storage={
            "type": "string",
            "bucket": {
                "bucket": "string",
                "namespace": "string",
            },
        },
        type="string",
        database_tools_connection_id="string",
        domain_id="string",
        compartment_id="string",
        defined_tags={
            "string": "string",
        },
        freeform_tags={
            "string": "string",
        },
        description="string",
        locks=[{
            "type": "string",
            "message": "string",
            "related_resource_id": "string",
            "time_created": "string",
        }],
        refresh_token_expiry_in_seconds=0,
        runtime_identity="string",
        access_token_expiry_in_seconds=0,
        custom_roles=[{
            "description": "string",
            "display_name": "string",
        }])
    
    const databaseToolsMcpServerResource = new oci.databasetools.DatabaseToolsMcpServer("databaseToolsMcpServerResource", {
        displayName: "string",
        storage: {
            type: "string",
            bucket: {
                bucket: "string",
                namespace: "string",
            },
        },
        type: "string",
        databaseToolsConnectionId: "string",
        domainId: "string",
        compartmentId: "string",
        definedTags: {
            string: "string",
        },
        freeformTags: {
            string: "string",
        },
        description: "string",
        locks: [{
            type: "string",
            message: "string",
            relatedResourceId: "string",
            timeCreated: "string",
        }],
        refreshTokenExpiryInSeconds: 0,
        runtimeIdentity: "string",
        accessTokenExpiryInSeconds: 0,
        customRoles: [{
            description: "string",
            displayName: "string",
        }],
    });
    
    type: oci:DatabaseTools:DatabaseToolsMcpServer
    properties:
        accessTokenExpiryInSeconds: 0
        compartmentId: string
        customRoles:
            - description: string
              displayName: string
        databaseToolsConnectionId: string
        definedTags:
            string: string
        description: string
        displayName: string
        domainId: string
        freeformTags:
            string: string
        locks:
            - message: string
              relatedResourceId: string
              timeCreated: string
              type: string
        refreshTokenExpiryInSeconds: 0
        runtimeIdentity: string
        storage:
            bucket:
                bucket: string
                namespace: string
            type: string
        type: string
    

    DatabaseToolsMcpServer Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DatabaseToolsMcpServer resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment containing the Database Tools MCP server.
    DatabaseToolsConnectionId string
    The OCID of the related Database Tools connection.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
    DomainId string
    The OCID of the associated identity domain.
    Storage DatabaseToolsMcpServerStorage
    (Updatable) The storage option used when running a tool asynchronously.
    Type string

    (Updatable) The Database Tools MCP server type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    AccessTokenExpiryInSeconds int
    (Updatable) Access token expiry in seconds
    CustomRoles List<DatabaseToolsMcpServerCustomRole>
    (Updatable) Custom Roles associated with the MCP Server.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A human-readable description of the Database Tools MCP server.
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Locks List<DatabaseToolsMcpServerLock>
    Locks associated with this resource.
    RefreshTokenExpiryInSeconds int
    (Updatable) Refresh token expiry in seconds
    RuntimeIdentity string
    Specifies the identity used by the Database Tools MCP server to issue requests to other Oracle Cloud Infrastructure services (e.g., Secrets in Vault).
    CompartmentId string
    (Updatable) The OCID of the compartment containing the Database Tools MCP server.
    DatabaseToolsConnectionId string
    The OCID of the related Database Tools connection.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
    DomainId string
    The OCID of the associated identity domain.
    Storage DatabaseToolsMcpServerStorageArgs
    (Updatable) The storage option used when running a tool asynchronously.
    Type string

    (Updatable) The Database Tools MCP server type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    AccessTokenExpiryInSeconds int
    (Updatable) Access token expiry in seconds
    CustomRoles []DatabaseToolsMcpServerCustomRoleArgs
    (Updatable) Custom Roles associated with the MCP Server.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A human-readable description of the Database Tools MCP server.
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Locks []DatabaseToolsMcpServerLockArgs
    Locks associated with this resource.
    RefreshTokenExpiryInSeconds int
    (Updatable) Refresh token expiry in seconds
    RuntimeIdentity string
    Specifies the identity used by the Database Tools MCP server to issue requests to other Oracle Cloud Infrastructure services (e.g., Secrets in Vault).
    compartment_id string
    (Updatable) The OCID of the compartment containing the Database Tools MCP server.
    database_tools_connection_id string
    The OCID of the related Database Tools connection.
    display_name string
    (Updatable) A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
    domain_id string
    The OCID of the associated identity domain.
    storage object
    (Updatable) The storage option used when running a tool asynchronously.
    type string

    (Updatable) The Database Tools MCP server type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    access_token_expiry_in_seconds number
    (Updatable) Access token expiry in seconds
    custom_roles list(object)
    (Updatable) Custom Roles associated with the MCP Server.
    defined_tags map(string)
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) A human-readable description of the Database Tools MCP server.
    freeform_tags map(string)
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    locks list(object)
    Locks associated with this resource.
    refresh_token_expiry_in_seconds number
    (Updatable) Refresh token expiry in seconds
    runtime_identity string
    Specifies the identity used by the Database Tools MCP server to issue requests to other Oracle Cloud Infrastructure services (e.g., Secrets in Vault).
    compartmentId String
    (Updatable) The OCID of the compartment containing the Database Tools MCP server.
    databaseToolsConnectionId String
    The OCID of the related Database Tools connection.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
    domainId String
    The OCID of the associated identity domain.
    storage McpServerStorage
    (Updatable) The storage option used when running a tool asynchronously.
    type String

    (Updatable) The Database Tools MCP server type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    accessTokenExpiryInSeconds Integer
    (Updatable) Access token expiry in seconds
    customRoles List<McpServerCustomRole>
    (Updatable) Custom Roles associated with the MCP Server.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A human-readable description of the Database Tools MCP server.
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    locks List<McpServerLock>
    Locks associated with this resource.
    refreshTokenExpiryInSeconds Integer
    (Updatable) Refresh token expiry in seconds
    runtimeIdentity String
    Specifies the identity used by the Database Tools MCP server to issue requests to other Oracle Cloud Infrastructure services (e.g., Secrets in Vault).
    compartmentId string
    (Updatable) The OCID of the compartment containing the Database Tools MCP server.
    databaseToolsConnectionId string
    The OCID of the related Database Tools connection.
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
    domainId string
    The OCID of the associated identity domain.
    storage DatabaseToolsMcpServerStorage
    (Updatable) The storage option used when running a tool asynchronously.
    type string

    (Updatable) The Database Tools MCP server type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    accessTokenExpiryInSeconds number
    (Updatable) Access token expiry in seconds
    customRoles DatabaseToolsMcpServerCustomRole[]
    (Updatable) Custom Roles associated with the MCP Server.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) A human-readable description of the Database Tools MCP server.
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    locks DatabaseToolsMcpServerLock[]
    Locks associated with this resource.
    refreshTokenExpiryInSeconds number
    (Updatable) Refresh token expiry in seconds
    runtimeIdentity string
    Specifies the identity used by the Database Tools MCP server to issue requests to other Oracle Cloud Infrastructure services (e.g., Secrets in Vault).
    compartment_id str
    (Updatable) The OCID of the compartment containing the Database Tools MCP server.
    database_tools_connection_id str
    The OCID of the related Database Tools connection.
    display_name str
    (Updatable) A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
    domain_id str
    The OCID of the associated identity domain.
    storage DatabaseToolsMcpServerStorageArgs
    (Updatable) The storage option used when running a tool asynchronously.
    type str

    (Updatable) The Database Tools MCP server type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    access_token_expiry_in_seconds int
    (Updatable) Access token expiry in seconds
    custom_roles Sequence[DatabaseToolsMcpServerCustomRoleArgs]
    (Updatable) Custom Roles associated with the MCP Server.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) A human-readable description of the Database Tools MCP server.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    locks Sequence[DatabaseToolsMcpServerLockArgs]
    Locks associated with this resource.
    refresh_token_expiry_in_seconds int
    (Updatable) Refresh token expiry in seconds
    runtime_identity str
    Specifies the identity used by the Database Tools MCP server to issue requests to other Oracle Cloud Infrastructure services (e.g., Secrets in Vault).
    compartmentId String
    (Updatable) The OCID of the compartment containing the Database Tools MCP server.
    databaseToolsConnectionId String
    The OCID of the related Database Tools connection.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
    domainId String
    The OCID of the associated identity domain.
    storage Property Map
    (Updatable) The storage option used when running a tool asynchronously.
    type String

    (Updatable) The Database Tools MCP server type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    accessTokenExpiryInSeconds Number
    (Updatable) Access token expiry in seconds
    customRoles List<Property Map>
    (Updatable) Custom Roles associated with the MCP Server.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A human-readable description of the Database Tools MCP server.
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    locks List<Property Map>
    Locks associated with this resource.
    refreshTokenExpiryInSeconds Number
    (Updatable) Refresh token expiry in seconds
    runtimeIdentity String
    Specifies the identity used by the Database Tools MCP server to issue requests to other Oracle Cloud Infrastructure services (e.g., Secrets in Vault).

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DatabaseToolsMcpServer resource produces the following output properties:

    BuiltInRoles List<DatabaseToolsMcpServerBuiltInRole>
    Built-in roles associated with the MCP Server.
    DomainAppId string
    The OCID of the associated domain application (Oracle Cloud Service).
    Endpoints List<DatabaseToolsMcpServerEndpoint>
    Invoke endpoints for the MCP server.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
    RelatedResources List<DatabaseToolsMcpServerRelatedResource>
    A related resource
    State string
    The current state of the Database Tools MCP server.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
    BuiltInRoles []DatabaseToolsMcpServerBuiltInRole
    Built-in roles associated with the MCP Server.
    DomainAppId string
    The OCID of the associated domain application (Oracle Cloud Service).
    Endpoints []DatabaseToolsMcpServerEndpoint
    Invoke endpoints for the MCP server.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
    RelatedResources []DatabaseToolsMcpServerRelatedResource
    A related resource
    State string
    The current state of the Database Tools MCP server.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
    built_in_roles list(object)
    Built-in roles associated with the MCP Server.
    domain_app_id string
    The OCID of the associated domain application (Oracle Cloud Service).
    endpoints list(object)
    Invoke endpoints for the MCP server.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycle_details string
    A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
    related_resources list(object)
    A related resource
    state string
    The current state of the Database Tools MCP server.
    system_tags map(string)
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created string
    The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
    time_updated string
    The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
    builtInRoles List<McpServerBuiltInRole>
    Built-in roles associated with the MCP Server.
    domainAppId String
    The OCID of the associated domain application (Oracle Cloud Service).
    endpoints List<McpServerEndpoint>
    Invoke endpoints for the MCP server.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
    relatedResources List<McpServerRelatedResource>
    A related resource
    state String
    The current state of the Database Tools MCP server.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
    builtInRoles DatabaseToolsMcpServerBuiltInRole[]
    Built-in roles associated with the MCP Server.
    domainAppId string
    The OCID of the associated domain application (Oracle Cloud Service).
    endpoints DatabaseToolsMcpServerEndpoint[]
    Invoke endpoints for the MCP server.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails string
    A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
    relatedResources DatabaseToolsMcpServerRelatedResource[]
    A related resource
    state string
    The current state of the Database Tools MCP server.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
    built_in_roles Sequence[DatabaseToolsMcpServerBuiltInRole]
    Built-in roles associated with the MCP Server.
    domain_app_id str
    The OCID of the associated domain application (Oracle Cloud Service).
    endpoints Sequence[DatabaseToolsMcpServerEndpoint]
    Invoke endpoints for the MCP server.
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_details str
    A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
    related_resources Sequence[DatabaseToolsMcpServerRelatedResource]
    A related resource
    state str
    The current state of the Database Tools MCP server.
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
    time_updated str
    The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
    builtInRoles List<Property Map>
    Built-in roles associated with the MCP Server.
    domainAppId String
    The OCID of the associated domain application (Oracle Cloud Service).
    endpoints List<Property Map>
    Invoke endpoints for the MCP server.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
    relatedResources List<Property Map>
    A related resource
    state String
    The current state of the Database Tools MCP server.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.

    Look up Existing DatabaseToolsMcpServer Resource

    Get an existing DatabaseToolsMcpServer resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DatabaseToolsMcpServerState, opts?: CustomResourceOptions): DatabaseToolsMcpServer
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_token_expiry_in_seconds: Optional[int] = None,
            built_in_roles: Optional[Sequence[DatabaseToolsMcpServerBuiltInRoleArgs]] = None,
            compartment_id: Optional[str] = None,
            custom_roles: Optional[Sequence[DatabaseToolsMcpServerCustomRoleArgs]] = None,
            database_tools_connection_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            domain_app_id: Optional[str] = None,
            domain_id: Optional[str] = None,
            endpoints: Optional[Sequence[DatabaseToolsMcpServerEndpointArgs]] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            lifecycle_details: Optional[str] = None,
            locks: Optional[Sequence[DatabaseToolsMcpServerLockArgs]] = None,
            refresh_token_expiry_in_seconds: Optional[int] = None,
            related_resources: Optional[Sequence[DatabaseToolsMcpServerRelatedResourceArgs]] = None,
            runtime_identity: Optional[str] = None,
            state: Optional[str] = None,
            storage: Optional[DatabaseToolsMcpServerStorageArgs] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None,
            type: Optional[str] = None) -> DatabaseToolsMcpServer
    func GetDatabaseToolsMcpServer(ctx *Context, name string, id IDInput, state *DatabaseToolsMcpServerState, opts ...ResourceOption) (*DatabaseToolsMcpServer, error)
    public static DatabaseToolsMcpServer Get(string name, Input<string> id, DatabaseToolsMcpServerState? state, CustomResourceOptions? opts = null)
    public static DatabaseToolsMcpServer get(String name, Output<String> id, DatabaseToolsMcpServerState state, CustomResourceOptions options)
    resources:  _:    type: oci:DatabaseTools:DatabaseToolsMcpServer    get:      id: ${id}
    import {
      to = oci_databasetools_databasetoolsmcpserver.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccessTokenExpiryInSeconds int
    (Updatable) Access token expiry in seconds
    BuiltInRoles List<DatabaseToolsMcpServerBuiltInRole>
    Built-in roles associated with the MCP Server.
    CompartmentId string
    (Updatable) The OCID of the compartment containing the Database Tools MCP server.
    CustomRoles List<DatabaseToolsMcpServerCustomRole>
    (Updatable) Custom Roles associated with the MCP Server.
    DatabaseToolsConnectionId string
    The OCID of the related Database Tools connection.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A human-readable description of the Database Tools MCP server.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
    DomainAppId string
    The OCID of the associated domain application (Oracle Cloud Service).
    DomainId string
    The OCID of the associated identity domain.
    Endpoints List<DatabaseToolsMcpServerEndpoint>
    Invoke endpoints for the MCP server.
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    LifecycleDetails string
    A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
    Locks List<DatabaseToolsMcpServerLock>
    Locks associated with this resource.
    RefreshTokenExpiryInSeconds int
    (Updatable) Refresh token expiry in seconds
    RelatedResources List<DatabaseToolsMcpServerRelatedResource>
    A related resource
    RuntimeIdentity string
    Specifies the identity used by the Database Tools MCP server to issue requests to other Oracle Cloud Infrastructure services (e.g., Secrets in Vault).
    State string
    The current state of the Database Tools MCP server.
    Storage DatabaseToolsMcpServerStorage
    (Updatable) The storage option used when running a tool asynchronously.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
    Type string

    (Updatable) The Database Tools MCP server type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    AccessTokenExpiryInSeconds int
    (Updatable) Access token expiry in seconds
    BuiltInRoles []DatabaseToolsMcpServerBuiltInRoleArgs
    Built-in roles associated with the MCP Server.
    CompartmentId string
    (Updatable) The OCID of the compartment containing the Database Tools MCP server.
    CustomRoles []DatabaseToolsMcpServerCustomRoleArgs
    (Updatable) Custom Roles associated with the MCP Server.
    DatabaseToolsConnectionId string
    The OCID of the related Database Tools connection.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A human-readable description of the Database Tools MCP server.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
    DomainAppId string
    The OCID of the associated domain application (Oracle Cloud Service).
    DomainId string
    The OCID of the associated identity domain.
    Endpoints []DatabaseToolsMcpServerEndpointArgs
    Invoke endpoints for the MCP server.
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    LifecycleDetails string
    A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
    Locks []DatabaseToolsMcpServerLockArgs
    Locks associated with this resource.
    RefreshTokenExpiryInSeconds int
    (Updatable) Refresh token expiry in seconds
    RelatedResources []DatabaseToolsMcpServerRelatedResourceArgs
    A related resource
    RuntimeIdentity string
    Specifies the identity used by the Database Tools MCP server to issue requests to other Oracle Cloud Infrastructure services (e.g., Secrets in Vault).
    State string
    The current state of the Database Tools MCP server.
    Storage DatabaseToolsMcpServerStorageArgs
    (Updatable) The storage option used when running a tool asynchronously.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
    Type string

    (Updatable) The Database Tools MCP server type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    access_token_expiry_in_seconds number
    (Updatable) Access token expiry in seconds
    built_in_roles list(object)
    Built-in roles associated with the MCP Server.
    compartment_id string
    (Updatable) The OCID of the compartment containing the Database Tools MCP server.
    custom_roles list(object)
    (Updatable) Custom Roles associated with the MCP Server.
    database_tools_connection_id string
    The OCID of the related Database Tools connection.
    defined_tags map(string)
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) A human-readable description of the Database Tools MCP server.
    display_name string
    (Updatable) A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
    domain_app_id string
    The OCID of the associated domain application (Oracle Cloud Service).
    domain_id string
    The OCID of the associated identity domain.
    endpoints list(object)
    Invoke endpoints for the MCP server.
    freeform_tags map(string)
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycle_details string
    A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
    locks list(object)
    Locks associated with this resource.
    refresh_token_expiry_in_seconds number
    (Updatable) Refresh token expiry in seconds
    related_resources list(object)
    A related resource
    runtime_identity string
    Specifies the identity used by the Database Tools MCP server to issue requests to other Oracle Cloud Infrastructure services (e.g., Secrets in Vault).
    state string
    The current state of the Database Tools MCP server.
    storage object
    (Updatable) The storage option used when running a tool asynchronously.
    system_tags map(string)
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created string
    The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
    time_updated string
    The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
    type string

    (Updatable) The Database Tools MCP server type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    accessTokenExpiryInSeconds Integer
    (Updatable) Access token expiry in seconds
    builtInRoles List<McpServerBuiltInRole>
    Built-in roles associated with the MCP Server.
    compartmentId String
    (Updatable) The OCID of the compartment containing the Database Tools MCP server.
    customRoles List<McpServerCustomRole>
    (Updatable) Custom Roles associated with the MCP Server.
    databaseToolsConnectionId String
    The OCID of the related Database Tools connection.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A human-readable description of the Database Tools MCP server.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
    domainAppId String
    The OCID of the associated domain application (Oracle Cloud Service).
    domainId String
    The OCID of the associated identity domain.
    endpoints List<McpServerEndpoint>
    Invoke endpoints for the MCP server.
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycleDetails String
    A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
    locks List<McpServerLock>
    Locks associated with this resource.
    refreshTokenExpiryInSeconds Integer
    (Updatable) Refresh token expiry in seconds
    relatedResources List<McpServerRelatedResource>
    A related resource
    runtimeIdentity String
    Specifies the identity used by the Database Tools MCP server to issue requests to other Oracle Cloud Infrastructure services (e.g., Secrets in Vault).
    state String
    The current state of the Database Tools MCP server.
    storage McpServerStorage
    (Updatable) The storage option used when running a tool asynchronously.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
    type String

    (Updatable) The Database Tools MCP server type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    accessTokenExpiryInSeconds number
    (Updatable) Access token expiry in seconds
    builtInRoles DatabaseToolsMcpServerBuiltInRole[]
    Built-in roles associated with the MCP Server.
    compartmentId string
    (Updatable) The OCID of the compartment containing the Database Tools MCP server.
    customRoles DatabaseToolsMcpServerCustomRole[]
    (Updatable) Custom Roles associated with the MCP Server.
    databaseToolsConnectionId string
    The OCID of the related Database Tools connection.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) A human-readable description of the Database Tools MCP server.
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
    domainAppId string
    The OCID of the associated domain application (Oracle Cloud Service).
    domainId string
    The OCID of the associated identity domain.
    endpoints DatabaseToolsMcpServerEndpoint[]
    Invoke endpoints for the MCP server.
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycleDetails string
    A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
    locks DatabaseToolsMcpServerLock[]
    Locks associated with this resource.
    refreshTokenExpiryInSeconds number
    (Updatable) Refresh token expiry in seconds
    relatedResources DatabaseToolsMcpServerRelatedResource[]
    A related resource
    runtimeIdentity string
    Specifies the identity used by the Database Tools MCP server to issue requests to other Oracle Cloud Infrastructure services (e.g., Secrets in Vault).
    state string
    The current state of the Database Tools MCP server.
    storage DatabaseToolsMcpServerStorage
    (Updatable) The storage option used when running a tool asynchronously.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
    type string

    (Updatable) The Database Tools MCP server type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    access_token_expiry_in_seconds int
    (Updatable) Access token expiry in seconds
    built_in_roles Sequence[DatabaseToolsMcpServerBuiltInRoleArgs]
    Built-in roles associated with the MCP Server.
    compartment_id str
    (Updatable) The OCID of the compartment containing the Database Tools MCP server.
    custom_roles Sequence[DatabaseToolsMcpServerCustomRoleArgs]
    (Updatable) Custom Roles associated with the MCP Server.
    database_tools_connection_id str
    The OCID of the related Database Tools connection.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) A human-readable description of the Database Tools MCP server.
    display_name str
    (Updatable) A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
    domain_app_id str
    The OCID of the associated domain application (Oracle Cloud Service).
    domain_id str
    The OCID of the associated identity domain.
    endpoints Sequence[DatabaseToolsMcpServerEndpointArgs]
    Invoke endpoints for the MCP server.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycle_details str
    A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
    locks Sequence[DatabaseToolsMcpServerLockArgs]
    Locks associated with this resource.
    refresh_token_expiry_in_seconds int
    (Updatable) Refresh token expiry in seconds
    related_resources Sequence[DatabaseToolsMcpServerRelatedResourceArgs]
    A related resource
    runtime_identity str
    Specifies the identity used by the Database Tools MCP server to issue requests to other Oracle Cloud Infrastructure services (e.g., Secrets in Vault).
    state str
    The current state of the Database Tools MCP server.
    storage DatabaseToolsMcpServerStorageArgs
    (Updatable) The storage option used when running a tool asynchronously.
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
    time_updated str
    The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
    type str

    (Updatable) The Database Tools MCP server type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    accessTokenExpiryInSeconds Number
    (Updatable) Access token expiry in seconds
    builtInRoles List<Property Map>
    Built-in roles associated with the MCP Server.
    compartmentId String
    (Updatable) The OCID of the compartment containing the Database Tools MCP server.
    customRoles List<Property Map>
    (Updatable) Custom Roles associated with the MCP Server.
    databaseToolsConnectionId String
    The OCID of the related Database Tools connection.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A human-readable description of the Database Tools MCP server.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
    domainAppId String
    The OCID of the associated domain application (Oracle Cloud Service).
    domainId String
    The OCID of the associated identity domain.
    endpoints List<Property Map>
    Invoke endpoints for the MCP server.
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycleDetails String
    A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
    locks List<Property Map>
    Locks associated with this resource.
    refreshTokenExpiryInSeconds Number
    (Updatable) Refresh token expiry in seconds
    relatedResources List<Property Map>
    A related resource
    runtimeIdentity String
    Specifies the identity used by the Database Tools MCP server to issue requests to other Oracle Cloud Infrastructure services (e.g., Secrets in Vault).
    state String
    The current state of the Database Tools MCP server.
    storage Property Map
    (Updatable) The storage option used when running a tool asynchronously.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the Database Tools MCP server was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time the Database Tools MCP server was updated. An RFC3339 formatted datetime string.
    type String

    (Updatable) The Database Tools MCP server type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Supporting Types

    DatabaseToolsMcpServerBuiltInRole, DatabaseToolsMcpServerBuiltInRoleArgs

    Description string
    (Updatable) A human-readable description of the Database Tools MCP server.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
    Description string
    (Updatable) A human-readable description of the Database Tools MCP server.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
    description string
    (Updatable) A human-readable description of the Database Tools MCP server.
    display_name string
    (Updatable) A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
    description String
    (Updatable) A human-readable description of the Database Tools MCP server.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
    description string
    (Updatable) A human-readable description of the Database Tools MCP server.
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
    description str
    (Updatable) A human-readable description of the Database Tools MCP server.
    display_name str
    (Updatable) A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.
    description String
    (Updatable) A human-readable description of the Database Tools MCP server.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique and can be updated. Avoid entering confidential information.

    DatabaseToolsMcpServerCustomRole, DatabaseToolsMcpServerCustomRoleArgs

    Description string
    (Updatable) The description of the custom role.
    DisplayName string
    (Updatable) The display name of the custom role.
    Description string
    (Updatable) The description of the custom role.
    DisplayName string
    (Updatable) The display name of the custom role.
    description string
    (Updatable) The description of the custom role.
    display_name string
    (Updatable) The display name of the custom role.
    description String
    (Updatable) The description of the custom role.
    displayName String
    (Updatable) The display name of the custom role.
    description string
    (Updatable) The description of the custom role.
    displayName string
    (Updatable) The display name of the custom role.
    description str
    (Updatable) The description of the custom role.
    display_name str
    (Updatable) The display name of the custom role.
    description String
    (Updatable) The description of the custom role.
    displayName String
    (Updatable) The display name of the custom role.

    DatabaseToolsMcpServerEndpoint, DatabaseToolsMcpServerEndpointArgs

    Endpoint string
    The URI endpoint of the MCP server
    Type string

    (Updatable) The Database Tools MCP server type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Endpoint string
    The URI endpoint of the MCP server
    Type string

    (Updatable) The Database Tools MCP server type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    endpoint string
    The URI endpoint of the MCP server
    type string

    (Updatable) The Database Tools MCP server type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    endpoint String
    The URI endpoint of the MCP server
    type String

    (Updatable) The Database Tools MCP server type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    endpoint string
    The URI endpoint of the MCP server
    type string

    (Updatable) The Database Tools MCP server type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    endpoint str
    The URI endpoint of the MCP server
    type str

    (Updatable) The Database Tools MCP server type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    endpoint String
    The URI endpoint of the MCP server
    type String

    (Updatable) The Database Tools MCP server type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DatabaseToolsMcpServerLock, DatabaseToolsMcpServerLockArgs

    Type string
    Type of the lock.
    Message string
    A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
    RelatedResourceId string
    The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    TimeCreated string
    When the lock was created.
    Type string
    Type of the lock.
    Message string
    A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
    RelatedResourceId string
    The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    TimeCreated string
    When the lock was created.
    type string
    Type of the lock.
    message string
    A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
    related_resource_id string
    The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    time_created string
    When the lock was created.
    type String
    Type of the lock.
    message String
    A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
    relatedResourceId String
    The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    timeCreated String
    When the lock was created.
    type string
    Type of the lock.
    message string
    A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
    relatedResourceId string
    The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    timeCreated string
    When the lock was created.
    type str
    Type of the lock.
    message str
    A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
    related_resource_id str
    The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    time_created str
    When the lock was created.
    type String
    Type of the lock.
    message String
    A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
    relatedResourceId String
    The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    timeCreated String
    When the lock was created.

    DatabaseToolsMcpServerRelatedResource, DatabaseToolsMcpServerRelatedResourceArgs

    EntityType string
    The resource entity type.
    Identifier string
    The OCID of the related resource.
    EntityType string
    The resource entity type.
    Identifier string
    The OCID of the related resource.
    entity_type string
    The resource entity type.
    identifier string
    The OCID of the related resource.
    entityType String
    The resource entity type.
    identifier String
    The OCID of the related resource.
    entityType string
    The resource entity type.
    identifier string
    The OCID of the related resource.
    entity_type str
    The resource entity type.
    identifier str
    The OCID of the related resource.
    entityType String
    The resource entity type.
    identifier String
    The OCID of the related resource.

    DatabaseToolsMcpServerStorage, DatabaseToolsMcpServerStorageArgs

    Type string
    (Updatable) The type of storage used for asynchronous tool calls.
    Bucket DatabaseToolsMcpServerStorageBucket
    (Updatable) A Cloud Storage bucket for an MCP Server.
    Type string
    (Updatable) The type of storage used for asynchronous tool calls.
    Bucket DatabaseToolsMcpServerStorageBucket
    (Updatable) A Cloud Storage bucket for an MCP Server.
    type string
    (Updatable) The type of storage used for asynchronous tool calls.
    bucket object
    (Updatable) A Cloud Storage bucket for an MCP Server.
    type String
    (Updatable) The type of storage used for asynchronous tool calls.
    bucket McpServerStorageBucket
    (Updatable) A Cloud Storage bucket for an MCP Server.
    type string
    (Updatable) The type of storage used for asynchronous tool calls.
    bucket DatabaseToolsMcpServerStorageBucket
    (Updatable) A Cloud Storage bucket for an MCP Server.
    type str
    (Updatable) The type of storage used for asynchronous tool calls.
    bucket DatabaseToolsMcpServerStorageBucket
    (Updatable) A Cloud Storage bucket for an MCP Server.
    type String
    (Updatable) The type of storage used for asynchronous tool calls.
    bucket Property Map
    (Updatable) A Cloud Storage bucket for an MCP Server.

    DatabaseToolsMcpServerStorageBucket, DatabaseToolsMcpServerStorageBucketArgs

    Bucket string
    (Updatable) The Object Storage bucket to use.
    Namespace string
    (Updatable) The Object Storage namespace to use.
    Bucket string
    (Updatable) The Object Storage bucket to use.
    Namespace string
    (Updatable) The Object Storage namespace to use.
    bucket string
    (Updatable) The Object Storage bucket to use.
    namespace string
    (Updatable) The Object Storage namespace to use.
    bucket String
    (Updatable) The Object Storage bucket to use.
    namespace String
    (Updatable) The Object Storage namespace to use.
    bucket string
    (Updatable) The Object Storage bucket to use.
    namespace string
    (Updatable) The Object Storage namespace to use.
    bucket str
    (Updatable) The Object Storage bucket to use.
    namespace str
    (Updatable) The Object Storage namespace to use.
    bucket String
    (Updatable) The Object Storage bucket to use.
    namespace String
    (Updatable) The Object Storage namespace to use.

    Import

    DatabaseToolsMcpServers can be imported using the id, e.g.

    $ pulumi import oci:DatabaseTools/databaseToolsMcpServer:DatabaseToolsMcpServer test_database_tools_mcp_server "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Viewing docs for Oracle Cloud Infrastructure v4.13.0
    published on Thursday, May 28, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial