Oracle Cloud Infrastructure (OCI)

Oracle Cloud Infrastructure (OCI)

MCP server exposing OCI tools, resources and prompts with read-heavy actions.

2
Stars
5
Forks
0
Releases

Overview

OCI MCP Server is a Model Context Protocol (MCP) server that exposes Oracle Cloud Infrastructure tools, resources and prompts through a single interface. It provides tooling to list and inspect Compute instances, Autonomous Databases, and Object Storage, and to perform common actions on instances (START, STOP, RESET, SOFTRESET, SOFTSTOP). It also offers quick security checks and an experimental tenancy cost summary feature. Resources are accessible via OCI references like compartments (oci://compartments), enabling discovery and retrieval of metadata across a tenancy. The server is built on the official MCP Python SDK and the OCI Python SDK, and is designed to work with Claude Desktop over a stdio transport. By default it reads credentials from ~/.oci/config (created via oci setup config) but can be overridden with OCI_CONFIG_FILE or a .env file. The README provides quick-start steps, IAM policy examples, and instructions to add the server to Claude Desktop. The cost summary feature is experimental and requires Usage API access. The repo is a base for extension to include additional OCI tooling such as OKE, Load Balancers, Budgets or Events.

Details

Owner
karthiksuku
Language
Python
License
MIT License
Updated
2025-12-07

Features

List compute instances

List compute instances in a compartment with optional lifecycle_state filtering.

Get compute instance details

Retrieve detailed information for a specific compute instance by ID.

Instance actions

Perform START, STOP, RESET, SOFTRESET, and SOFTSTOP actions on a compute instance.

List Autonomous Databases

List autonomous databases within a compartment.

List storage buckets

List object storage buckets within a compartment.

List compartments

Discover compartments in the tenancy to scope queries.

Perform security assessment

Run quick security assessments for a compartment.

Tenancy cost summary (experimental)

Provide tenancy-wide cost summaries via Usage API (experimental).

Audience

DevOpsAutomate OCI resource discovery and basic actions via MCP prompts.
DevelopersPrototype integrations with Claude Desktop to access OCI tooling and data.
SecurityExecute quick security checks across OCI compartments to validate configurations and access controls.

Tags

OCIOracle Cloud InfrastructureMCPComputeAutonomous DatabasesObject StorageInstance actionsCost summariesPromptsClaude DesktopOCI SDKPython