Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/oci-support-mcp-server/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.13
35 changes: 35 additions & 0 deletions src/oci-support-mcp-server/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
Copyright (c) 2025 Oracle and/or its affiliates.

The Universal Permissive License (UPL), Version 1.0

Subject to the condition set forth below, permission is hereby granted to any
person obtaining a copy of this software, associated documentation and/or data
(collectively the "Software"), free of charge and under any and all copyright
rights in the Software, and any and all patent rights owned or freely
licensable by each licensor hereunder covering either (i) the unmodified
Software as contributed to or provided by such licensor, or (ii) the Larger
Works (as defined below), to deal in both

(a) the Software, and
(b) any piece of software and/or hardware listed in the lrgrwrks.txt file if
one is included with the Software (each a "Larger Work" to which the Software
is contributed by such licensors),

without restriction, including without limitation the rights to copy, create
derivative works of, display, perform, and distribute the Software and make,
use, sell, offer for sale, import, export, have made, and have sold the
Software and the Larger Work(s), and to sublicense the foregoing rights on
either these or other terms.

This license is subject to the following condition:
The above copyright notice and either this complete permission notice or at
a minimum a reference to the UPL must be included in all copies or
substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
78 changes: 78 additions & 0 deletions src/oci-support-mcp-server/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# OCI Support MCP Server

## Overview

This MCP server provides tools to interact with Oracle Cloud Infrastructure (OCI) Support resources via the CIMS API. The server enables listing and managing support tickets, validating users making it easy to automate and monitor support operations.

## Running the server

### STDIO transport mode (for local testing)

```sh
uv oracle.oci-support-mcp-server
```

### HTTP streaming transport mode

```sh
ORACLE_MCP_HOST=<hostname/IP address> ORACLE_MCP_PORT=<port number> uv oracle.oci-support-mcp-server
```

## Tools

| Tool Name | Description |
| --- | --- |
| list_incidents | List support incidents for the tenancy using Oracle CIMS. |
| get_incident | Get details of a specific support incident. |
| create_incident | Create a new support incident with all required details. |
| list_incident_resource_types | List available incident resource types (products, services, service categories) for OCI support requests. |
| validate_user | Validate if a user (by OCID/CSI and credentials) is permitted for OCI support operations. |

⚠️ **NOTE**: All actions are performed with the permissions of the configured OCI CLI profile. We advise least-privilege IAM setup, secure credential management, safe network practices, secure logging, and warn against exposing secrets.

## Authentication

> **Important:**
> The OCI Support MCP Server does NOT support `oci session authenticate` or token-based authentication.
> Instead, it authenticates exclusively using the OCI config file with a private key and fingerprint.

You must provide credentials in the standard OCI CLI config file (see [OCI docs](https://docs.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm)).

**Example environment configuration for Cline or compatible clients:**

```json
{
"mcpServers": {
"oracle-oci-support-mcp-server": {
"type": "stdio",
"command": "uv",
"args": [
"oracle.oci-support-mcp-server"
],
"env": {
"OCI_CONFIG_PROFILE": "<profile>", // OCI CLI profile with private key & fingerprint
"OCI_CONFIG_FILE": "/.oci/config" // Path to the OCI CLI config file (typically ~/.oci/config)
}
}
}
}
```
- `OCI_CONFIG_PROFILE` — This is the name of your OCI config CLI profile that includes the correct private key and fingerprint.
- `OCI_CONFIG_FILE` — Path to the OCI CLI config file (default: `~/.oci/config`).

⚠️ **NOTE:** Session-based or ephemeral authentication (e.g., using `oci session authenticate`) is **not supported** for the Support MCP Server. Only config-file-based authentication is supported.

## Third-Party APIs

Developers distributing a binary implementation of this project are responsible for obtaining and providing all required licenses and copyright notices for third-party code to ensure compliance with their respective open source licenses.

## Disclaimer

Users are responsible for their local environment and credential safety. Use of this software may impact OCI support configuration if misused. Different LLM/model selections and prompt configurations can yield different results and performance.

## License

Copyright (c) 2025 Oracle and/or its affiliates.

Released under the Universal Permissive License v1.0 as shown at
<https://oss.oracle.com/licenses/upl/>.
5 changes: 5 additions & 0 deletions src/oci-support-mcp-server/oracle/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"""
Copyright (c) 2025, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v1.0 as shown at
https://oss.oracle.com/licenses/upl.
"""
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
"""
Copyright (c) 2025, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v1.0 as shown at
https://oss.oracle.com/licenses/upl.
"""

__project__ = "oracle.oci-support-mcp-server"
__version__ = "1.0.0"
Loading