fix: Update DSS plugin paths after consolidation
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled

- 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 <noreply@anthropic.com>
This commit is contained in:
2025-12-10 15:33:52 -03:00
parent 351f34d08c
commit 6ade12b2fe
2 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@
"command": "python3", "command": "python3",
"args": ["${CLAUDE_PLUGIN_ROOT}/servers/dss-mcp-server.py"], "args": ["${CLAUDE_PLUGIN_ROOT}/servers/dss-mcp-server.py"],
"env": { "env": {
"PYTHONPATH": "${CLAUDE_PLUGIN_ROOT}/../dss-mvp1:${CLAUDE_PLUGIN_ROOT}", "PYTHONPATH": "${CLAUDE_PLUGIN_ROOT}/..:${CLAUDE_PLUGIN_ROOT}",
"DSS_HOME": "${CLAUDE_PLUGIN_ROOT}/../.dss", "DSS_HOME": "${CLAUDE_PLUGIN_ROOT}/../.dss",
"DSS_DATABASE": "${CLAUDE_PLUGIN_ROOT}/../.dss/dss.db", "DSS_DATABASE": "${CLAUDE_PLUGIN_ROOT}/../.dss/dss.db",
"DSS_CACHE": "${CLAUDE_PLUGIN_ROOT}/../.dss/cache", "DSS_CACHE": "${CLAUDE_PLUGIN_ROOT}/../.dss/cache",

View File

@@ -49,8 +49,8 @@ try:
except ImportError: except ImportError:
LOCAL_BROWSER_STRATEGY_AVAILABLE = False LOCAL_BROWSER_STRATEGY_AVAILABLE = False
# Add DSS to path # Add DSS to path (project root)
DSS_PATH = Path("/home/overbits/dss/dss-mvp1") DSS_PATH = Path(__file__).parent.parent.parent
sys.path.insert(0, str(DSS_PATH)) sys.path.insert(0, str(DSS_PATH))
# MCP SDK imports # MCP SDK imports