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) <noreply@anthropic.com>
This commit is contained in:
Valerio 2026-07-22 11:52:47 +02:00
parent d387669c13
commit b5818fe2ce
2 changed files with 5 additions and 1 deletions

3
.gitignore vendored
View file

@ -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

View file

@ -1,7 +1,8 @@
{
"mcpServers": {
"webclaw": {
"command": "~/.webclaw/webclaw-mcp"
"command": "npx",
"args": ["-y", "@webclaw/mcp"]
}
}
}