graphiti/mcp_server
Daniel Chalef 0f85119443 fix: Improve MCP server configuration and initialization
- Fix API key detection: Remove hardcoded OpenAI checks, let factories handle provider-specific validation
- Fix .env file loading: Search for .env in mcp_server directory first
- Change default transport to SSE for broader compatibility (was stdio)
- Add proper error handling with warnings for failed client initialization
- Model already defaults to gpt-4o as requested

These changes ensure the MCP server properly loads API keys from .env files
and creates the appropriate LLM/embedder clients based on configuration.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-26 17:31:32 -07:00
..
config fix: Improve MCP server configuration and initialization 2025-10-26 17:31:32 -07:00
docker feat: MCP Server v1.0.0rc0 - Complete refactoring with modular architecture 2025-10-26 17:23:57 -07:00
docs feat: MCP Server v1.0.0rc0 - Complete refactoring with modular architecture 2025-10-26 17:23:57 -07:00
src fix: Improve MCP server configuration and initialization 2025-10-26 17:31:32 -07:00
tests feat: MCP Server v1.0.0rc0 - Complete refactoring with modular architecture 2025-10-26 17:23:57 -07:00
.env.example feat: MCP Server v1.0.0rc0 - Complete refactoring with modular architecture 2025-10-26 17:23:57 -07:00
.python-version Add MCP Server (#301) 2025-03-24 17:08:19 -07:00
main.py feat: MCP Server v1.0.0rc0 - Complete refactoring with modular architecture 2025-10-26 17:23:57 -07:00
pyproject.toml feat: MCP Server v1.0.0rc0 - Complete refactoring with modular architecture 2025-10-26 17:23:57 -07:00
pytest.ini feat: MCP Server v1.0.0rc0 - Complete refactoring with modular architecture 2025-10-26 17:23:57 -07:00
uv.lock conductor-checkpoint-msg_01PmXwij9S976CQk798DJ4PH 2025-10-26 17:29:06 -07:00