session-buddy
Verified Safeby lesleslie
Overview
The MCP server provides comprehensive session management, conversation memory, quality monitoring, and developer tooling integration for Claude Code projects, aiming to reduce token usage and enhance development workflows. It integrates with various LLM providers, Git worktrees, and code quality tools like Crackerjack.
Installation
python -m session_buddy startEnvironment Variables
- OPENAI_API_KEY
- ANTHROPIC_API_KEY
- GEMINI_API_KEY
- GOOGLE_API_KEY
- OLLAMA_BASE_URL
- 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 project demonstrates strong security awareness, particularly in handling subprocess execution (explicitly uses `shell=False` and includes input validation for commands, branch names, and paths) and database interactions (parameterized SQL queries). Hashlib usage for content deduplication is correctly flagged with `usedforsecurity=False`. Pydantic models are used for robust parameter validation, mitigating injection risks. API key handling includes masking for display. The project's security posture for common vulnerabilities like command injection and SQL injection is robust, with dedicated tests. One point deducted due to the inherent complexity of integrating with numerous external systems (LLMs, Git, external tools), which always presents a broader attack surface, though well-mitigated within the application's scope.
Similar Servers
codex-mcp-server
Serves as a Model Context Protocol (MCP) bridge to integrate OpenAI's Codex CLI for AI-powered code analysis, generation, and review within various editors like Claude Code, VS Code, and Cursor.
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.
claude-memory
Provides Claude Code with persistent memory by indexing past conversations, enabling recall of decisions, context, and work across sessions.