Oracle Cloud

io.github.ExpertVagabond由 GitHub 帳號 ExpertVagabond 發布v1.0.1更新於 Oct 24, 2026

Oracle Cloud Infrastructure MCP server

已驗證STDIO僅桌面資料庫雲端與基礎設施

概覽

AI 產生的概覽

一個本機 MCP 伺服器,讓助理檢視與管理 Oracle 雲端基礎架構資源,例如運算、儲存、網路、資料庫與 IAM。

可以做什麼
  • 列出、檢視運算執行個體,並啟動、停止或重設執行個體,列出可用規格
  • 列出、建立與刪除物件儲存桶,並依前置字串篩選列出物件
  • 列出區塊儲存磁碟區與開機磁碟區
  • 列出與建立虛擬雲端網路,並列出子網路
  • 列出自治資料庫、取得連線字串,並啟動或停止資料庫
  • 列出 IAM 使用者、群組、原則、區間與可用性網域
適用情境
當你使用 Oracle 雲端基礎架構,希望助理盤點租用戶資源、查看免費方案容量,或執行啟動資料庫、停止執行個體等日常維運操作而不必切換到 OCI 主控台時適用。
執行需求
以 Node.js 本機程序執行,從 npm 套件安裝。需要在 OCI 設定檔中提供 OCI 憑證,通常包含使用者 OCID、指紋、租用戶 OCID、區域與 API 私密金鑰檔案,或工作階段權杖檔案。選用環境變數可指定設定檔路徑、設定設定檔、租用戶 OCID 與區域。需要連線至 OCI 的網路存取。
安裝前請注意
需要 OCI API 憑證,包括私密金鑰檔案或工作階段權杖,可存取你的租用戶。多個工具會變更狀態:啟動、停止或重設執行個體,建立與刪除儲存桶,建立 VCN,以及啟動或停止資料庫。請將憑證限制在有限原則範圍內,並在執行破壞性操作前確認。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Oracle Cloud,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

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

bash
npm install

Configuration

Configure OCI credentials in ~/.oci/config:

ini
[DEFAULT]user=ocid1.user.oc1..xxxfingerprint=xx:xx:xx:xx:xxtenancy=ocid1.tenancy.oc1..xxxregion=us-chicago-1key_file=~/.oci/api_keys/oci_api_key.pem

Add to your Claude Code MCP config:

json
{  "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

來源:README.md,提交 ce7f3dc

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分