Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NODE_ENVNoRuntime environment (development/production)
BRAIN_MCP_STORAGE_PATHNoThe storage path for memory data./memory_data
BRAIN_MCP_AUTO_SAVE_INTERVALNoAuto-save interval in milliseconds (default is 5 minutes)300000

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
addShortTermMemoryB

Add a temporary memory to the short-term cache (FIFO, limited capacity)

getShortTermMemoryB

Retrieve all short-term memories (newest first)

clearShortTermMemoryB

Clear all short-term memories

addLongTermMemoryB

Create a new persistent memory node with optional associations to other nodes

getLongTermMemoryB

Retrieve a memory node by ID with its associations up to specified depth

searchLongTermMemoryB

Search memory nodes by keyword (text matching)

updateLongTermMemoryB

Update a memory node's text and/or associations

deleteLongTermMemoryB

Delete a memory node and remove it from all associations

getAssociationsB

Get all direct association IDs of a memory node

saveMemoryB

Manually trigger saving all long-term memories to disk

getMemoryStatsB

Get statistics about the memory system

startThoughtProcessB

Start a new thought process chain with a goal

addThoughtB

Add a thought to an existing thought chain

branchThoughtB

Create a branch from an existing thought to explore alternative paths

evaluateThoughtC

Evaluate and update the confidence level of a thought

completeThoughtProcessB

Mark a thought process as complete and store the conclusion

getCurrentThoughtChainB

Retrieve the current state of a thought chain with all thoughts

pauseThinkingB

Pause an active thought process

resumeThinkingB

Resume a paused thought process

switchCognitiveModeC

Switch the cognitive mode for thinking processes

getOptimalModeForTaskB

Get the recommended cognitive mode for a specific task type

getThinkingProgressB

Get progress statistics for a thought chain

getActiveChainsB

Get all currently active thought chains

getThinkingStatsB

Get overall thinking process statistics

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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/DDguan2010/brain-mcp'

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