BCI-MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | The port for connecting to the EEG device (e.g. /dev/tty.usbmodem1101) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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 |
| 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
| Name | Description |
|---|---|
| interpret_brain_state | Prompt template: ask the model to interpret the current brain state. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| brain_state_resource | Live brain-state snapshot as text. |
| brain_device_resource | Information about the connected device. |
Latest Blog Posts
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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