Back to Directory/Cloud Providers

io.github.ExpertVagabond/oracle-cloud

Oracle Cloud Infrastructure MCP server

Cloud ProvidersJavaScriptv1.0.1

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

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y oracle-cloud-mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-expertvagabond-oracle-cloud": {
      "command": "npx",
      "args": [
        "-y",
        "oracle-cloud-mcp"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

oracle-cloud-mcpnpm

Compatible MCP Clients

io.github.ExpertVagabond/oracle-cloud works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More