This project implements a Model Context Protocol (MCP) server for Oracle Cloud Infrastructure, allowing LLMs like Claude to interact directly with
This project implements a Model Context Protocol (MCP) server for Oracle Cloud Infrastructure, allowing LLMs like Claude to interact directly with OCI resources. The oci mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 14 defined tools rather than through you.
Everything the assistant can do here goes through one of these:
get_cost_usage_summary — Get cost and usage summary for a tenancy with daily or monthly granularityget_cost_by_service — Get cost breakdown by service for a specified time periodget_cost_by_compartment — Get cost breakdown by compartment for a specified time periodClusters — List/get clusters with Kubernetes version, endpoints, network config, and available upgradesKubeconfig — Get kubeconfig file content for kubectl access to clustersAlarms — List/get alarms with severity, query history, and state transitionsMetrics — List metrics, query time-series data with MQL for performance analysisLogs — Search logs, list log groups and logs for troubleshootingCompartments — The Compartments tool exposed by this serverUsers — The Users tool exposed by this serverGroups — The Groups tool exposed by this serverPolicies — The Policies tool exposed by this serverYou will need 2 environment variables: PYTHONPATH, FASTMCP_LOG_LEVEL. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
oci setup config) - Appropriate permissions in Oracle CloudThe server ships on PyPI as git, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
Among the cloud and infrastructure options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Oci's toolset — get_cost_usage_summary, get_cost_by_service, get_cost_by_compartment and 11 more — is a fair guide to whether it matches your workflow. It is maintained by jopsis; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Oci's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| get_cost_usage_summary | Get cost and usage summary for a tenancy with daily or monthly granularity |
| get_cost_by_service | Get cost breakdown by service for a specified time period |
| get_cost_by_compartment | Get cost breakdown by compartment for a specified time period |
| Clusters | List/get clusters with Kubernetes version, endpoints, network config, and available upgrades |
| Kubeconfig | Get kubeconfig file content for kubectl access to clusters |
| Alarms | List/get alarms with severity, query history, and state transitions |
| Metrics | List metrics, query time-series data with MQL for performance analysis |
| Logs | Search logs, list log groups and logs for troubleshooting |
| Compartments | The Compartments tool exposed by this server. |
| Users | The Users tool exposed by this server. |
| Groups | The Groups tool exposed by this server. |
| Policies | The Policies tool exposed by this server. |
| Subnets | The Subnets tool exposed by this server. |
| Security | The Security tool exposed by this server. |
**With fixed profile:**
```json
"mcpServers": {
"mcp-server-oci": {
"command": "python",
"args": [
"-m",
"mcp_server_oci.mcp_server",
"--profile", "DEFAULT"
],
"env": {
"PYTHONPATH": "/<PATH_TO_MCP>/mcp-server-oci",
"FASTMCP_LOG_LEVEL": "INFO"
}
}
}Configuration as documented by the project. Restart the client after saving.
oci setup config) - Appropriate permissions in Oracle Cloud| Variable | Description | Required |
|---|---|---|
| PYTHONPATH | Filesystem location the server is allowed to use. | Optional |
| FASTMCP_LOG_LEVEL | Configuration value read at startup. | Optional |
Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Stop letting your assistant hallucinate n8n node parameters — this server hands it the real schemas, templates and validation.
AWS Labs' official server suite — current AWS docs, CDK guidance, cost analysis and service tools.
Cloud browsers for AI agents — automation sessions that run in Browserbase's fleet, not on your machine.
Workers, KV, R2 and D1 by conversation — Cloudflare's official remote servers for building and observability.
Dashboards, Prometheus and Loki queries, incidents and alerts — observability by conversation.