Skip to main content
Glama
sarthak-pansare

OCI MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OCI_REGIONNoOverride region from config(from file)
OCI_PROFILENoConfig profile nameDEFAULT
OCI_MCP_HOSTNoHost for HTTP/SSE transports127.0.0.1
OCI_MCP_PORTNoPort for HTTP/SSE transports3000
OCI_MCP_ENABLENoComma-separated module list, or 'all'all
OCI_CONFIG_FILENoOverride OCI config path~/.oci/config
OCI_MCP_TRANSPORTNoTransport protocol: stdio, sse, or streamable-httpstdio

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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).

    Order: instance(s) -> subnets -> clear route tables -> IGW/NAT/Service gateways
    -> non-default security lists -> non-default route tables -> VCN.
    

Prompts

Interactive templates invoked by user choice

NameDescription
deploy_webserver_wizardWalk the LLM through a full web-server deployment.
teardown_compartmentList then offer to terminate all resources in a compartment.

Resources

Contextual data attached and managed by the client

NameDescription
_config_resourceActive 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