OCI MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OCI_REGION | No | Override region from config | (from file) |
| OCI_PROFILE | No | Config profile name | DEFAULT |
| OCI_MCP_HOST | No | Host for HTTP/SSE transports | 127.0.0.1 |
| OCI_MCP_PORT | No | Port for HTTP/SSE transports | 3000 |
| OCI_MCP_ENABLE | No | Comma-separated module list, or 'all' | all |
| OCI_CONFIG_FILE | No | Override OCI config path | ~/.oci/config |
| OCI_MCP_TRANSPORT | No | Transport protocol: stdio, sse, or streamable-http | stdio |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| whoamiA | Tenancy/user/region from loaded OCI config — canonical 'connected?' check. |
| health_checkB | Ping OCI: list regions, return count. |
| list_compartmentsC | List compartments under a parent (default: tenancy). |
| list_usersC | List IAM users. |
| list_availability_domainsA | List availability domains (default compartment: tenancy). |
| list_regionsA | List all OCI regions. |
| list_instancesC | List compute instances. |
| get_instanceA | Get one instance. verbose=true returns full SDK object. |
| list_imagesC | List platform images, newest first. |
| list_shapesC | List compute shapes available in a compartment. |
| launch_instanceB | Launch a compute instance. Use shape_ocpus/memory for flex shapes. |
| instance_actionC | Power action. action: START|STOP|SOFTSTOP|RESET|SOFTRESET. |
| terminate_instanceC | Terminate an instance. |
| list_instance_vnicsC | List VNIC attachments (incl. public IP) for an instance. |
| list_vcnsC | List VCNs. |
| create_vcnD | Create a VCN. |
| delete_vcnB | Delete a VCN (must be empty). |
| list_subnetsC | List subnets, optionally filtered by VCN. |
| create_subnetC | Create a subnet. Omit availability_domain for a regional subnet. |
| create_internet_gatewayD | Create an internet gateway. |
| add_default_routeC | Append a route (cidr -> gateway/IGW/NAT/Service GW) to a route table. |
| create_security_listC | Create a security list. ingress_tcp_ports defaults to [22, 80, 443]. |
| create_nat_gatewayC | Create a NAT gateway (egress for private subnets). |
| list_service_gatewaysC | List service gateways (private access to OCI services). |
| create_service_gatewayB | Create a service gateway. service_id from list_services. |
| list_servicesA | List OCI services available via service gateway. |
| get_namespaceB | Tenancy's Object Storage namespace string. |
| list_bucketsD | List buckets. |
| create_bucketC | Create a bucket. public_access_type: NoPublicAccess|ObjectRead|ObjectReadWithoutList. |
| delete_bucketC | Delete an empty bucket. |
| list_objectsC | List objects in a bucket. |
| list_volumesC | List block volumes. |
| list_db_systemsC | List Oracle Base Database systems. |
| list_autonomous_databasesC | List Autonomous Databases (ADW/ATP). |
| list_load_balancersC | List public/private Load Balancers. |
| create_load_balancerC | Create a flexible Load Balancer. subnet_ids: one regional or two ADs. |
| delete_load_balancerC | Delete a Load Balancer. |
| list_network_load_balancersC | List Network Load Balancers (L4). |
| list_clustersC | List OKE clusters. |
| get_clusterC | Get OKE cluster. |
| create_clusterC | Create an OKE cluster (basic; node pool added separately). |
| delete_clusterC | Delete an OKE cluster. |
| list_node_poolsC | List OKE node pools. |
| list_vaultsC | List KMS vaults. |
| get_vaultC | Get a vault. |
| list_keysB | List keys in a vault. Get management_endpoint from get_vault. |
| list_applicationsC | List Functions applications. |
| list_functionsC | List functions in an application. |
| list_alarmsC | List monitoring alarms. |
| list_metricsC | List metric definitions in a compartment. namespace e.g. oci_computeagent. |
| summarize_metricsB | Run a MQL summary. Times: ISO8601. Query: e.g. 'CpuUtilization[1m].mean()'. |
| find_resourcesA | Search ALL OCI resources. Examples: 'query all resources where displayName =~ "web*"' 'query instance resources' 'query vcn,subnet resources where lifecycleState = "AVAILABLE"' |
| list_resource_typesA | List all resource types searchable via Resource Search. |
| deploy_web_serverA | One-shot: VCN+IGW+route+seclist+subnet+nginx instance. Returns public_ip + URL. |
| teardown_stackA | Terminate an instance and tear down its VCN (subnets, gateways, security lists). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| deploy_webserver_wizard | Walk the LLM through a full web-server deployment. |
| teardown_compartment | List then offer to terminate all resources in a compartment. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| _config_resource | Active OCI tenancy + region. |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sarthak-pansare/oci-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server