Skip to content

API MCP server to support Autnomous Recovery Service #40

@gsharini

Description

@gsharini

api-mcp server, doesn’t consider how all the services have structured their CLIs. Our service, along with few other services (eg : psql), have a different command line structure for LIST operations. This is limiting the resource access to Autonomous Recovery Service.

Testcase 1:

Can you give me list of protected databases in Autonomous recovery service from compartment

Changes suggested:

Upon adding these lines into get_oci_command_help(), we were able to get our resources listed

get_oci_command_help()
"""There are some services that have different command structure. In such cases,
you may need to experiment with the level of specificity to get the help you
need.
Listing resources in Autonomous Recovery Service is as below:
oci recovery protected-database-collection list-protected-databases"""

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