Skip to main content
Glama

OCI MCP Server

by jopsis

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PYTHONPATHNoPath to the MCP server OCI directory
FASTMCP_LOG_LEVELNoLog level for FastMCP (e.g., INFO, DEBUG)

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
list_oci_profiles
List all available OCI profiles from ~/.oci/config file. Returns a list of profiles with their configuration details. Use this when you need to select a profile before making OCI API calls.
set_oci_profile
Set the active OCI profile to use for API calls. Args: profile_name: Name of the profile to activate (e.g., "DEFAULT", "production") This will initialize or reinitialize OCI clients with the selected profile.
get_current_oci_profile

Get the currently active OCI profile.

Returns information about which profile is currently being used for API calls.

list_compartments

List all compartments accessible to the user.

list_instances

List all instances in a compartment.

get_instance

Get details of a specific instance.

start_instance

Start an instance.

stop_instance

Stop an instance.

list_db_systems

List DB Systems in a compartment.

get_db_system

Get DB System details.

list_db_nodes
List DB Nodes in a compartment, optionally filtered by DB System. Note: compartment_id is always required by the SDK.
get_db_node

Get DB Node details.

start_db_node

Start a DB Node.

stop_db_node

Stop a DB Node.

reboot_db_node

Reboot a DB Node.

reset_db_node

Reset (force reboot) a DB Node.

softreset_db_node

Soft reset (graceful reboot) a DB Node.

start_db_system
Start all nodes of a DB System. Note: compartment_id required to enumerate nodes correctly.
stop_db_system
Stop all nodes of a DB System. Note: compartment_id required to enumerate nodes correctly.

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/jopsis/mcp-server-oci'

If you have feedback or need assistance with the MCP directory API, please join our Discord server