@jorgeceballos/mcp-server-oci
Version:
Model Context Protocol server for Oracle Cloud Infrastructure
101 lines (100 loc) • 2.62 kB
JSON
{
"tools": [
{
"type": "function",
"function": {
"name": "list_compartments",
"description": "Lists all compartments available in your Oracle Cloud Infrastructure account"
}
},
{
"type": "function",
"function": {
"name": "list_instances",
"description": "Lists all compute instances in a specific compartment",
"parameters": {
"type": "object",
"properties": {
"compartmentId": {
"type": "string",
"description": "The OCID of the compartment to list instances from"
}
},
"required": ["compartmentId"]
}
}
},
{
"type": "function",
"function": {
"name": "get_instance",
"description": "Gets detailed information about a specific compute instance",
"parameters": {
"type": "object",
"properties": {
"instanceId": {
"type": "string",
"description": "The OCID of the instance to get details for"
}
},
"required": ["instanceId"]
}
}
},
{
"type": "function",
"function": {
"name": "start_instance",
"description": "Starts a stopped compute instance",
"parameters": {
"type": "object",
"properties": {
"instanceId": {
"type": "string",
"description": "The OCID of the instance to start"
}
},
"required": ["instanceId"]
}
}
},
{
"type": "function",
"function": {
"name": "stop_instance",
"description": "Stops a running compute instance",
"parameters": {
"type": "object",
"properties": {
"instanceId": {
"type": "string",
"description": "The OCID of the instance to stop"
}
},
"required": ["instanceId"]
}
}
},
{
"type": "function",
"function": {
"name": "restart_instance",
"description": "Restarts a running compute instance",
"parameters": {
"type": "object",
"properties": {
"instanceId": {
"type": "string",
"description": "The OCID of the instance to restart"
}
},
"required": ["instanceId"]
}
}
}
],
"tool_execution": {
"type": "stdio",
"command": "/Users/jocebal/Work/mcp-oci-server/run-claude-desktop.sh"
}
}