Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
VERBOSENoSet to true to enable verbose logging and debug mode.
THEBRAIN_API_KEYYesYour TheBrain API key required for authentication.
THEBRAIN_DEFAULT_BRAIN_IDNoOptional default brain ID to use for operations.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_brains

List all available brains for the user

get_brain

Get details about a specific brain

set_active_brain

Set the active brain for subsequent operations

create_thought

Create a new thought with optional visual properties

update_thought

Update a thought including its visual properties

create_link

Create a link between two thoughts with visual properties

update_link

Update link properties including visual formatting

add_file_attachment

Add a file attachment (including images) to a thought

add_url_attachment

Add a URL attachment to a thought

get_attachment_content

Get the binary content of an attachment (e.g., download an image)

get_note

Get the note content for a thought

create_or_update_note

Create or update a note with markdown content

append_to_note

Append content to an existing note

search_thoughts

Search for thoughts in a brain

get_thought

Get details about a specific thought

get_thought_graph

Get a thought with all its connections and attachments

delete_thought

Delete a thought

get_link

Get details about a specific link

delete_link

Delete a link

get_attachment

Get metadata about an attachment

delete_attachment

Delete an attachment

list_attachments

List all attachments for a thought

get_types

Get all thought types in a brain

get_tags

Get all tags in a brain

get_brain_stats

Get statistics about a brain

get_modifications

Get modification history for a brain

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/redmorestudio/thebrain-mcp'

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