Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| add_short_term_memory | Add a new short-term memory entry from recent conversation messages. The memory will be indexed by keywords and scored based on relevance over time. |
| search_short_term_memories | Search and retrieve relevant short-term memories based on recent conversation context. Returns top relevant, next relevant, and random flashback memories. |
| delete_short_term_memories | Delete short-term memories matching a keyword or regex pattern. |
| get_memory_stats | Get statistical information about short-term memories. |
| cleanup_memories | Manually trigger cleanup of old or low-relevance short-term memories. This removes memories older than 1 year or with very low relevance scores, keeping at least 512 memories. |
| get_frequent_conversation | Get the most frequently mentioned conversation ID in memories. |
| add_long_term_memory | Add a new long-term memory with a trigger condition. The trigger is JavaScript code that determines when this memory should be activated. Available context: context.messages (array), context.conversation_id (string), context.participants (object). Available functions: match_keys(messages, keywords, scope, depth), match_keys_all(messages, keywords, scope, depth). |
| update_long_term_memory | Update an existing long-term memory. You can update the trigger condition, prompt content, or add update context. |
| delete_long_term_memory | Delete a long-term memory by name. |
| list_long_term_memories | List all long-term memory names and their basic information. |
| search_long_term_memories | Search and activate relevant long-term memories based on current conversation context. Returns activated memories (whose triggers evaluated to true) and random memories for serendipity. |
| get_memory_context | Get the creation and update context of a specific long-term memory. |