mcpField
O
oracle-cloud

oracle-cloud

Local
github.com/ExpertVagabondCloud & Infra0Updated 32w ago

About oracle-cloud

oracle-cloud is an MCP server for managing Oracle Cloud Infrastructure through the official OCI SDK. It provides tools across compute, storage, networking, Autonomous Database, and IAM.

Key features

  1. 01List and control compute instances
  2. 02Manage Object Storage buckets and objects
  3. 03List block and boot volumes
  4. 04View and create VCNs and subnets
  5. 05Inspect Autonomous Database and IAM

Use cases

  1. 01Review and control OCI compute instances
  2. 02Manage Object Storage buckets
  3. 03Inspect network, database, and IAM resources

MCP support

Exposes OCI resource queries and selected management actions as tools for MCP clients across compute, storage, networking, Autonomous Database, and IAM.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"expertvagabond-oracle-cloud": {
"command": "npx",
"args": [
"-y",
"oracle-cloud-mcp"
]
}
}
}
Run commandnpx -y oracle-cloud-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmoracle-cloud-mcp1.0.1

Tools

23

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
limitnumberNoMaximum number of instances to return
compartment_idstringNoCompartment OCID (defaults to tenancy)

Details

From the project README

oracle-cloud-mcp

[!License: MIT](https://opensource.org/licenses/MIT) [!MCP](https://modelcontextprotocol.io) [!Node.js](https://nodejs.org)

MCP server for Oracle Cloud Infrastructure (OCI). Provides access to Compute, Object Storage, Block Storage, Networking, Autonomous Database, and IAM via the official OCI SDK.

Tools (23 total)

Compute (4 tools)
ToolDescription
oci_compute_list_instancesList all VM instances in a compartment
oci_compute_get_instanceGet detailed info for a specific instance
oci_compute_list_shapesList available shapes (including Always Free)
oci_compute_instance_actionSTART, STOP, RESET, SOFTSTOP, or SOFTRESET an instance
Object Storage (5 tools)
ToolDescription
oci_os_get_namespaceGet the Object Storage namespace
oci_os_list_bucketsList all buckets in a compartment
oci_os_create_bucketCreate a new bucket (Standard or Archive)
oci_os_list_objectsList objects with optional prefix filter
oci_os_delete_bucketDelete an empty bucket
Block Storage (2 tools)
ToolDescription
oci_bv_list_volumesList block volumes
oci_bv_list_boot_volumesList boot volumes in an availability domain
Networking (3 tools)
ToolDescription
oci_vcn_listList Virtual Cloud Networks
oci_subnet_listList subnets in a VCN
oci_vcn_createCreate a new VCN with CIDR blocks
Autonomous Database (4 tools)
ToolDescription
oci_adb_listList Autonomous Databases (ATP/ADW)
oci_adb_getGet database details and connection strings
oci_adb_startStart a stopped database
oci_adb_stopStop a running database
IAM (5 tools)
ToolDescription
oci_iam_list_usersList IAM users
oci_iam_list_groupsList IAM groups
oci_iam_list_policiesList IAM policies and statements
oci_iam_list_compartmentsList compartments in the tenancy
oci_iam_list_availability_domainsList availability domains

Install

npm install

Configuration

Configure OCI credentials in ~/.oci/config:

[DEFAULT]
user=ocid1.user.oc1..xxx
fingerprint=xx:xx:xx:xx:xx
tenancy=ocid1.tenancy.oc1..xxx
region=us-chicago-1
key_file=~/.oci/api_keys/oci_api_key.pem

Add to your Claude Code MCP config:

{
  "mcpServers": {
    "oracle": {
      "type": "stdio",
      "command": "node",
      "args": ["/path/to/oracle-mcp/index.js"],
      "env": {
        "OCI_CONFIG_FILE": "~/.oci/config",
        "OCI_PROFILE": "DEFAULT",
        "OCI_REGION": "us-chicago-1"
      }
    }
  }
}
Environment Variables
VariableDescriptionRequired
OCI_CONFIG_FILEPath to OCI config fileNo (defaults to ~/.oci/config)
OCI_PROFILEConfig profile nameNo (defaults to DEFAULT)
OCI_TENANCY_OCIDTenancy OCIDNo (read from config)
OCI_REGIONOCI regionNo (defaults to us-chicago-1)

Authentication

Supports two methods:

  1. Session Token -- uses security_token_file from config (recommended for interactive use)
  2. API Key -- uses RSA key pair with fingerprint (for automation)

Oracle Cloud Free Tier

ResourceFree Allocation
Compute (Ampere A1)4 OCPUs, 24 GB RAM
Compute (AMD E2.1.Micro)2 instances
Object Storage20 GB Standard + 20 GB Archive
Block Storage200 GB total
Autonomous Database2 Always Free databases
Outbound Data10 TB/month

Dependencies

  • @modelcontextprotocol/sdk -- MCP protocol SDK
  • oci-sdk -- Official Oracle Cloud SDK for Node.js

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.