graphiti/mcp_server/src
Daniel Chalef 7520c8f8d7 Fix critical PR review issues
Fixed high-impact issues from PR #1024 code review:

1. **Boolean conversion bug (schema.py)**
   - Fixed _expand_env_vars returning strings 'true'/'false' instead of booleans
   - Now properly converts boolean-like strings (true/false/1/0/yes/no/on/off) to actual booleans
   - Simplified logic by removing redundant string-to-string conversions
   - Added support for common boolean string variations

2. **Dependency management (pyproject.toml)**
   - Removed pytest from main dependencies (now only in dev dependencies)
   - Moved azure-identity to optional dependencies under new [azure] group
   - Prevents forcing Azure and testing dependencies on all users

3. **Conditional Azure imports (utils.py)**
   - Made azure-identity import conditional in create_azure_credential_token_provider()
   - Raises helpful ImportError with installation instructions if not available
   - Follows lazy-import pattern for optional dependencies

4. **Documentation fix (graphiti_mcp_server.py)**
   - Fixed confusing JSON escaping in add_memory docstring example
   - Changed from triple-backslash escaping to standard JSON string
   - Updated comment to clarify standard JSON escaping is used

Issues verified as already fixed:
- Docker build context (all docker-compose files use context: ..)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-30 16:25:34 -07:00
..
config Fix critical PR review issues 2025-10-30 16:25:34 -07:00
models Remove User and Assistant exception from Preference prioritization 2025-10-30 12:53:05 -07:00
services Complete Kuzu removal from MCP server 2025-10-30 14:13:56 -07:00
utils Fix critical PR review issues 2025-10-30 16:25:34 -07:00
__init__.py feat: MCP Server v1.0.0rc0 - Complete refactoring with modular architecture 2025-10-26 17:23:57 -07:00
graphiti_mcp_server.py Fix critical PR review issues 2025-10-30 16:25:34 -07:00