2.6 KiB
2.6 KiB
Deploy Result — API Keys Feature
Date: 2026-06-17
Commit deployed: bf1e690
Status: ✅ Both deployments successful
Deploys performed
1 — hermes-mcp (backend)
cd ~/hermes-mcp
docker build -t localhost:32000/hermes-mcp:bf1e690 .
docker push localhost:32000/hermes-mcp:bf1e690
# updated hermes-k8s.yaml image → localhost:32000/hermes-mcp:bf1e690 (not committed)
microk8s kubectl apply -f hermes-k8s.yaml
microk8s kubectl rollout status deployment/hermes-mcp -n fetcherpay
Result: Rollout completed successfully.
2 — squaremcp-app (frontend)
cd ~/hermes-mcp
docker build -f product/app/Dockerfile -t localhost:32000/squaremcp-app:bf1e690 .
docker push localhost:32000/squaremcp-app:bf1e690
# updated product/app/app-k8s.yaml image → localhost:32000/squaremcp-app:bf1e690 (not committed)
microk8s kubectl apply -f product/app/app-k8s.yaml
microk8s kubectl rollout status deployment/squaremcp-app -n fetcherpay
Result: Rollout completed successfully.
Verification
Backend API
POST /api/auth/login response now includes api_key:
{
"id": "d35c7c6a-b47c-4975-afef-656170772705",
"email": "test-deploy-c6ab014@example.com",
"plan": "free",
"role": "user",
"api_key": "941431eed80f48998e2076fcecd85164"
}
GET /api/auth/me also returns api_key ✅
Frontend UI (Playwright)
- Logged in at
https://app.squaremcp.comas test user. - Clicked API Keys in top nav.
- API key
941431eed80f48998e2076fcecd85164displayed in code block ✅ - Copy button present ✅
Pod status
NAME READY STATUS RESTARTS AGE
hermes-mcp-... 1/1 Running ...
squaremcp-app-... 1/1 Running ...
redis-... 1/1 Running ...
Redis was already Running before deploy; no force-delete needed.
Notes
microk8s ctr image import -hung repeatedly (same containerd issue as earlier deploys), so images were imported viadocker push localhost:32000/...instead. The registry path works and produces the same deployed result.hermes-k8s.yamlandproduct/app/app-k8s.yamlimage tags were updated locally but not committed.- The handoff suggested testing with
Authorization: Bearer <key>; the current auth middleware validates customer API keys viax-api-keyheader or?key=query param, whileAuthorization: Beareris reserved for OAuth tokens.GET /api/auth/merequires session cookie, so API-key auth returnsNot authenticatedthere — this is expected.
Related docs
- Handoff:
SquareMCP/AI-Context/2026-06-17-claude-handoff-api-keys-feature.md