Oci MCP Server

This project implements a Model Context Protocol (MCP) server for Oracle Cloud Infrastructure, allowing LLMs like Claude to interact directly with

Local serverstdioPython

What is the Oci MCP Server?

This project implements a Model Context Protocol (MCP) server for Oracle Cloud Infrastructure, allowing LLMs like Claude to interact directly with OCI resources.

What it actually does

  • Dynamic Profile Selection — Switch between OCI profiles/tenancies without restarting the server
  • Connection to Oracle Cloud using standard OCI CLI configuration
  • 95 comprehensive tools — to list and manage OCI resources across 11+ service categories
  • Instance lifecycle management (start, stop)
  • Database Systems and DB Nodes management
  • Exadata Cloud Service — (Cloud Exadata Infrastructure, VM Clusters, Data Guard, backups, maintenance runs)

Configuration

  • Python 3.10 or higher - OCI CLI configured (oci setup config) - Appropriate permissions in Oracle Cloud

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_cost_usage_summaryGet cost and usage summary for a tenancy with daily or monthly granularity
get_cost_by_serviceGet cost breakdown by service for a specified time period
get_cost_by_compartmentGet cost breakdown by compartment for a specified time period

How to install the Oci MCP Server

claude mcp add server-oci --env PYTHONPATH=your-value --env FASTMCP_LOG_LEVEL=your-value -- uvx git

Configuration

  • Python 3.10 or higher - OCI CLI configured (oci setup config) - Appropriate permissions in Oracle Cloud
VariableDescriptionRequired
PYTHONPATHPython module search path for a local installation.Optional
FASTMCP_LOG_LEVELConfiguration value read at startup.Optional

Example prompts to try

  • “Use Oci to get cost usage summary.”
  • “Use Oci to get cost by service.”
  • “Use Oci to get cost by compartment.”

Frequently asked questions

This project implements a Model Context Protocol (MCP) server for Oracle Cloud Infrastructure, allowing LLMs like Claude to interact directly with OCI resources. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.