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