From 6ade12b2fe2e0940d1505c785c9517ceca6c04c6 Mon Sep 17 00:00:00 2001 From: Bruno Sarlo Date: Wed, 10 Dec 2025 15:33:52 -0300 Subject: [PATCH] fix: Update DSS plugin paths after consolidation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update .mcp.json PYTHONPATH to use project root instead of dss-mvp1 - Fix hardcoded path in dss-mcp-server.py to use relative path 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- dss-claude-plugin/.mcp.json | 2 +- dss-claude-plugin/servers/dss-mcp-server.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dss-claude-plugin/.mcp.json b/dss-claude-plugin/.mcp.json index fbf3f9f..9ead03f 100644 --- a/dss-claude-plugin/.mcp.json +++ b/dss-claude-plugin/.mcp.json @@ -10,7 +10,7 @@ "command": "python3", "args": ["${CLAUDE_PLUGIN_ROOT}/servers/dss-mcp-server.py"], "env": { - "PYTHONPATH": "${CLAUDE_PLUGIN_ROOT}/../dss-mvp1:${CLAUDE_PLUGIN_ROOT}", + "PYTHONPATH": "${CLAUDE_PLUGIN_ROOT}/..:${CLAUDE_PLUGIN_ROOT}", "DSS_HOME": "${CLAUDE_PLUGIN_ROOT}/../.dss", "DSS_DATABASE": "${CLAUDE_PLUGIN_ROOT}/../.dss/dss.db", "DSS_CACHE": "${CLAUDE_PLUGIN_ROOT}/../.dss/cache", diff --git a/dss-claude-plugin/servers/dss-mcp-server.py b/dss-claude-plugin/servers/dss-mcp-server.py index 2ed0627..b8a8d68 100644 --- a/dss-claude-plugin/servers/dss-mcp-server.py +++ b/dss-claude-plugin/servers/dss-mcp-server.py @@ -49,8 +49,8 @@ try: except ImportError: LOCAL_BROWSER_STRATEGY_AVAILABLE = False -# Add DSS to path -DSS_PATH = Path("/home/overbits/dss/dss-mvp1") +# Add DSS to path (project root) +DSS_PATH = Path(__file__).parent.parent.parent sys.path.insert(0, str(DSS_PATH)) # MCP SDK imports