oci-mcp-server
by rohit1223
A Python MCP (Multi-Client Protocol) server for Oracle Cloud Infrastructure (OCI) API Gateway management, offering both programmatic and LLM-powered clients. It allows users to manage OCI API Gateways through a standard interface.
Last updated: N/A
What is oci-mcp-server?
The oci-mcp-server is a Python-based Multi-Client Protocol (MCP) server designed to manage Oracle Cloud Infrastructure (OCI) API Gateways. It provides a unified interface for interacting with OCI API Gateway resources, supporting both programmatic access and natural language interaction via LLMs.
How to use oci-mcp-server?
To use the oci-mcp-server, you need to install the required dependencies, configure your OCI credentials, and run the server. You can then interact with it programmatically using the provided client scripts or through natural language queries using Cursor, LlamaIndex, or Ollama.
Key features of oci-mcp-server
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.
Use cases of oci-mcp-server
Automating OCI API Gateway management tasks.
Integrating OCI API Gateway management with LLM-powered agents.
Providing a natural language interface for OCI API Gateway management.
Testing and debugging OCI API Gateway configurations.
FAQ from oci-mcp-server
What are the prerequisites for using the oci-mcp-server?
What are the prerequisites for using the oci-mcp-server?
You need Python 3.11, uv (or pip), an OCI account with API Gateway access, and valid OCI session authentication files.
How do I configure the oci-mcp-server?
How do I configure the oci-mcp-server?
Edit the src/config.py
file to set your OCI compartment and gateway OCIDs, region, and profile.
How do I run the MCP server?
How do I run the MCP server?
From the project root, run python src/server.py
.
How do I interact with the server using Cursor?
How do I interact with the server using Cursor?
Configure the mcp.json
file and use natural language queries in the Cursor editor.
How do I use the programmatic client?
How do I use the programmatic client?
Run python src/client_stdio.py
to connect to the server and call the available tools.