fix: Update DSS plugin paths after consolidation
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
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:
@@ -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",
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user