MCP.so
登录

Oci MCP Server

@rohit1223

基本信息

分类

其他

传输方式

stdio

作者

rohit1223

关于 Oci MCP Server

MCP server for OCI resources

Oci MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

Oci MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is oci-mcp-server?

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, Cursor, and LlamaIndex/Ollama).

How to use oci-mcp-server?

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).

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.
  • LlamaIndex/Ollama client for natural language interaction.
  • Programmatic client for testing and debugging.

Use cases of oci-mcp-server

  • Manage OCI API Gateways using an AI-powered code editor (Cursor).
  • Automate API Gateway inventory and monitoring tasks.
  • Build custom automation scripts with programmatic access.
  • Experiment with self-hosted LLM agents for OCI resource management.

常见问题

1

What is oci-mcp-server?

oci-mcp-server is a Python MCP server that exposes tools to list and retrieve details of OCI API Gateways, usable from both traditional code and AI agents.

2

What are the prerequisites?

Python 3.11, the `uv` package manager, an OCI account with API Gateway access, and OCI session authentication files located in `~/.oci/sessions/DEFAULT/`.

3

What tools does the server expose?

Two tools: `list_gateways_tool(compartment_id)` and `get_gateway_tool(gateway_id)`.

4

How do I integrate with Cursor?

Update the `mcp.json` file with absolute paths to your Python executable and `server.py`, following the example in `src/mcp_template.json`.

5

Is the LlamaIndex/Ollama client fully functional?

No, it is a work in progress (WIP). Ensure Ollama is running locally with the `llama3.2` model before using it.

评论

其他 分类下的更多 MCP 服务器