Prerequisites
System Requirements
Operating System
- Linux (Ubuntu, RHEL, etc.)
- macOS (10.15+)
- Windows (10/11)
Core Tools
- Git (for cloning repository)
- Internet access
- Terminal/Command Prompt
Language Runtimes
- Python 3.13+ (most servers)
- Node.js 18+ (some servers)
- Java 21+ (Java-based servers)
Each MCP server may have specific requirements. Always check the server’s individual README in
src/<server-name>/ for detailed prerequisites.Required Tools
uv (Python Package Manager)
Theuv tool is the recommended way to install and run Python-based Oracle MCP servers.
Python 3.13
Install Python 3.13 usinguv:
OCI Authentication
Most Oracle Cloud Infrastructure (OCI) MCP servers require authentication with your Oracle Cloud account. There are two primary authentication methods:Method 1: Session Token Authentication (Recommended)
Install OCI CLI
Authenticate with session tokens
Run the authentication command:Replace:This will:
<region>: Your OCI region (e.g.,us-phoenix-1,us-ashburn-1,eu-frankfurt-1)<tenancy_name>: Your OCI tenancy name
- Open a browser for authentication
- Create a session token
- Store credentials in
~/.oci/config
Method 2: API Key Authentication
Some MCP servers may not work with token-based authentication alone. For API key-based authentication:- Generate an API signing key pair following the OCI documentation
- Upload the public key to your OCI user settings
- Configure your
~/.oci/configfile with the key path
Installation Methods
Method 1: Quick Install with uvx (Recommended)
The fastest way to use Oracle MCP servers without local development:Choose your server
Available Python-based servers include:
oracle.oci-api-mcp-server- Generic OCI CLI command executionoracle.oci-compute-mcp-server- Compute instance managementoracle.oci-database-mcp-server- Database service managementoracle.oci-identity-mcp-server- Identity and access managementoracle.oci-networking-mcp-server- Virtual network managementoracle.dbtools-mcp-server- Database tools and SQL executionoracle.mysql-mcp-server- MySQL and HeatWave integration- And 15+ more servers
Run the server
Use
uvx to run the server directly without installation:The
@latest suffix ensures you always use the most recent version. You can also specify a version like @1.1.4.Configure your MCP client
Add the server to your MCP client configuration (see Quickstart for examples).
Method 2: Local Development Installation
For contributing changes or customizing servers:Build and install servers
Method 3: Container Deployment
Run MCP servers using Podman (or Docker) containers for isolation and portability.Install Podman
Build the container image
Clone the repository and build a specific server:This builds an image tagged as
oracle.oci-api-mcp-server:latest.You can build other servers by changing the
SUBDIRS value (e.g., src/oci-compute-mcp-server).Container path resolution
Container path resolution
When using containers, ensure file paths in your Avoid absolute paths like
~/.oci/config use the ~ character so paths resolve correctly both inside and outside the container:/Users/username/.oci/oci_api_key.pem.Platform-Specific Notes
macOS
- Use Homebrew for installing tools when possible:
brew install oci-cli podman - Ensure command-line tools are installed:
xcode-select --install - Podman requires a virtual machine:
podman machine init && podman machine start
Linux
- Most distributions work out of the box
- Ensure you have appropriate permissions for Docker/Podman (add user to
dockergroup if needed) - For rootless Podman, follow rootless setup guide
Windows
- Use PowerShell (not Command Prompt) for better compatibility
- Windows Subsystem for Linux (WSL2) is recommended for the best experience
- Ensure execution policies allow running scripts:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser - Use forward slashes or escaped backslashes in JSON paths
Verifying Installation
After installation, verify everything is working:Use MCP Inspector (optional)
The MCP Inspector is a developer tool for testing servers:This opens a web interface (usually http://127.0.0.1:6274) for testing server capabilities.
Environment Variables
Common environment variables for Oracle MCP servers:| Variable | Description | Default | Example |
|---|---|---|---|
OCI_CONFIG_PROFILE | OCI CLI profile to use | DEFAULT | PRODUCTION |
FASTMCP_LOG_LEVEL | Logging verbosity | INFO | ERROR, DEBUG |
ORACLE_MCP_HOST | HTTP server host | - | 127.0.0.1 |
ORACLE_MCP_PORT | HTTP server port | - | 8888 |
VIRTUAL_ENV | Path to Python virtual environment | - | /path/to/.venv |
Troubleshooting
uv command not found
uv command not found
- Ensure
uvis in your PATH - Restart your terminal after installation
- On macOS/Linux, add to PATH:
export PATH="$HOME/.cargo/bin:$PATH" - On Windows, the installer should add to PATH automatically
Python version errors
Python version errors
- Check available Python versions:
uv python list - Install required version:
uv python install 3.13 - Some servers may work with Python 3.11+ (check server README)
OCI authentication failures
OCI authentication failures
- Verify session is valid:
oci session validate - Check config file exists:
cat ~/.oci/config - Refresh session token:
oci session authenticate --profile-name DEFAULT --region <region> --auth security_token - For API key auth, verify key file path and permissions
Container permission errors
Container permission errors
- On Linux, check SELinux context for mounted volumes
- Use
:Zsuffix for volume mounts:-v ~/.oci:/app/.oci:Z - Verify file permissions:
ls -la ~/.oci - For rootless Podman, ensure proper UID mapping
Windows path issues
Windows path issues
- Use forward slashes or escaped backslashes in JSON
- Correct:
"C:\\Users\\username\\.oci"or"C:/Users/username/.oci" - Incorrect:
"C:\Users\username\.oci" - Consider using WSL2 for better compatibility
Next Steps
Quickstart Guide
Get your first MCP server running in minutes
Server Overview
Explore all 22 available Oracle MCP servers
Client Configuration
Detailed setup for Cline, Cursor, and other clients
Development Setup
Set up a local development environment
