oci-secrets-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@oci-secrets-mcplist secrets in compartment ocid1.compartment.oc1.."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OCI Secrets MCP
An MCP server for OCI Vault's documented public Secrets control-plane and data-plane APIs.
Install
git clone https://github.com/kevinwengh/oci-secrets-mcp.git
cd oci-secrets-mcp
uv syncRelated MCP server: OCI MCP Server
OCI authentication
The server signs outbound requests with the OCI Python SDK. It never accepts private keys, bearer tokens, or authorization headers from MCP tools.
Mode | Required configuration |
|
|
| OCI config profile configured with a security token |
|
|
|
|
|
|
|
|
|
|
Select a non-default provider with OCI_SECRETS_MCP_AUTH_MODE.
For security-token and delegation-token modes, refresh the token file with the normal OCI tooling. If OCI returns 401 NotAuthenticated, the server rebuilds both SDK clients from the current credential source and retries the request once.
API-key example
An OCI user Auth Token intended for services such as Container Registry or SMTP cannot sign OCI SDK requests. Use an API signing key pair instead: upload the public key to the OCI user and keep the matching private key outside this repository.
Save the private key with user-only permissions outside the repository, for example:
/absolute/path/to/.oci/oci-secrets-mcp-api-key.pemDo not paste the private key into this README or the MCP client configuration. Add a profile like this to your OCI configuration file, replacing every placeholder with your own value:
[OCI_SECRETS_MCP]
user=<USER_OCID>
fingerprint=<KEY_FINGERPRINT>
tenancy=<TENANCY_OCID>
region=<OCI_REGION>
key_file=/absolute/path/to/.oci/oci-secrets-mcp-api-key.pemConfigure your MCP client to select that profile. The configuration format is client-specific.
Claude Desktop
Claude Desktop uses JSON. Add the following server entry to its MCP configuration:
{
"mcpServers": {
"oci-secrets": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/oci-secrets-mcp",
"run",
"oci-secrets-mcp"
],
"env": {
"OCI_SECRETS_MCP_AUTH_MODE": "api_key",
"OCI_CONFIG_FILE": "/absolute/path/to/.oci/config",
"OCI_CONFIG_PROFILE": "OCI_SECRETS_MCP"
}
}
}
}Restart Claude Desktop after changing its configuration.
Codex
Codex uses TOML. Add the following to ~/.codex/config.toml, or to
.codex/config.toml in a trusted project:
[mcp_servers.oci-secrets]
command = "uv"
args = [
"--directory",
"/absolute/path/to/oci-secrets-mcp",
"run",
"oci-secrets-mcp",
]
[mcp_servers.oci-secrets.env]
OCI_SECRETS_MCP_AUTH_MODE = "api_key"
OCI_CONFIG_FILE = "/absolute/path/to/.oci/config"
OCI_CONFIG_PROFILE = "OCI_SECRETS_MCP"Restart Codex after changing its configuration, then verify that the server is registered:
codex mcp listThe environment variables above belong to the MCP client configuration. They
are applied when Claude Desktop or Codex launches the server. If you run
uv run oci-secrets-mcp directly in a shell, export the same variables first;
otherwise the server uses its defaults, including the DEFAULT OCI profile.
The tenancy OCID can also be used as the root compartment ID. For example, call list_secrets with:
{
"compartment_id": "<TENANCY_OR_COMPARTMENT_OCID>",
"vault_id": "<VAULT_OCID>"
}Run
Stdio is the default transport and is suitable for local MCP clients:
uv run oci-secrets-mcpThe optional streamable HTTP transport is restricted to loopback:
uv run oci-secrets-mcp --transport streamable-http --host 127.0.0.1 --port 8000The streamable HTTP transport does not authenticate callers or validate
browser origins. Loopback binding reduces network exposure, but it does not
protect against untrusted local processes or every DNS-rebinding scenario.
Any caller that reaches the endpoint can use the server's configured OCI
identity to retrieve secret content and can submit state-changing calls withconfirm=true. Prefer stdio unless you have separately isolated and secured
the HTTP endpoint.
The server does not permit a non-loopback bind, including behind a gateway. See the separate Claude Desktop and Codex configuration examples above for stdio client setup.
Safety and IAM
All state-changing tools have MCP destructive annotations and require confirm=true; this includes creation, updates, rotation, compartment moves, and deletion/rotation scheduling or cancellation. Secret-bundle retrieval returns secret content, so grant the executing OCI principal only the Vault permissions it requires and treat MCP responses as sensitive.
The confirm=true check is a guard against accidental changes, not an
authentication or authorization boundary. OCI IAM and MCP client access policy
remain the security boundaries.
Create and update requests use typed MCP schemas with snake_case field names and are converted to OCI SDK models before transmission. Successful results contain:
data: the OCI SDK response model converted to JSON.opc_request_id: OCI's request identifier.headers: allowlisted pagination, ETag, work-request, location, and retry metadata when present.status: the HTTP response status.
Verification
uv run ruff check .
uv run pytestLicense
Licensed under the MIT License.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables interaction with HashiCorp Vault to read, write, list, and delete secrets through a containerized MCP server with secure token-based authentication.Last updated428MIT
- AlicenseCqualityBmaintenanceAn MCP server that exposes Oracle Cloud Infrastructure (OCI) control plane to LLM clients, enabling management of compute, networking, storage, databases, and more through natural language.Last updated551Apache 2.0

keyshade-mcpofficial
AlicenseBqualityDmaintenanceMCP server for interacting with Keyshade's secrets management platform, enabling secure retrieval and management of secrets via natural language.Last updated448Mozilla Public 2.0- Alicense-qualityDmaintenanceMCP server for Oracle Container Engine for Kubernetes (OKE) that enables inspection, querying, and troubleshooting of OKE clusters through safe, composable tools.Last updatedUniversal Permissive v1.0
Related MCP Connectors
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
MCP server for Appcircle mobile CI/CD platform.
The official MCP Server from Mia-Platform to interact with Mia-Platform Console
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kevinwengh/oci-secrets-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server