From 1a6b88d77f3a97bfa75cf654c41fbc16bf24be2a Mon Sep 17 00:00:00 2001 From: shinchan-zhai Date: Mon, 16 Mar 2026 07:33:05 +0800 Subject: [PATCH] feat: add X-Client-ID header for claw402 monitoring (#1414) --- mcp/payment/x402.go | 1 + 1 file changed, 1 insertion(+) diff --git a/mcp/payment/x402.go b/mcp/payment/x402.go index 7116f503..ef424c4d 100644 --- a/mcp/payment/x402.go +++ b/mcp/payment/x402.go @@ -236,6 +236,7 @@ func X402BuildRequest(url string, jsonData []byte) (*http.Request, error) { return nil, fmt.Errorf("fail to build request: %w", err) } req.Header.Set("Content-Type", "application/json") + req.Header.Set("X-Client-ID", "nofx") return req, nil }