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 分