style-memory-mcp
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| STYLE_MEMORY_PATH | No | Path to the JSON store | ~/.style-memory-mcp/style-memory.json |
| STYLE_MEMORY_LEARNING | No | Set to 'off' to disable learning | on |
| STYLE_MEMORY_MAX_BRIEF_ITEMS | No | Max habits returned in a style brief | 8 |
| STYLE_MEMORY_MAX_EXAMPLE_LEN | No | Max chars for a stored usage example | 60 |
| STYLE_MEMORY_INACTIVE_TTL_DAYS | No | Days before active habits are archived | 180 |
| STYLE_MEMORY_MIN_PROMOTE_COUNT | No | Times a habit must be seen before becoming active | 3 |
| STYLE_MEMORY_CANDIDATE_TTL_DAYS | No | Days before unused candidate habits are deleted | 30 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| observe_user_messageA | Learn lightweight conversational style signals from the latest user message. Pass only the message text — not secrets, private memories, or full conversation logs. Optionally include |
| get_style_briefA | Return a short style brief for the agent to use lightly. Call this at the start of a conversation or before drafting a friendly reply. |
| distill_recent_styleA | One-shot batched distillation: based on the user's recent ~10–20 messages, identify 3–7 signature expressions (catchphrases, sentence-final particles, structural quirks, etc.) and write them all at once. Treated as user-endorsed — each habit becomes active immediately if its content passes basic checks. Use sparingly: at conversation seed-time, or when the agent feels its style brief is too thin. |
| distill_interaction_profileA | One-shot batched distillation of concrete collaboration preferences. Use for response structure, explanation style, workflow, and decision-making preferences — not personality labels. |
| list_style_habitsA | List stored style habits and candidates from the local JSON store. |
| list_interaction_profileB | List stored collaboration and response-structure preferences from the local JSON store. |
| review_style_habitsB | Return a concise review queue with suggested actions such as keep, pin, forget, or observe. |
| review_interaction_profileA | Return a concise review queue for stored collaboration preferences, with suggested actions such as keep, pin, forget, or observe. |
| forget_style_habitB | Delete a style habit by id or exact text. |
| forget_interaction_preferenceB | Delete a collaboration preference by id or exact text. |
| pin_style_habitB | Pin or unpin a style habit so cleanup will not delete it. |
| pin_interaction_preferenceB | Pin or unpin a collaboration preference so cleanup will not delete it. |
| set_learning_enabledA | Enable or disable style learning in the local JSON store. |
| get_style_memory_scoreA | Score whether the local style memory is usable, stable, fresh, and at risk of drift or over-imitation. |
| get_style_memory_statusA | Show where the local JSON store lives and how many habits are stored. |
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
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/hexingyuofficial/style-memory-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server