Fix: Exclude developer-specific .mcp.json from marketplace releases (#277)

* Initial plan

* Fix: Remove developer-specific .mcp.json config and exclude from sync

Co-authored-by: thedotmack <683968+thedotmack@users.noreply.github.com>

* Fix: Use leading slash in rsync exclude to only exclude root .mcp.json

Co-authored-by: thedotmack <683968+thedotmack@users.noreply.github.com>

* Complete fix for developer-specific .mcp.json config issue

Co-authored-by: thedotmack <683968+thedotmack@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: thedotmack <683968+thedotmack@users.noreply.github.com>
This commit is contained in:
Copilot
2025-12-13 17:22:38 -05:00
committed by GitHub
parent 0185d765ce
commit 42ed414a4c
4 changed files with 8 additions and 16 deletions

5
.gitignore vendored
View File

@@ -14,4 +14,7 @@ package-lock.json
private/
# Generated UI files (built from viewer-template.html)
src/ui/viewer.html
src/ui/viewer.html
# Local MCP server config (for development only)
.mcp.json

View File

@@ -1,14 +1,3 @@
{
"mcpServers": {
"old-claude-mem": {
"command": "uvx",
"args": [
"chroma-mcp",
"--client-type",
"persistent",
"--data-dir",
"/Users/alexnewman/.claude-mem/backups/chroma-backup-20251005-222403"
]
}
}
"mcpServers": {}
}

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "claude-mem",
"version": "7.0.10",
"version": "7.1.5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "claude-mem",
"version": "7.0.10",
"version": "7.1.5",
"license": "AGPL-3.0",
"dependencies": {
"@anthropic-ai/claude-agent-sdk": "^0.1.67",

View File

@@ -61,7 +61,7 @@ function getPluginVersion() {
console.log('Syncing to marketplace...');
try {
execSync(
'rsync -av --delete --exclude=.git ./ ~/.claude/plugins/marketplaces/thedotmack/',
'rsync -av --delete --exclude=.git --exclude=/.mcp.json ./ ~/.claude/plugins/marketplaces/thedotmack/',
{ stdio: 'inherit' }
);