Major Changes: - Implemented MCP HTTP/SSE transport server for n8n and web clients - Created mcp_server/http_server.py with FastAPI for JSON-RPC 2.0 over HTTP - Added health check endpoint (/health) for container monitoring - Refactored mcp-server/ to mcp_server/ (Python module structure) - Updated Dockerfile.mcp to run HTTP server with health checks MCP Server Features: - 7 memory tools exposed via MCP (add, search, get, update, delete) - HTTP/SSE transport on port 8765 for n8n integration - stdio transport for Claude Code integration - JSON-RPC 2.0 protocol implementation - CORS support for web clients n8n Integration: - Successfully tested with AI Agent workflows - MCP Client Tool configuration documented - Working webhook endpoint tested and verified - System prompt optimized for automatic user_id usage Documentation: - Created comprehensive Mintlify documentation site - Added docs/mcp/introduction.mdx - MCP server overview - Added docs/mcp/installation.mdx - Installation guide - Added docs/mcp/tools.mdx - Complete tool reference - Added docs/examples/n8n.mdx - n8n integration guide - Added docs/examples/claude-code.mdx - Claude Code setup - Updated README.md with MCP HTTP server info - Updated roadmap to mark Phase 1 as complete Bug Fixes: - Fixed synchronized delete operations across Supabase and Neo4j - Updated memory_service.py with proper error handling - Fixed Neo4j connection issues in delete operations Configuration: - Added MCP_HOST and MCP_PORT environment variables - Updated .env.example with MCP server configuration - Updated docker-compose.yml with MCP container health checks Testing: - Added test scripts for MCP HTTP endpoint verification - Created test workflows in n8n - Verified all 7 memory tools working correctly - Tested synchronized operations across both stores Version: 1.0.0 Status: Phase 1 Complete - Production Ready 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
38 lines
618 B
Plaintext
38 lines
618 B
Plaintext
# Core Memory System
|
|
# Requires >=0.1.118 for get_all() and search() dict return format fix
|
|
mem0ai[graph]>=0.1.118,<0.2.0
|
|
|
|
# Web Framework
|
|
fastapi==0.115.*
|
|
uvicorn[standard]==0.32.*
|
|
pydantic>=2.7.3,<3.0
|
|
pydantic-settings==2.6.*
|
|
|
|
# MCP Server
|
|
mcp==1.3.*
|
|
|
|
# Database Drivers
|
|
psycopg2-binary==2.9.*
|
|
neo4j==5.26.*
|
|
vecs==0.4.*
|
|
|
|
# OpenAI
|
|
# mem0ai 0.1.118 requires openai<1.110.0,>=1.90.0
|
|
openai>=1.90.0,<1.110.0
|
|
|
|
# Utilities
|
|
python-dotenv==1.0.*
|
|
httpx==0.28.*
|
|
pyyaml==6.0.*
|
|
|
|
# Development
|
|
pytest==8.3.*
|
|
pytest-asyncio==0.24.*
|
|
pytest-cov==6.0.*
|
|
black==24.10.*
|
|
ruff==0.8.*
|
|
mypy==1.13.*
|
|
|
|
# Monitoring
|
|
prometheus-client==0.21.*
|