Skip to content

feat(oci-cloud-mcp-server): enhancements to improve quality and efficiency#158

Closed
gebhardtr wants to merge 9 commits into
oracle:mainfrom
gebhardtr:rigebha/cloud-enhancements
Closed

feat(oci-cloud-mcp-server): enhancements to improve quality and efficiency#158
gebhardtr wants to merge 9 commits into
oracle:mainfrom
gebhardtr:rigebha/cloud-enhancements

Conversation

@gebhardtr
Copy link
Copy Markdown
Member

@gebhardtr gebhardtr commented Mar 13, 2026

Description

The goal of this PR is to make invoking the OCI Python SDK as precise/restricted as we can via JSON but as natural as code for the LLM.

Add new tools that:

  • List clients (obviating the need to rely on the model's awareness of the SDK -- should work better with smaller models)
  • filter operations (reduce context usage)
  • better expose operation details (expected_kwargs etc, to improve model understanding and reduce round-trips)
  • Improve type coercion (help the model invoke the operation correctly the first time)

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Test Configuration:

  • Firmware version:
  • Hardware:
  • Toolchain:
  • SDK:

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Signed-off-by: Richard Gebhardt <richard.gebhardt@oracle.com>
Signed-off-by: Richard Gebhardt <richard.gebhardt@oracle.com>
Signed-off-by: Richard Gebhardt <richard.gebhardt@oracle.com>
Signed-off-by: Richard Gebhardt <richard.gebhardt@oracle.com>
Signed-off-by: Richard Gebhardt <richard.gebhardt@oracle.com>
Signed-off-by: Richard Gebhardt <richard.gebhardt@oracle.com>
@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Mar 13, 2026
Signed-off-by: Richard Gebhardt <richard.gebhardt@oracle.com>
Signed-off-by: Richard Gebhardt <richard.gebhardt@oracle.com>
@gebhardtr gebhardtr force-pushed the rigebha/cloud-enhancements branch from 2e2289f to 8b489d2 Compare March 25, 2026 01:48
Signed-off-by: Richard Gebhardt <richard.gebhardt@oracle.com>
@gebhardtr gebhardtr force-pushed the rigebha/cloud-enhancements branch from 66212f7 to 3a6f901 Compare March 26, 2026 23:15
@gebhardtr gebhardtr marked this pull request as ready for review March 27, 2026 20:06
@vish01
Copy link
Copy Markdown
Contributor

vish01 commented Apr 3, 2026

There might a bug but I can't be sure, I tried creating a bucket using the cloud mcp server and it gave me a result saying it created the bucket but turns out there was no bucket named xx and with ocid xx. It printed out a fake ocid.
I was using:
oca/grok4 model with 128K context

Copy link
Copy Markdown
Contributor

@vish01 vish01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested cloud mcp server with gpt 5.4 mode, looks good!

"reboot_",
"reset_",
"patch_",
"bulk_",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure but should we add enable/disable and scale(used for autoscaling) here too?

@gebhardtr gebhardtr marked this pull request as draft April 6, 2026 18:36
@gebhardtr
Copy link
Copy Markdown
Member Author

replaced by #185

@gebhardtr gebhardtr closed this Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants