Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GDB_PATHNoPath to the GDB executable (e.g., arm-none-eabi-gdb).
OPENOCD_PATHNoPath to the OpenOCD executable.
OPENOCD_SCRIPTSNoPath to the OpenOCD scripts directory.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tasks
{
  "list": {},
  "cancel": {},
  "requests": {
    "tools": {
      "call": {}
    },
    "prompts": {
      "get": {}
    },
    "resources": {
      "read": {}
    }
  }
}
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
set_project

Set current project directory and load debug configurations from .vscode/launch.json.

refresh_debug_targets

Reload launch.json from current project and return available debug configurations.

flash_download

Flash firmware once using specified launch configuration without starting debug session.

debug_start

Start debug session using specified launch configuration.

debug_stop

Stop current active debug session and terminate OpenOCD/GDB processes.

debug_command

Execute one GDB command in current active debug session.

debug_status

Get current debug session status and available configuration names in JSON string format.

get_runtime_config

Return currently effective OpenOCD/GDB runtime configuration and value sources for troubleshooting.

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/luiox/openocd-mcp'

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