Skip to content

oci-mcp-common v0.1.0 library with auth module#367

Draft
dustin-sale wants to merge 1 commit into
oracle:mainfrom
dustin-sale:366-add-oci-mcp-common-library
Draft

oci-mcp-common v0.1.0 library with auth module#367
dustin-sale wants to merge 1 commit into
oracle:mainfrom
dustin-sale:366-add-oci-mcp-common-library

Conversation

@dustin-sale

Copy link
Copy Markdown
Contributor

Description

Adds oci-mcp-common v0.1.0, a shared OCI SDK authentication library for MCP servers. It supports API-key and session-token profiles, Identity Domains UPST exchange, instance/resource principals, delegation tokens, and OKE workload identity.
This centralizes credential resolution while leaving individual servers responsible for client configuration, user agents, and lifecycle. Dependencies: Python 3.13+ and OCI Python SDK 2.179.0+.

Addresses #366

Type of change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

How Has This Been Tested?

  • make test project=oci-mcp-common — 36 tests passed; 96.35% coverage.
  • make lint — Ruff completed with no findings.

Test Configuration:

  • Firmware version: N/A
  • Hardware: macOS (Darwin)
  • Toolchain: Python 3.13.13, pytest 9.1.1
  • SDK: OCI Python SDK 2.182.0

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

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jul 16, 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.

1 participant