Skip to content

MCP server specific for Recovery Service #71

@bgrenn

Description

@bgrenn

I wrote an MCP server that specific accesses the list of databases that are using the recovery service.
The one difficulty with this is that Listing protected databases requires a compartment.
The OCI CLI requires a compartment OCID when listing protected database.

The MCP server I wrote has 3 tools, of which 2 can be used for viewing information around the recovery service.

list_compartments - This is used to translate from the compartment name to the OCID which is required to list protected databases.

list_databases_using_recovery_service - This tool is called directly and requires a compartment OCID. This tool will return all of the databases in the compartment using the recovery service, and all of the available detail.

get_tenancy_cost_summary - This will get cost and usage detail filtered by the recovery service. You can specify a start date and end date and it will get the detail for that period of time.

Like the other tools, the parameter is the location of the OCI config file with credentials to call OCI

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions