Quick Start Guide
Quick Start¶
Using Docker Compose (Recommended)¶
Prerequisites¶
A Docker-compatible container runtime such as:
- Docker Desktop (Windows / macOS)
- Rancher Desktop (Windows / macOS)
- Colima (macOS)
- Docker Engine + Compose plugin (Linux)
Ensure docker and docker compose commands are available.
Replace ${version} with the API Platform AI Gateway release version you want to run.
# Download distribution.
wget https://github.com/wso2/api-platform/releases/download/ai-gateway/v1.0.0/wso2apip-ai-gateway-1.0.0.zip
# Unzip the downloaded distribution.
unzip wso2apip-ai-gateway-1.0.0.zip
# Start the complete stack
cd wso2apip-ai-gateway-1.0.0/
docker compose -p ai-gateway up -d
# Verify gateway controller admin endpoint is running
curl http://localhost:9094/health
Deploy an MCP proxy configuration¶
Start the sample MCP server
docker run -p 3001:3001 --name everything --network ai-gateway_gateway-network rakhitharr/mcp-everything:v3
Run the following command to deploy the MCP proxy.
For local or development environments only, the default credentials may be admin:admin encoded as YWRtaW46YWRtaW4=.
curl -X POST http://localhost:9090/mcp-proxies \
-H "Content-Type: application/yaml" \
-H "Authorization: Basic <BASE64_CREDENTIAL>" \
--data-binary @- <<'EOF'
apiVersion: gateway.api-platform.wso2.com/v1alpha1
kind: Mcp
metadata:
name: everything-mcp-v1.0
spec:
displayName: Everything
version: v1.0
context: /everything
specVersion: "2025-06-18"
upstream:
url: http://everything:3001
tools: []
resources: []
prompts: []
EOF
Stopping the Gateway¶
Stop and remove the MCP backend first.
When stopping the gateway, you have two options:
Option 1: Stop runtime, keep data (persisted proxies and configuration)¶
This stops the containers but preserves the controller-data volume. When you restart with docker compose -p ai-gateway up, all your API configurations will be restored.
Option 2: Complete shutdown with data cleanup (fresh start)¶
This stops containers and removes thecontroller-data volume. Next startup will be a clean slate with no persisted proxies or configuration.