session-mgmt-mcp
Verified Safeby 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
python -m session_buddy startEnvironment 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
DesktopCommanderMCP
This server empowers AI agents to search, update, manage files, and execute terminal commands on a local or containerized desktop environment. It provides enhanced filesystem operations, process control, and data analysis capabilities with support for various file types like text, Excel, and PDF.
mcp-memory-keeper
Provides persistent context management for Claude AI coding assistants, ensuring work history, decisions, and progress are preserved across sessions and context limits.
claude-code-buddy
An intelligent AI Agent orchestration system for Claude Code, focusing on smart task routing, prompt enhancement, project memory, workflow guidance, and planning, presented via a real-time terminal UI dashboard.
cldcde
A persistent context manager that scrapes, stores, searches, and analyzes AI conversations from various platforms (ChatGPT, Grok, Gemini, Claude) to support project development and insights.