Skip to main content
Glama
tinhien11

tdai-memory-mcp

by tinhien11

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TDAI_DB_PATHNoThe SQLite database file path~/.local/share/tdai-memory-mcp/memory.db
TDAI_STORAGENoStorage backend: sqlite, pgvector, file, or tdai-gatewaysqlite
TDAI_PIPELINENoPipeline stage: noop, atom, scenario, or mermaidnoop
TDAI_AUDIT_LOGNoWrites the audit log to audit.jsonltrue
TDAI_LLM_MODELNoThe LLM model namegpt-4o-mini
TDAI_LLM_API_KEYNoThe LLM API key for pipeline features
TDAI_LLM_BASE_URLNoThe LLM endpointhttps://api.openai.com/v1
TDAI_REDACT_SECRETSNoRedacts API keys and tokens on capturetrue
TDAI_MAX_TOKENS_RECALLNoThe token cap per recall response4000
TDAI_MAX_TOKENS_SEARCHNoThe token cap per search response8000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
recallA

Retrieve relevant past memory. Call this tool before you answer the user. Use it when the user references past work or when the task needs project context.

captureA

Save a decision, a learning, or a task outcome to memory. Call this tool after you complete a non-trivial task, make a decision, or fix a bug with a known root cause.

searchA

Search memory by keyword or by semantic similarity. Use this tool when recall is too broad and you need specific facts.

forgetA

Delete specific memory entries. Use this tool only when the user requests a deletion. Do not auto-forget.

handoffA

Write a structured handoff packet for the next agent session. Call this tool at the end of a session, or before you switch to a different agent. The next agent calls recall to load this packet and continue without re-reading files. This saves 60-85% of tokens compared to re-discovering context.

adrA

Record an Architecture Decision Record (ADR). Use this tool when you make a technical decision that future agents should know about. The ADR is stored as a structured capture and can be recalled by any agent working on the same project.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Recent capturesThe 20 most recent memory captures.
Memory statisticsSummary statistics for the memory database.

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/tinhien11/tdai-memory-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server