Skip to main content
Glama

ClawQL

ClawQL is agentic infrastructure for production work in regulated industries.

Autonomous event-driven agents, structured institutional knowledge recall, hardware-verified trusted execution, and a hash-chained WORM audit trail on every action — local trail on by default; remote durable copies default on Cloud paid tiers and the regulated profile. Apache 2.0. Self-host with no product telemetry (privacy).

Four rules the gateway enforces:

  1. A person confirms scope before destructive or high-risk writes leave the host.

  2. Every outside action goes through the gateway (search → execute and related tools).

  3. Untrusted content stays labeled (taint) so it cannot silently become policy.

  4. Agents cannot rewrite those rules.

On by default: hash-chained local WORM (sqlite under $CLAWQL_HOME/worm), parked destructive writes pending human resume, and taint labeling. Opt-in: Panguard fail-closed enforcement, remote S3 Object Lock (default on Cloud paid / regulated when configured), sandbox, schedule, notify.

Primary package: clawql-mcp (8.0.0 tree — empty-by-default catalog, vault-first onboarding — RELEASE_NOTES_v8.0.0.md). Latest published npm remains 7.2.0 until the 8.0.0 cut.

Repo: https://github.com/danielsmithdevelopment/ClawQL

Multi-protocol GraphQL / gRPC configuration, feature tiers, and env detail: docs/readme/configuration.md · ADR 0002 · enterprise topology: Zero-Trust Agentic Fabric.

What You Get

Feature tiers (aligned with the architecture diagram — details in docs/readme/configuration.md):

  • ClawQL Core (always on — no opt-out): search, execute, audit, cache — audit is the agent's view over the process WORM trail (clear empties only that view); LRU for cache in docs/mcp/enterprise-mcp-tools.md and docs/mcp/cache-tool.md.

  • Default on — opt out: memory_ingest / memory_recall, and the document stack (ingest_external_knowledge, plus knowledge_search_onyx when CLAWQL_ENABLE_ONYX=1). Use CLAWQL_ENABLE_MEMORY=0 or CLAWQL_ENABLE_DOCUMENTS=0 to hide; vault path still required for real disk I/O on memory / ingest.

  • Default off — opt in: sandbox_exec (CLAWQL_ENABLE_SANDBOX=1), schedule, notify, knowledge_search_onyx (needs CLAWQL_ENABLE_ONYX=1 and documents on), ouroboros_* — see docs/mcp/mcp-tools.md. When enabled, CLAWQL_SANDBOX_BACKEND: omit = bridge; auto = Seatbelt → Docker → bridge.

  • Stdio and HTTP MCP server modes

  • Bundled provider specs for offline lookup and multi-provider workflows (catalog empty until CLAWQL_PROVIDER / providers.pack / CLAWQL_TIER)

Container images on GHCR (Docker / Helm)

Prebuilt images live on GitHub Container Registry under ghcr.io/danielsmithdevelopment/ (clawql-mcp, clawql-website, clawql-dashboard, clawql-panguard-mcp-bridge). Prefer anonymous docker pull. Verify signatures with cosign (see docker/README.md § verify). Maintainers: make ghcr-packages-public if a package is still private.

Related MCP server: Semantic API

Quick Start

npx -p clawql-mcp clawql init --interactive   # vault-first onboarding
npx -p clawql-mcp clawql mcp-config           # MCP JSON for Cursor
npx -p clawql-mcp clawql-mcp                  # slim server (empty catalog)

Optional curated pack (CF + GitHub + Slack + Linear + Notion + Onyx):

CLAWQL_PROVIDER=default npx -p clawql-mcp clawql-mcp

Optional local install: npm install clawql-mcp. For every bundled vendor plus Google top-50 and AWS top-50: CLAWQL_PROVIDER=all-providers npx -p clawql-mcp clawql-mcp.

Then configure your MCP client (Cursor/Claude Desktop) to connect — or paste the agent setup prompt into your agent.

Documentation Map

Top-level docs index: docs/README.md

Start here

  • Zero-Trust Agentic Fabric: docs/architecture/zero-trust-agentic-fabric.md — /architecture/agentic-fabric

  • Getting started: docs/readme/getting-started.md

  • Set up with your agent: docs/getting-started/agent-setup-prompt.md · init walkthrough spec: docs/getting-started/clawql-init-walkthrough-spec.md

  • Plugins hub: docs/plugins/README.md — /plugins

  • Configuration and env precedence: docs/readme/configuration.md

  • Deployment and client config: docs/readme/deployment.md (Kubernetes list links docs/deployment/docker-desktop-istio-observability.md for Istio + Prometheus/Grafana/Tempo/Kiali/OTel on Docker Desktop)

  • Benchmarks and case studies: docs/readme/benchmarks.md

  • Development notes: docs/readme/development.md

  • Tool workflow skills: docs/skills/README.md

Core references

  • Modularization ground truth: docs/design/modularization-implementation-status.md

  • Plugin model & registry: docs/design/clawql-plugin-model.md, docs/reference/clawql-plugin-registry.md

  • MCP tools and examples: docs/mcp/mcp-tools.md

  • Workflow recipes: docs/recipes/README.md

  • Memory and vault workflows: docs/memory/memory-obsidian.md

  • Cache tool: docs/mcp/cache-tool.md

  • Enterprise MCP notes (audit threat model, future metrics/governance): docs/mcp/enterprise-mcp-tools.md

  • Slack notify tool: docs/mcp/notify-tool.md

  • Onyx knowledge tool: docs/mcp/onyx-knowledge-tool.md

  • Ouroboros package and integration: docs/ouroboros/clawql-ouroboros.md

Deployments

  • Docker: docker/README.md

  • Cloud Run: docs/deployment/deploy-cloud-run.md

  • Kubernetes: docs/deployment/deploy-k8s.md

  • Helm chart (clawql-mcp): docs/deployment/helm.md

  • IDP umbrella chart (clawql-idp): docs/deployment/clawql-idp-helm.md — full-stack profile via values-idp-full.yaml

  • IDP observability bundle: docs/observability/README.md (Grafana dashboard + trace/metrics guide)

  • OpenClaw + Slack IDP runbook: docs/openclaw/slack-first-idp-runbook.md

  • Agent PR → Argo CD GitOps: docs/gitops/agent-pr-argocd-pipeline.md

  • Tailscale / Headscale (beginner guide): docs/deployment/tailscale-and-headscale-for-clawql.md (website /tailscale)

  • Headscale runbook + ACL starter: docs/deployment/headscale-tailnet.md, docs/deployment/headscale-acls-clawql.hujson

IDP (intelligent document processing)

Eight bundled vendors (Nextcloud, Docling, Tika, Gotenberg, Stirling, Paperless, Onyx, Coneshare) compose via search / execute or optional MCP tools (run_idp_pipeline, classify_document, extract_document). Hub: docs/providers/idp-pipeline.md · matrix: docs/roadmap/idp-master-requirements-matrix.md · OpenClaw profile: docs/openclaw/openclaw-idp-skill-profile.md

Security and supply chain

  • Security overview and shipped controls: docs/security/README.md

  • Golden image pipeline (CI → scan → push → sign → Kyverno enforcement): docs/security/golden-image-pipeline.md

  • Defense in depth reference: docs/security/clawql-security-defense-in-depth.md

  • Engineering deliverables matrix (shipped/partial/planned): docs/security/clawql-security-defense-deliverables.md

  • Docker SBOM/sign/scan operator notes: docker/README.md

  • npm publish hardening (pack → scan → publish, provenance): docs/security/npm-supply-chain.md

  • Deploy-time image signature enforcement (admission / Kyverno): docs/security/image-signature-enforcement.md

Providers and specs

  • Provider matrix and presets: providers/README.md

  • Google Discovery helpers: docs/providers/google-apis-lookup.md

  • AWS top-50 preset: docs/providers/aws-apis-lookup.md, docs/providers/aws-onboarding.md

Architecture (Short Version)

  1. Agent calls search to discover relevant operations without loading entire specs into prompt context.

  2. Agent calls execute with operation details.

  3. For OpenAPI/Discovery operations: in single-spec mode, ClawQL prefers an internal OpenAPI-to-GraphQL path (REST fallback on failure); in multi-spec mode, execute uses REST per owning spec.

  4. For native operations (when configured): execute calls HTTP GraphQL or gRPC unary directly — same search index, routed by operation metadata — see ADR 0002.

Notes

  • Core (search, execute, audit, cache) has no opt-out — no CLAWQL_ENABLE_* gate for those tools.

  • A writable CLAWQL_OBSIDIAN_VAULT_PATH is required to read/write the vault for memory_* and bulk ingest_external_knowledge.

  • For full environment variable details, see .env.example and docs/mcp/mcp-tools.md.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      A generic MCP server that dynamically exposes any OpenAPI-documented REST API to LLMs by auto-discovering endpoints. It provides tools for exploring API capabilities and making authenticated requests directly through natural language interfaces.
      2
      11 npm
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Natural language API discovery MCP server. Search 700+ API capabilities across 163 current providers, get, exact endpoints, auth setup, and code snippets. Supports auto-discovery of new APIs.
      3
      17 PyPI
      1
      MIT