Skip to main content

OCI OpenSearch MCP Server

Overview

This server provides MCP tools for interacting with the Oracle Cloud Infrastructure (OCI) OpenSearch control plane.

It exposes a focused, SDK-backed set of OpenSearch cluster lifecycle operations and work-request tracking tools for use by MCP clients.

Authentication

The server uses standard OCI configuration and signer behavior. Configure OCI credentials with an OCI config file and profile before starting the server. The active OCI identity's IAM permissions determine which OpenSearch operations are allowed.

Running the server

STDIO transport mode

uvx oracle.oci-opensearch-mcp-server

Local development from source

From this project directory, use one of these commands:

uv run oracle.oci-opensearch-mcp-server
uvx --from . oracle.oci-opensearch-mcp-server

Tools

Tool Name Description
list_opensearch_clusters List OpenSearch clusters in a compartment
get_opensearch_cluster Get a cluster by OCID
list_opensearch_cluster_shapes List available OpenSearch cluster node shapes
create_opensearch_cluster Create a cluster
update_opensearch_cluster Update a cluster
delete_opensearch_cluster Delete a cluster
resize_opensearch_cluster_vertical Resize a cluster vertically
resize_opensearch_cluster_horizontal Resize a cluster horizontally
backup_opensearch_cluster Trigger a cluster backup
list_work_requests List work requests; returns items and count
get_work_request Get work request status

Resources

Resource Description
resource://oci-opensearch-api-guide MVP guidance for async OpenSearch cluster workflows
resource://oci-opensearch-work-request-guide Guidance for work-request status tracking and failure triage
resource://oci-opensearch-tool-surface-summary Summary of implemented MVP tools and deferred families

Request body guidance

Mutation tools use OCI Python SDK-style request bodies with snake_case field names. For detailed payload conventions and examples, read the bundled resource://oci-opensearch-api-guide resource from your MCP client.

update_opensearch_cluster accepts a non-empty partial update_details body. display_name is optional and only needed when renaming a cluster.

To discover existing clusters, use list_opensearch_clusters rather than create_opensearch_cluster.

Most mutating operations are asynchronous and return an opc_work_request_id. Use get_work_request and list_work_requests to inspect status. MCP agents should not poll continuously by default: after an async response, they may call get_work_request once for an immediate status snapshot, then ask the user before repeated checks. For create, resize, and backup operations, MCP sends an opc_retry_token; callers may provide one explicitly, otherwise MCP generates and returns a deterministic token for the same logical request. An empty list_work_requests match is explicit: {"items": [], "count": 0}.

Notes

⚠️ NOTE: All actions are performed with the permissions of the configured OCI profile. Use least-privilege IAM policies, secure credential handling, and safe operational practices.

Third-Party APIs

Developers choosing to distribute a binary implementation of this project are responsible for obtaining and providing all required licenses and copyright notices for third-party code.

Disclaimer

Users are responsible for their local environment and credential safety. Different language model selections may yield different results and performance.

License

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

Released under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl/.

Metadata

Release files for oracle.oci-opensearch-mcp-server 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oracle.oci-opensearch-mcp-server 1.0.3
File Size Uploaded Provenance Actions
oracle_oci_opensearch_mcp_server-1.0.3.tar.gz 30.5 kB Without provenance Details for oracle_oci_opensearch_mcp_server-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for oracle.oci-opensearch-mcp-server 1.0.3
File Interpreter ABI Platform Actions
oracle_oci_opensearch_mcp_server-1.0.3-py3-none-any.whl Python 3 none any Details for oracle_oci_opensearch_mcp_server-1.0.3-py3-none-any.whl

Total release size: 53.5 kB

Release files / oracle_oci_opensearch_mcp_server-1.0.3.tar.gz

Download URL oracle_oci_opensearch_mcp_server-1.0.3.tar.gz
Size 30.5 kB
Tags Source
SHA-256 checksum
How to use checksums
47017de3d8a56e02ed86b055a6ccbe49ef78ce3a8c6b6e2750dc6d93c0705f8d
BLAKE2b-256 checksum
How to use checksums
f4e100a605717b9952d1dc6e316a0b0d19db43467aee58941db1ddd8bb149267
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Oracle Linux Server","version":"9.8","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / oracle_oci_opensearch_mcp_server-1.0.3-py3-none-any.whl

Download URL oracle_oci_opensearch_mcp_server-1.0.3-py3-none-any.whl
Size 23.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79d2697a9495bbe168479f0b30b774bcb2418f8f5f565006213331f9128dae95
BLAKE2b-256 checksum
How to use checksums
ae5111e23ad3f184f838dc2a4ec23c1cd4b658409f5ae733502dc65e9c7ad7ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Oracle Linux Server","version":"9.8","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for oracle.oci-opensearch-mcp-server 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page