Back to Home
lesleslie icon

session-mgmt-mcp

Verified Safe

by lesleslie

Overview

Manages comprehensive developer sessions by integrating AI-powered features like conversation memory, code analysis, quality monitoring, agent recommendations, and Git worktree coordination to enhance development workflows.

Installation

Run Command
python -m session_buddy start

Environment Variables

  • OPENAI_API_KEY
  • ANTHROPIC_API_KEY
  • GEMINI_API_KEY
  • GOOGLE_API_KEY
  • OLLAMA_BASE_URL
  • REDIS_URL
  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • CLAUDE_WORKING_DIR
  • CLIENT_PWD
  • CLAUDE_PROJECT_DIR
  • SESSION_MGMT_USE_SCHEMA_V2
  • SESSION_MGMT_ENABLE_LLM_ENTITY_EXTRACTION
  • SESSION_MGMT_ENABLE_ANTHROPIC
  • SESSION_MGMT_ENABLE_OLLAMA
  • SESSION_MGMT_ENABLE_CONSCIOUS_AGENT
  • SESSION_MGMT_ENABLE_FILESYSTEM_EXTRACTION

Security Notes

The server demonstrates strong security practices: - Subprocess executions (`subprocess.run`, `asyncio.create_subprocess_exec`) explicitly use `shell=False` and validate inputs (e.g., `_validate_git_command`, `_is_safe_branch_name`, `_is_safe_path`) to prevent injection. - SQL queries extensively use parameterized statements (`conn.execute(query, params)`) to mitigate SQL injection risks. - LLM API keys are managed via environment variables and masked in logs/output, preventing hardcoded secrets. - Insecure deserialization (`pickle`, unsafe `yaml.load`) is not evident; `json.loads` is used for controlled data. - Regex patterns used for parsing and analysis, particularly those in `session_buddy/utils/regex_patterns.py`, leverage a `ValidatedPattern` class to prevent ReDoS attacks. - File system operations incorporate path validation to prevent traversal vulnerabilities. - Robust permissions and role-based access control (`SessionPermissionsManager`, `TeamKnowledgeManager`) are implemented for internal operations and team collaboration.

Similar Servers

Stats

Interest Score30
Security Score9
Cost ClassMedium
Avg Tokens1500
Stars1
Forks0
Last Update2026-01-19

Tags

Session ManagementAI AgentCode AnalysisQuality MonitoringConversation MemoryKnowledge GraphGit Worktree ManagementToken OptimizationDeveloper Tools