diff --git a/docs/installation.ja.md b/docs/installation.ja.md index 334d94e..9ead2a1 100644 --- a/docs/installation.ja.md +++ b/docs/installation.ja.md @@ -66,6 +66,7 @@ A browser window should have opened automatically. Sign in on GitHub, then retry "github-webhook-mcp": { "command": "npx", "args": ["github-webhook-mcp"], + "alwaysLoad": true, "env": { "WEBHOOK_WORKER_URL": "https://github-webhook-mcp.example.workers.dev", "WEBHOOK_CHANNEL": "1" @@ -77,6 +78,8 @@ A browser window should have opened automatically. Sign in on GitHub, then retry `WEBHOOK_CHANNEL=1` でリアルタイムチャンネル通知を有効化(Claude Code CLI のみ)。 +`alwaysLoad: true` は Claude Code v2.1.121 以降で利用可能。本サーバーのツールを tool-search の deferral 対象から外し、毎ターン即座に利用可能にします(UserPromptSubmit hook 経由で毎ターン呼ばれるため推奨)。 + ### Codex — config.toml ```toml diff --git a/docs/installation.md b/docs/installation.md index ec33332..067f8ca 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -66,6 +66,7 @@ A browser window should have opened automatically. Sign in on GitHub, then retry "github-webhook-mcp": { "command": "npx", "args": ["github-webhook-mcp"], + "alwaysLoad": true, "env": { "WEBHOOK_WORKER_URL": "https://github-webhook-mcp.example.workers.dev", "WEBHOOK_CHANNEL": "1" @@ -75,6 +76,8 @@ A browser window should have opened automatically. Sign in on GitHub, then retry } ``` +`alwaysLoad: true` requires Claude Code v2.1.121 or later. It exempts this server's tools from tool-search deferral so they remain immediately callable every turn (recommended because the server is invoked every turn via the UserPromptSubmit hook). + `WEBHOOK_CHANNEL=1` でリアルタイムチャンネル通知を有効化(Claude Code CLI のみ)。 ### Codex — config.toml diff --git a/mcp-server/README.md b/mcp-server/README.md index d252ec0..c714ef5 100644 --- a/mcp-server/README.md +++ b/mcp-server/README.md @@ -62,7 +62,8 @@ Add the server to your MCP client configuration. Example for Claude Desktop (`cl "mcpServers": { "github-webhook": { "command": "npx", - "args": ["-y", "github-webhook-mcp"] + "args": ["-y", "github-webhook-mcp"], + "alwaysLoad": true } } } @@ -76,6 +77,7 @@ To target a self-hosted Worker, set the `WEBHOOK_WORKER_URL` environment variabl "github-webhook": { "command": "npx", "args": ["-y", "github-webhook-mcp"], + "alwaysLoad": true, "env": { "WEBHOOK_WORKER_URL": "https://your-worker.example.workers.dev" } @@ -84,6 +86,8 @@ To target a self-hosted Worker, set the `WEBHOOK_WORKER_URL` environment variabl } ``` +`alwaysLoad: true` requires Claude Code v2.1.121 or later. It exempts this server's tools from tool-search deferral so they remain immediately callable every turn (recommended because the server is invoked every turn via the UserPromptSubmit hook). + ### Codex (`config.toml`) ```toml