Prerequisites
Install Podman
Follow the official Podman installation guide for your platform:Podman Installation
Official installation instructions for Linux, macOS, and Windows
Building Container Images
Build All Servers
Build container images for all supported MCP servers:Build Specific Server
Use theSUBDIRS variable to build a specific server:
The containerize target automatically:
- Reads version from
pyproject.toml - Builds the image with version tag (e.g.,
oracle.oci-api-mcp-server:0.1.0) - Creates a
latesttag for convenience
Containerfile Structure
Each server includes aContainerfile with:
Running Containers
STDIO Transport (Default)
For MCP clients that communicate via standard input/output:HTTP Transport
Run the server in HTTP streaming mode:The
type attribute varies by MCP client:- Cline uses
streamableHttp - Most others use
http
OCI Configuration
Credential Mounting
When running OCI servers, mount your OCI configuration directory:Path Resolution in Container
Ensure your~/.oci/config file uses the ~ character for file paths to work both inside and outside the container:
Servers Without OCI Credentials
For servers that don’t require OCI authentication, omit the volume mount:Container Management
List Images
View built container images:Remove Images
Remove a specific image:View Running Containers
Stop Running Container
Troubleshooting
Authentication Errors
If you see OCI authentication errors:- Verify the volume mount path is correct
- Check that
~/.oci/configuses~for file paths - Ensure your OCI session hasn’t expired:
Permission Errors
If you encounter permission issues:Connection Errors (HTTP Mode)
If the client can’t connect to HTTP endpoint:- Verify the container is running:
podman ps - Check port mapping:
-p 8888:8888 - Ensure
ORACLE_MCP_HOST=0.0.0.0(not127.0.0.1) - Test connectivity:
curl http://127.0.0.1:8888/mcp
Next Steps
HTTP Mode
Learn more about HTTP transport configuration
Local Development
Set up local development environment
Client Configuration
Configure different MCP clients
Authentication
Set up OCI authentication
