From b5818fe2ce3b45f805af905a40b268a2c50c50de Mon Sep 17 00:00:00 2001 From: Valerio Date: Wed, 22 Jul 2026 11:52:47 +0200 Subject: [PATCH] chore(mcp): flip .mcp.json to npx @webclaw/mcp; gitignore registry tokens The launcher is published (@webclaw/mcp@0.6.16), so the in-repo MCP config now uses the canonical npx form instead of a local ~/.webclaw binary path. Also ignore the mcp-publisher credential files so they can never be committed from packages/create-webclaw/. Co-Authored-By: Claude Opus 4.8 (1M context) --- .gitignore | 3 +++ .mcp.json | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 7a5a785..490e243 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,6 @@ local-test-results.json # not code and shouldn't live in git. Track deliberately-saved research # output under a different name. research-*.json +# MCP registry publisher credentials (mcp-publisher writes these into +# packages/create-webclaw/). They are OAuth/API tokens — never commit them. +.mcpregistry_*_token diff --git a/.mcp.json b/.mcp.json index fabcd4f..a1eca74 100644 --- a/.mcp.json +++ b/.mcp.json @@ -1,7 +1,8 @@ { "mcpServers": { "webclaw": { - "command": "~/.webclaw/webclaw-mcp" + "command": "npx", + "args": ["-y", "@webclaw/mcp"] } } }