Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NRF_SDK_REFNoSDK version to target — any git ref (tag, branch, commit SHA). Default is defined in package.json.
GITHUB_TOKENNoGitHub API token; set explicitly to bypass the gh CLI requirement.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
nrf_list

List the contents of a directory in the nRF Connect SDK repo (nrfconnect/sdk-nrf @ main).

Useful starting paths:

  • "doc/nrf" → Documentation root (RST files)

  • "doc/nrf/protocols" → Bluetooth, LTE, Thread, Zigbee docs

  • "doc/nrf/libraries" → Library reference docs

  • "doc/nrf/applications" → Application-level docs

  • "samples" → All sample projects

  • "samples/bluetooth" → Bluetooth LE samples

  • "samples/cellular" → LTE/cellular modem samples

  • "samples/matter" → Matter protocol samples

  • "samples/nfc" → NFC samples

  • "samples/tfm" → Trusted Firmware-M samples

  • "samples/crypto" → Cryptography samples

Returns dirs first, then files, with full paths you can pass to nrf_read.

nrf_read

Read the contents of a file from the nRF Connect SDK repo (nrfconnect/sdk-nrf @ main).

Works for any text file: .rst documentation, .c/.h source, CMakeLists.txt, Kconfig, prj.conf, .yaml, README.rst, etc.

Use nrf_list to discover paths first. Examples:

  • "samples/bluetooth/central_bas/README.rst"

  • "samples/bluetooth/central_bas/src/main.c"

  • "samples/bluetooth/central_bas/CMakeLists.txt"

  • "samples/bluetooth/central_bas/prj.conf"

nrf_search

Search for code or documentation across the nRF Connect SDK repo using GitHub code search.

Supports GitHub search qualifiers to narrow results:

  • Plain keyword: "DFU_TARGET_IMAGE_TYPE_ANY"

  • Docs only: "FOTA path:doc/nrf"

  • Samples only: "peripheral_hr path:samples"

  • Specific extension: "CONFIG_BT_PERIPHERAL extension:conf"

  • Source files only: "bt_le_adv_start extension:c"

  • Headers only: "struct bt_conn extension:h"

Returns matching file paths (up to 20). Use nrf_read to fetch the content. Note: Requires GITHUB_TOKEN for reliable results (unauthenticated search is heavily rate-limited).

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/pshanesmith/nrf-mcp'

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