OpenAPI、Google Discovery、GraphQL、gRPCを介した、トークン効率の高い検索・実行ワークフローにより、AIエージェントによるAPI操作の発見と実行を可能にします。
別名 danielsmithdevelopment/ClawQL, clawql-mcp
- スター
- 13
- ツール
- —
- ダウンロード数(30日間)
- —
- 最新バージョン
- —
- 最終コミット
- 2026年11月15日
- ライセンス
- Apache-2.0
ClawQL MCPとは
ClawQLはMCPサーバーです。 OpenAPI、Google Discovery、GraphQL、gRPCを介した、トークン効率の高い検索・実行ワークフローにより、AIエージェントによるAPI操作の発見と実行を可能にします。.
プロジェクトのREADMEから生成された概要
ClawQL MCP server について
ClawQLは、トークン効率の高い検索・実行ワークフローを通じて、AIエージェントがAPI操作を発見し実行できるように設計されたエージェント向けゲートウェイとして機能します。OpenAPI、Google Discovery、GraphQL、gRPCを含むさまざまなプロトコルをサポートしています。開発者はこれをstdioまたはHTTPモードのMCP serverとして使用し、CursorやClaude Desktopなどのクライアントに接続できます。このシステムは、エージェントが実行を試みる前に特定の操作を検索できるようにすることで、コンテキストウィンドウの使用を最小限に抑えるように構築されています。
このプラットフォームは、環境変数を通じて設定可能な異なる機能ティアを提供します。search、execute、audit、cacheなどのコアツールは常にアクティブです。ユーザーは、メモリ管理、ドキュメントの取り込み、サンドボックス内での実行などの追加機能を選択して利用できます。Linearのような特定の統合については、LINEAR_API_KEYを提供するか、GraphQLエンドポイントを指定できます。サーバーは、npm経由でローカルにデプロイするか、DockerやKubernetesを使用したコンテナ環境を通じてデプロイできます。
できること
- 1効率的なAPI発見AIエージェントは、特定のAPI操作を検索できるため、巨大な仕様ファイルをプロンプトのコンテキストにロードすることを回避できます。
- 2マルチプロトコルAPI実行開発者は、REST、GraphQL、またはgRPCプロトコルを使用して、異なるサービス間でコマンドを実行するようにエージェントに指示できます。
- 3ナレッジ管理外部ドキュメントの取り込みや、Obsidian vaultを使用した長期メモリの管理をエージェントにタスクとして割り当てることができます。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
ClawQL MCPのインストール方法
フォーマット検証日 2026年11月10日Cursor に追加Gooseに追加Claude CodeにClawQL MCPをインストール
$ claude mcp add clawql -- npx -y clawql-mcpCursorにClawQL MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"clawql": {
"command": "npx",
"args": [
"-y",
"clawql-mcp"
]
}
}
}VS CodeにClawQL MCPをインストール
.vscode/mcp.json
{
"servers": {
"clawql": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"clawql-mcp"
]
}
}
}VS Code CLIにClawQL MCPをインストール
$ code --add-mcp '{"name":"clawql","type":"stdio","command":"npx","args":["-y","clawql-mcp"]}'Claude DesktopにClawQL MCPをインストール
claude_desktop_config.json
{
"mcpServers": {
"clawql": {
"command": "npx",
"args": [
"-y",
"clawql-mcp"
]
}
}
}CodexにClawQL MCPをインストール
$ codex mcp add clawql -- npx -y clawql-mcpCodex config.tomlにClawQL MCPをインストール
~/.codex/config.toml
[mcp_servers.clawql] command = "npx" args = ["-y", "clawql-mcp"]
Gemini CLIにClawQL MCPをインストール
$ gemini mcp add -s user clawql npx -- -y clawql-mcpGemini settings.jsonにClawQL MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"clawql": {
"command": "npx",
"args": [
"-y",
"clawql-mcp"
]
}
}
}設定
CLAWQL_INSTANCE_SPECCLAWQL_PROVIDER
| 名前 | 説明 | 種類 |
|---|---|---|
| CLAWQL_INSTANCE_SPEC | — | |
| CLAWQL_PROVIDER | — |
自動チェック
実行日 2026年11月13日完全なレポート →自動チェックに合格しました。これはセキュリティ監査ではありません。コードを読み、サーバーに必要最小限のアクセス権を与えてください。 チェックの仕組み
- ソースリポジトリがリンクされており、アクセス可能合格
- オープンソースライセンス (OSI)合格
- 過去1年以内にコミットまたはリリースあり合格
- パッケージ名が有名なパッケージに酷似していない合格
- リモートエンドポイントがHTTPSを使用未チェック
- 破壊的なツールがラベル付けされている未チェック
- モデルへの隠れた指示がない合格
- パッケージおよびその依存関係に重大な勧告なし未チェック
README
GitHubで見るClawQL
ClawQL provides the Agentic Gateway as the Foundational Platform for Auditable Production AI.
The Agentic Gateway is an MCP + OpenAI-compatible control plane for API discovery and execution with a token-efficient search -> execute workflow over OpenAPI, Google Discovery, and optional native GraphQL and gRPC sources (see CLAWQL_GRAPHQL_URL / CLAWQL_GRAPHQL_SOURCES / CLAWQL_GRPC_SOURCES in .env.example and ADR 0002). GraphQL-only vendors (e.g. Linear) need no OpenAPI spec: use CLAWQL_PROVIDER=linear (bundled SDL under providers/linear/ + LINEAR_API_KEY), or point CLAWQL_GRAPHQL_URL at their HTTP endpoint and auth headers, or load search from CLAWQL_GRAPHQL_SCHEMA_PATH / CLAWQL_GRAPHQL_INTROSPECTION_PATH (or per-source schemaPath / introspectionPath) when upstream introspection is disabled — without CLAWQL_SPEC_* / CLAWQL_PROVIDER, the default bundled REST specs are not loaded.
Enterprise topology: Zero-Trust Agentic Fabric (Regional Hubs · Dedicated Virtual Gateways · Edge Gateways). GTM: inference-first playbook.
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— same band in the diagram; ring-buffer semantics forauditand LRU semantics forcacheindocs/mcp/enterprise-mcp-tools.mdanddocs/mcp/cache-tool.md. - Default on — opt out:
memory_ingest/memory_recall, and the document stack (ingest_external_knowledge, plusknowledge_search_onyxwhenCLAWQL_ENABLE_ONYX=1). UseCLAWQL_ENABLE_MEMORY=0orCLAWQL_ENABLE_DOCUMENTS=0to 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(needsCLAWQL_ENABLE_ONYX=1and documents on),ouroboros_*— seedocs/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
Primary package: clawql-mcp (7.0.0 — Agentic Gateway entry; default stack, vault-first onboarding, opt-in operator scaffold — RELEASE_NOTES_v7.0.0.md · announcement drafts: docs/announcements/announcement-drafts-v7.0.0.md)
Repo: https://github.com/danielsmithdevelopment/ClawQL
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). They are supposed to be public so anyone can docker pull without credentials and Kubernetes defaults (Kyverno) can verify signatures. If docker pull returns denied, the registry package is still private — see docker/README.md § GHCR visibility (checklist + make ghcr-packages-public for maintainers).
Quick Start
Install:
npm install clawql-mcp
Run with a slim server (no bundled OpenAPI catalog loaded). Opt into the curated pack when you want it:
npx -p clawql-mcp clawql init --interactive # vault-first onboarding
npx -p clawql-mcp clawql mcp-config # MCP JSON for Cursor
# Optional curated pack (CF + GitHub + Slack + Linear + Notion + Onyx):
CLAWQL_INSTANCE_SPEC='{"providers":{"pack":"default"}}' npx -p clawql-mcp clawql-mcp
# Or: CLAWQL_PROVIDER=default npx -p clawql-mcp clawql-mcp
npx -p clawql-mcp clawql-mcp
For every bundled vendor plus Google top-50 and AWS top-50:
CLAWQL_PROVIDER=all-providers npx 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 linksdocs/deployment/docker-desktop-istio-observability.mdfor 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 (
auditthreat 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 viavalues-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)
- Agent calls
searchto discover relevant operations without loading entire specs into prompt context. - Agent calls
executewith operation details. - For OpenAPI/Discovery operations: in single-spec mode, ClawQL prefers an internal OpenAPI-to-GraphQL path (REST fallback on failure); in multi-spec mode,
executeuses REST per owning spec. - For native operations (when configured):
executecalls HTTP GraphQL or gRPC unary directly — samesearchindex, routed by operation metadata — see ADR 0002.
Notes
- Core (
search,execute,audit,cache) has no opt-out — noCLAWQL_ENABLE_*gate for those tools. - A writable
CLAWQL_OBSIDIAN_VAULT_PATHis required to read/write the vault formemory_*and bulkingest_external_knowledge. - For full environment variable details, see
.env.exampleanddocs/mcp/mcp-tools.md.
ClawQL MCPのよくある質問
ClawQL MCPをClaude Codeに追加するには
ターミナルでclaude mcp add clawql -- npx -y clawql-mcpを実行します。すべてのプロジェクトで利用するには--scope userを追加します。
ClawQL MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
ClawQLはエージェントのAPI発見をどのように処理しますか?
エージェントは検索ツールを呼び出して関連する操作を発見します。これにより、API定義全体をプロンプトのコンテキストにロードする必要がなくなります。
ClawQLは実行にどのプロトコルをサポートしていますか?
OpenAPI、Google Discovery、ネイティブのGraphQL、およびgRPCソースをサポートしています。
LinearのようなGraphQLのみのベンダーでもClawQLを使用できますか?
はい、プロバイダーをlinearに設定して同梱のSDLを使用するか、認証ヘッダーを含むHTTPエンドポイントを指定することで使用可能です。
無効にできないコアツールは何ですか?
コアツールにはsearch、execute、audit、cacheが含まれており、これらは常に有効で、オプトアウトはできません。