Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
portNoThe port for connecting to the EEG device (e.g. /dev/tty.usbmodem1101)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_devicesA

List EEG devices/URIs you can connect to.

connectB

Connect to an EEG device and start streaming. Default is the synthetic brain.

disconnectA

Disconnect from the current EEG device.

get_brain_stateA

Get the current brain state: focus, calm, attention, band powers, signal quality.

get_band_powersB

Get absolute and relative EEG band powers (delta, theta, alpha, beta, gamma).

get_signal_qualityB

Get electrode signal quality and detected artifacts (blink, railing, …).

calibrateC

Capture a baseline so focus/calm/etc. are personalized to the wearer.

mark_eventC

Annotate the live stream with a labeled event marker.

stream_summaryB

Current brain-state snapshot. (The seconds window for rolling stats arrives in a later phase; this currently returns the live reading.)

recordB

Record the live stream for N seconds to a file (npz/csv/edf).

start_neurofeedbackC

Begin a neurofeedback session rewarding time spent above a metric target.

get_neurofeedback_scoreA

Sample the current neurofeedback score (in-zone now + cumulative %).

Prompts

Interactive templates invoked by user choice

NameDescription
interpret_brain_statePrompt template: ask the model to interpret the current brain state.

Resources

Contextual data attached and managed by the client

NameDescription
brain_state_resourceLive brain-state snapshot as text.
brain_device_resourceInformation about the connected device.

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/enkhbold470/bci-mcp'

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