Complete implementation: REST API, MCP server, and documentation
Implementation Summary:
- REST API with FastAPI (complete CRUD operations)
- MCP Server with Python MCP SDK (7 tools)
- Supabase migrations (pgvector setup)
- Docker Compose orchestration
- Mintlify documentation site
- Environment configuration
- Shared config module
REST API Features:
- POST /v1/memories/ - Add memory
- GET /v1/memories/search - Semantic search
- GET /v1/memories/{id} - Get memory
- GET /v1/memories/user/{user_id} - User memories
- PATCH /v1/memories/{id} - Update memory
- DELETE /v1/memories/{id} - Delete memory
- GET /v1/health - Health check
- GET /v1/stats - Statistics
- Bearer token authentication
- OpenAPI documentation
MCP Server Tools:
- add_memory - Add from messages
- search_memories - Semantic search
- get_memory - Retrieve by ID
- get_all_memories - List all
- update_memory - Update content
- delete_memory - Delete by ID
- delete_all_memories - Bulk delete
Infrastructure:
- Neo4j 5.26 with APOC/GDS
- Supabase pgvector integration
- Docker network: localai
- Health checks and monitoring
- Structured logging
Documentation:
- Introduction page
- Quickstart guide
- Architecture deep dive
- Mintlify configuration
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
111
docs/mint.json
Normal file
111
docs/mint.json
Normal file
@@ -0,0 +1,111 @@
|
||||
{
|
||||
"name": "T6 Mem0 v2",
|
||||
"logo": {
|
||||
"dark": "/logo/dark.svg",
|
||||
"light": "/logo/light.svg"
|
||||
},
|
||||
"favicon": "/favicon.svg",
|
||||
"colors": {
|
||||
"primary": "#0D9373",
|
||||
"light": "#07C983",
|
||||
"dark": "#0D9373",
|
||||
"anchors": {
|
||||
"from": "#0D9373",
|
||||
"to": "#07C983"
|
||||
}
|
||||
},
|
||||
"topbarLinks": [
|
||||
{
|
||||
"name": "Support",
|
||||
"url": "mailto:support@example.com"
|
||||
}
|
||||
],
|
||||
"topbarCtaButton": {
|
||||
"name": "Dashboard",
|
||||
"url": "https://git.colsys.tech/klas/t6_mem0_v2"
|
||||
},
|
||||
"tabs": [
|
||||
{
|
||||
"name": "API Reference",
|
||||
"url": "api-reference"
|
||||
},
|
||||
{
|
||||
"name": "MCP Integration",
|
||||
"url": "mcp"
|
||||
}
|
||||
],
|
||||
"anchors": [
|
||||
{
|
||||
"name": "GitHub",
|
||||
"icon": "github",
|
||||
"url": "https://git.colsys.tech/klas/t6_mem0_v2"
|
||||
},
|
||||
{
|
||||
"name": "mem0.ai",
|
||||
"icon": "link",
|
||||
"url": "https://mem0.ai"
|
||||
}
|
||||
],
|
||||
"navigation": [
|
||||
{
|
||||
"group": "Get Started",
|
||||
"pages": [
|
||||
"introduction",
|
||||
"quickstart",
|
||||
"architecture"
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "Setup",
|
||||
"pages": [
|
||||
"setup/installation",
|
||||
"setup/configuration",
|
||||
"setup/supabase",
|
||||
"setup/neo4j"
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "API Documentation",
|
||||
"pages": [
|
||||
"api-reference/introduction",
|
||||
"api-reference/authentication"
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "Memory Operations",
|
||||
"pages": [
|
||||
"api-reference/memories/add",
|
||||
"api-reference/memories/search",
|
||||
"api-reference/memories/get",
|
||||
"api-reference/memories/update",
|
||||
"api-reference/memories/delete"
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "System",
|
||||
"pages": [
|
||||
"api-reference/health",
|
||||
"api-reference/stats"
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "MCP Server",
|
||||
"pages": [
|
||||
"mcp/introduction",
|
||||
"mcp/installation",
|
||||
"mcp/tools"
|
||||
]
|
||||
},
|
||||
{
|
||||
"group": "Examples",
|
||||
"pages": [
|
||||
"examples/claude-code",
|
||||
"examples/n8n",
|
||||
"examples/python"
|
||||
]
|
||||
}
|
||||
],
|
||||
"footerSocials": {
|
||||
"github": "https://git.colsys.tech/klas/t6_mem0_v2"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user