-
Notifications
You must be signed in to change notification settings - Fork 4
MCP Clients
Z-M-Huang edited this page Jun 6, 2026
·
1 revision
Dense-Mem exposes MCP Streamable HTTP at:
http://127.0.0.1:8080/mcp
Use the hosted demo URL instead when testing the demo:
https://demo-dense-mem.markhuang.ai/mcp
Every MCP request uses a Dense-Mem API key:
Authorization: Bearer dm_...
For local setup, create a key with:
docker compose exec server /app/provision-team --name "primary-memory"
export DENSE_MEM_API_KEY="dm_..."claude mcp add --transport http dense-mem http://127.0.0.1:8080/mcp \
--header "Authorization: Bearer $DENSE_MEM_API_KEY"For the hosted demo:
claude mcp add --transport http dense-mem-demo \
https://demo-dense-mem.markhuang.ai/mcp \
--header "Authorization: Bearer $DENSE_MEM_API_KEY"Add this to ~/.codex/config.toml:
[mcp_servers.dense_mem]
url = "http://127.0.0.1:8080/mcp"
bearer_token_env_var = "DENSE_MEM_API_KEY"
tool_timeout_sec = 60
enabled = trueFor the hosted demo:
[mcp_servers.dense_mem_demo]
url = "https://demo-dense-mem.markhuang.ai/mcp"
bearer_token_env_var = "DENSE_MEM_API_KEY"
tool_timeout_sec = 60
enabled = truecurl -s "http://127.0.0.1:8080/mcp" \
-H "Authorization: Bearer $DENSE_MEM_API_KEY" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'The response should include tools such as:
remember
recall_memory
trace_memory
assemble_context
reflect_memories
confirm_memory
Read-only keys will not see write-scoped tools such as remember or
confirm_memory.
Use normal language:
Remember that I prefer concise explanations with concrete examples.
Then ask:
What do you remember about my explanation preferences?
The assistant should call Dense-Mem to save and recall memory. If it does not, check the client MCP configuration, the API key, and the server logs.