session-memory
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Log level (error, warn, info, debug, trace). | info |
| SESSION_DB | No | Alternative database file path for the MCP server as used in client configuration. | ~/.agents/memory/session.db |
| ENABLE_CORS | No | Enable Cross-Origin Resource Sharing. | true |
| OPEN_BROWSER | No | Auto-open browser on startup. | false |
| DASHBOARD_HOST | No | Server host for the web dashboard (use 0.0.0.0 for all interfaces). | localhost |
| DASHBOARD_PORT | No | Server port for the web dashboard. | 3001 |
| SESSION_DB_PATH | No | Database file path for the session memory. | ~/.agents/memory/session.db |
| MCP_DASHBOARD_TOKEN | No | Bearer token for API authentication (leave empty to disable authentication). |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| store_session_contextB | Store session context for later retrieval |
| retrieve_session_contextC | Retrieve stored session context |
| update_session_contextA | Append to existing session context without overwriting |
| track_user_preferenceC | Track and learn user preferences |
| get_user_preferencesC | Retrieve user preferences |
| learn_project_conventionC | Learn and store project-specific conventions |
| get_project_conventionsC | Retrieve project conventions |
| store_interactionC | Store a conversation interaction for context |
| get_interaction_historyC | Retrieve conversation history |
| cleanup_old_sessionsB | Remove sessions older than specified days |
| get_recent_activityC | Get recent activity for debugging purposes |
| create_taskC | Create a new task in the task tracking system |
| get_tasksC | Retrieve tasks with optional filtering |
| update_taskC | Update an existing task |
| delete_taskB | Delete a task by ID |
| memory_searchA | Full-text search across all session contexts using FTS5 with BM25 ranking |
| search_semanticC | Semantic similarity search (requires @xenova/transformers) |
| search_patternsC | Detect recurring patterns in memory content |
| search_temporalC | Analyze memory patterns over time periods |
| analysis_conflictsC | Detect conflicts between memory entries |
| analysis_memory_mapC | Generate memory map visualization data |
| memory_exportB | Export memories in JSON or Markdown format |
| memory_importB | Import memories from JSON |
| memory_compactB | Compact and optimize database storage |
| memory_tagsC | Manage tags for memory entries |
| task_boardB | Get visual task board grouped by phase, state, or priority |
| task_insightsB | Get task analytics and velocity metrics |
| project_profileC | Manage project profiles for multi-project support |
| get_routing_patternsB | Get learned routing patterns with confidence scores |
| store_routing_patternC | Store a successful routing pattern for cross-workflow learning |
| find_similar_routing_patternsC | Find routing patterns similar to a description |
| store_contexts_batchA | Store multiple session contexts in a single transaction (40-60% faster) |
| track_preferences_batchB | Track multiple preferences in a single transaction (40-60% faster) |
| store_conventions_batchA | Store multiple conventions in a single transaction (40-60% faster) |
| get_tool_manifestB | Return machine-readable tool manifest and required-args schemas |
| store_api_specA | Store and parse OpenAPI/Swagger specification |
| get_api_specA | Retrieve full API specification by ID |
| list_api_specsA | List all stored API specifications with metadata |
| delete_api_specA | Delete API specification and all related endpoints/schemas |
| get_api_endpointsC | Query API endpoints with filters |
| get_api_endpoint_detailA | Get full endpoint details including request/response schemas |
| search_api_endpointsC | Full-text search across API endpoints |
| get_api_schemaA | Get schema definition from API spec |
| analyze_codebase_apisC | Analyze codebase for API endpoints (FeathersJS, Express, Fastify) |
| server_healthB | Check MCP server health and database connectivity |
| record_artifact_readC | Record that a durable on-disk memory artifact was injected or consulted |
| get_artifact_readsB | List recently read durable memory artifacts for feedback and ranking |
| get_autodream_metricsA | List recent autodream runs recorded in the session-memory database |
| server_statsB | Get detailed server statistics and performance metrics |
| store_memoryC | Store a memory with branch awareness, type classification, and importance level |
| get_memoryB | Get memories by topic with branch awareness |
| query_memoryC | Query memory records by keyword |
| update_memoryC | Update an existing memory entry |
| link_memory_to_projectB | Link a memory to a project for operational resurfacing |
| daily_briefingB | Generate proactive daily briefing from operational memory |
| weekly_reviewB | Generate weekly review summary from operational memory |
| stale_work_scanC | Scan for stale work that should be resurfaced |
| assemble_active_contextB | Assemble active context from prompt modules, markdown memory, and SQLite memory |
| search_memoriesB | Full-text search across all memories |
| evolve_memoryB | Add an evolution note to track changes over time |
| get_memory_entitiesC | Get all extracted entities from memories |
| sync_session_startC | Initialize session with branch context and retrieve relevant memories |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lovellfelix/session-memory'
If you have feedback or need assistance with the MCP directory API, please join our Discord server