Getting Started#
This guide helps you install Cloud Native MCP Server, validate connectivity, and prepare for production rollout.
What You Will Set Up#
- Run the server in one of two modes:
sse,streamable-http - Enable authentication with the correct environment variables
- Verify runtime health and MCP handshake behavior
- Continue with FAQ and troubleshooting playbooks
Prerequisites#
- Kubernetes access (
~/.kube/configor in-cluster credentials) - Docker or a Linux host for binary execution
- Go
1.25+(only needed for source build) - Network access to observability backends you plan to integrate
Installation Options#
```bash
docker run -d \
--name cloud-native-mcp-server \
-p 8080:8080 \
-v ~/.kube:/root/.kube:ro \
-e MCP_AUTH_ENABLED=true \
-e MCP_AUTH_MODE=apikey \
-e MCP_AUTH_API_KEY='ChangeMe-Strong-Key-123!' \
mahmutabi/cloud-native-mcp-server:latest
```
```bash
curl -LO https://github.com/mahmut-Abi/cloud-native-mcp-server/releases/latest/download/cloud-native-mcp-server-linux-amd64
chmod +x cloud-native-mcp-server-linux-amd64
./cloud-native-mcp-server-linux-amd64 --mode=sse --addr=0.0.0.0:8080
```
```bash
git clone https://github.com/mahmut-Abi/cloud-native-mcp-server.git
cd cloud-native-mcp-server
make build
./cloud-native-mcp-server --mode=streamable-http --addr=0.0.0.0:8080
```
Choose a Run Mode#
| Mode | Recommended For | Main Endpoint |
|---|---|---|
sse | Broad MCP client compatibility | /api/aggregate/sse |
streamable-http | Modern MCP transport in production | /api/aggregate/streamable-http |
First Validation#
Run these checks after startup:
| |
If you are not in the repository directory, run the script directly:
| |
Authentication Check#
When MCP_AUTH_ENABLED=true and MCP_AUTH_MODE=apikey:
| |
You can also pass the key via request header:
| |
Common Runtime Settings#
| |