oci-mcp-server

by rohit1223

138 downloads
Not rated
GitHub

About

oci-mcp-server is a Python MCP (Model Context Protocol) server for Oracle Cloud Infrastructure (OCI) API Gateway management. It provides tools to list and retrieve details of API Gateways, and supports both programmatic clients and LLM-powered agents (via stdio transport…

Details

Author
rohit1223
Downloads
138
Categories
Other

- List API Gateways in a given OCI compartment.
- Get details for a specific API Gateway.
- MCP stdio transport for easy integration.
- LlamaIndex/Ollama client for natural language interaction.
- Programmatic client for testing and debugging.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name oci-mcp-server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install Python 3.11, the uv package manager, and create a virtual environment. Install dependencies from pyproject.toml. Configure OCI compartment, gateway OCIDs, region, and profile in src/config.py, and ensure valid OCI session authentication files exist. Run python src/server.py to start the server via stdio transport. For Cursor integration, edit ~/.cursor/mcp.json using the template in src/mcp_template.json. Optionally run the programmatic client (python src/client_stdio.py) or the WIP LlamaIndex/Ollama client (python src/client_llama_react.py).

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "oci-mcp-server": {
            "oci-mcp-server": {
                "command": "uv",
                "args": [
                    "self-update"
                ]
            }
        }
    }
}

McpServers

{
    "oci-mcp-server": {
        "command": "uv",
        "args": [
            "self-update"
        ]
    }
}

oci-mcp-server

A Python MCP (Multi-Client Protocol) server for Oracle Cloud Infrastructure (OCI) API Gateway management, with both programmatic and LLM-powered clients.

---

Features

- List API Gateways in a given OCI compartment.
- Get details for a specific API Gateway.
- MCP stdio transport for easy integration with LLM agents and other clients.
- LlamaIndex/Ollama client for natural language interaction with OCI API Gateway resources.

---

Quickstart

1. Prerequisites

- Python 3.11 (required)
- uv (fast Python package/dependency manager)
- OCI account with API Gateway access
- OCI session authentication files (~/.oci/sessions/DEFAULT/token and oci_api_key.pem)

2. Install uv

curl -Ls https://astral.sh/uv/install.sh | sh

Or, from PyPI:
```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.