What problem does it solve?
Create a MCP configuration file to connect Claude Code to the DataSurface MCP server running in the Kubernetes cluster.
Core Features & Use Cases
- Generate and place a .mcp.json file in your project root that points to the MCP SSE endpoint.
- Verify the MCP server status and NodePort in the target namespace.
- Validate Claude Code settings to enable MCP integration, then restart the editor to apply changes.
Quick Start
Find the MCP Service and NodePort in the target namespace using:
kubectl get service -n <namespace> -l app=demo-psp-mcp-server
Confirm the MCP server pods are running with:
kubectl get pods -n <namespace> -l app=demo-psp-mcp-server
Create the .mcp.json file at the project root, using the NodePort value from the previous step, for example:
{
"mcpServers": {
"datasurface": {
"type": "sse",
"url": "http://localhost:<nodeport>/sse"
}
}
}
Ensure Claude Code local settings enable MCP:
{
"enableAllProjectMcpServers": true,
"enabledMcpjsonServers": ["datasurface"]
}
Restart Claude Code (or start a new session) to apply the configuration.