Skip to main content
DeploymentHelm · shipped

DeploymentHelm · shipped

ClawQL — Deployment & Operations Guide

For platform engineers and operators · June 2026 Apache 2.0 / MIT · github.com/danielsmithdevelopment/ClawQL

Operator-focused tier docs and natural-language ops tables are in Operator target architecture (design). An opt-in operator scaffold (CRD + reconcile + tier-spec ConfigMaps) is available separately — see clawql-operator-helm.md (#255).


Before you start

What you can deploy today

ComponentStatusCanonical doc
Helm chart clawql-mcp✅ Shippedhelm.md
Document pipeline (Tika, Gotenberg, Stirling, Paperless)✅ Shippedidp-pipeline.md, documentPipeline.enabled
Onyx (optional + knowledge_search_onyx)✅ Shippedonyx-knowledge-tool.md
Nextcloud + Coneshare (idpCollaboration)✅ Shippednextcloud-onboarding.md, coneshare-onboarding.md
Dashboard + docs UI✅ Shippedagent-chat.md, chart dashboard / docs
clawql-mcp MCP server✅ Shippednpm clawql-mcp, Streamable HTTP /mcp
ingest_external_knowledge + DEFAULT_IDP_PIPELINE✅ Shippedidp-pipeline.md — agent-composed search/execute; automated runner #307
Presidio / sparse-MoE agent I/O redaction✅ ShippedPresidio + local Privacy Filter backup (#245); privacy-filter-local.md
Tier 1 four-stack Docker Compose📋 Planned#251 — use Helm today
Kubernetes Operator + ClawQLInstance CRD🚧 Opt-in scaffoldclawql-operator-helm.md, operator-target-architecture.md
Goose / Printing Press / vertical packages📋 Planned

Choose a deployment path

NeedUse today
Local full IDP stack (Docker Desktop)make local-k8s-uphelm.md
Minimal MCP onlynpx clawql-mcp or npm run start:http + .env
Remote Kubernetesdeploy-k8s.md or Helm with your values
Operator / multi-tenant CRD modelOpt-in — clawql-operator-helm.md (Helm/env remain default)

From a repo clone:

make local-k8s-up

Uses charts/clawql-mcp/values-docker-desktop.yaml: MCP at http://clawql-mcp.localhost/mcp, dashboard at http://clawql.localhost, document pipeline + optional Onyx + Nextcloud enabled by default.

Production-style install:

helm upgrade --install clawql ./charts/clawql-mcp \
  --namespace clawql \
  --create-namespace \
  --wait

See helm.md for values, secrets (External Secrets + Vault), optional NATS/Flink/Onyx, and idpCollaboration.

Verify health

curl -s http://clawql-mcp.localhost/healthz    # or your Ingress / port-forward URL
curl -s http://clawql.localhost/api/k8s/health # dashboard pod

MCP smoke (Streamable HTTP):

curl -s -X POST http://clawql-mcp.localhost/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'

Configuration essentials

ConcernShipped approach
Provider tokensKubernetes Secret via envFromSecret / extraEnv; production: Vault → ESO (helm.md)
Document stack offenableDocuments: false or CLAWQL_ENABLE_DOCUMENTS=0
Vault memory offenableMemory: false or CLAWQL_ENABLE_MEMORY=0
Onyx search toolenableOnyx: true + ONYX_BASE_URL + token
IDP collaborationidpCollaboration.enabled: true (Nextcloud; Coneshare via externalUrl in prod)
Feature tiersconfiguration.md § Feature tiers

Base URLs for document vendors are injected by the chart when subcharts are enabled — see idp-pipeline.md § Helm.


Day-2 operations (Helm)

Upgrade

helm upgrade clawql ./charts/clawql-mcp -n clawql -f your-values.yaml --wait

Image tags: set image.tag (MCP), documentPipeline.*.image.tag, onyx.*.image.tag as needed. Prefer rolling upgrades with --wait and watch kubectl -n clawql get pods.

Secrets rotation

  1. Update the Vault KV entry or Kubernetes Secret (ESO reconciles on interval).
  2. Restart MCP if env is not hot-reloaded: kubectl -n clawql rollout restart deploy/clawql-mcp-http.

Document pipeline tokens (PAPERLESS_API_TOKEN, STIRLING_API_KEY, NEXTCLOUD_*, CONESHARE_API_TOKEN) live on chart-managed Secrets when auth.* blocks are set — see helm.md.

Scale

Adjust replicas on the MCP Deployment in values, or kubectl scale for quick tests. Document services (Tika, Gotenberg, Stirling) have their own Deployments under documentPipeline — scale independently under load.

Observability

Troubleshooting

Start with troubleshooting and helm.md. Common checks: provider auth env, bundled spec load (CLAWQL_PROVIDER), Ingress host DNS, and Paperless token from Profile / POST /api/token/ — the chart placeholder secrets are a starting point, the actual token comes from Paperless itself.


Local MCP without Kubernetes

git clone https://github.com/danielsmithdevelopment/ClawQL.git
cd ClawQL
npm ci && npm run build
cp .env.example .env   # set TIKA_BASE_URL, PAPERLESS_API_TOKEN, etc.
npm run start:http

When no spec env is set, the opinionated default stack loads (Cloudflare, GitHub, Slack, Linear, Notion, Onyx). Helm provider: default matches npm. Use CLAWQL_PROVIDER=all-providers or helm --set provider=all-providers for every bundled vendor plus Google top-50 and AWS top-50.


Operator scaffold (opt-in, shipped 7.0.0)

The operator scaffold reconciles ClawQLInstance CRs to tier-spec ConfigMaps and optionally rolls MCP when spec.mcp.rolloutOnTierSpecChange is set. Helm CLAWQL_ENABLE_* workflows remain the default when the operator is not installed.

  1. Install CRD + reconcile: clawql-operator-helm.md
  2. Apply a ClawQLInstance (examples/operator/clawqlinstance-minimal.yaml)
  3. Mount the published tier-spec ConfigMap on MCP (instanceSpec.enabled: true)

Full tier/vertical/auth reconciliation and NL ops are in Operator target architecture (roadmap).


TopicLink
Helm charthelm.md
Kustomize / K8sdeploy-k8s.md
IDP eight-vendor stackidp-pipeline.md · clawql-idp-helm.md · observability/README.md
Operator scaffold (opt-in)clawql-operator-helm.md
Operator design (full roadmap)operator-target-architecture.md
Vision & roadmapclawql-vision-roadmap.md

ClawQL Deployment & Operations Guide · June 2026 · Apache 2.0 / MIT

© Copyright 2026. All rights reserved. · ClawQL on GitHub