trailmem
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| trailmem_welcomeB | Session-start briefing: pinned rules, recent activity, open tasks, stats. Call once at session start; repeat calls return the short form unless force=true. |
| trailmem_storeA | Save a new memory (decision/lesson/task/constraint/...) with optional linking. Store the ENGLISH version of the content; title 3-60 chars, content 50+ chars. Duplicates are rejected/blocked with the existing #id — edit that instead. |
| trailmem_queryA | Search memories (semantic + keyword). Returns #id, type, status, edge count [↔N] and a 200-char preview per hit. Use trailmem_show(ref) for full content + edges. |
| trailmem_showA | Fetch one memory in full: content, all edges (with [eN] ids), supersede chain. The only tool that returns edges — edge ids here are what link remove needs. |
| trailmem_editB | Update a memory's content/title/type/pin, or archive it (status='archived' needs archive_reason >=20 chars AND at least one edge). Content edits refresh hash + embedding + search index automatically. |
| trailmem_linkB | Create (action='add': source, target, edge_type) or remove (action='remove': edge_id from trailmem_show) a typed edge between memories. Types: related / derived_from / supersedes / contradicts / evolves. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| save_session | Capture this session's durable decisions, lessons, and open tasks into trailmem before you exit. Portable across every MCP client that surfaces prompts (Claude Code, Cursor, VS Code, Windsurf, ...). |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- 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/amitnexTech/trailmem'
If you have feedback or need assistance with the MCP directory API, please join our Discord server