Nordic MCP, hands on: an AI assistant that can drive the nRF Connect SDK
The documentation mountain
The nRF Connect SDK reads like what it is: a serious piece of engineering. Thousands of pages of documentation, Zephyr underneath with thousands more, and a Kconfig system with thousands of options, where the one you need sits next to three others with similar names. Behind it all sit a decade of DevZone threads, half about SDKs two releases older than yours. The knowledge exists. Finding the piece that applies to your version, board and configuration is the slow part.
AI assistants should have fixed this, and mostly they have not. A general chatbot answers from its memory of the internet. Ask about a Kconfig symbol and it will produce one, confidently, whether or not that symbol exists in your SDK. Ask for an API call and it may hand you the signature from the wrong release. On the web a wrong guess costs a page refresh. In firmware it costs a compile, a flash, a silent boot log, and an afternoon.
What you want instead is narrower: answers from Nordic's own current documentation, for your SDK version, and hands that reach your real project. Your application, your build, your board, your serial console. Not descriptions of those things. The things themselves.
That is what Nordic has now shipped, in two pieces. We installed both, pointed them at a real project, and put them to work.
What Nordic actually shipped
Both pieces speak MCP, short for Model Context Protocol. One plain paragraph of background, because everything else hangs on it. MCP is an open protocol that lets an AI assistant call tools and read sources outside the model. An MCP server offers a list of named tools. The assistant in your editor calls them like functions, and gets real results back: a search result, a build state, a device's output. Instead of guessing, the model looks things up and does things, and every call is visible to you.
The first piece is the hosted one: Nordic MCP, at aidev.nordicsemi.com/mcp. This is the knowledge half. Per Nordic's documentation and their engineering blog, it offers semantic search over Nordic's documentation with official TechDocs ranked above DevZone posts, the SDK's Kconfig data, and guided workflows for setup, building, programming, debugging, testing and UART monitoring. Planner resources break a job into steps first, which spends fewer tokens. Behind the same sign-in it reaches your nRF Cloud data: what your deployed devices run and log. And it has skills: one runs a Power Profiler Kit II to capture current consumption and look for anomalies, another runs GDB sessions through a debug probe.
The second piece is quieter, and in some ways more interesting. The nRF Connect for VS Code extension runs a local MCP server on your own machine, at 127.0.0.1:60219, on by default when VS Code opens a workspace you trust. This half knows nothing about the internet. It knows your bench: your applications, build configurations, SDK installs and connected devices, and it can act on them. It is the half we could drive without anyone's account, so this post exercises it hardest.
Which assistant do you talk to it with? Nordic names three: Claude, Cursor and GitHub Copilot. Inside VS Code, the route is Copilot Chat in agent mode.
Setting it up
The nRF Connect view in the sidebar: a Welcome section with the Install SDK button, and Applications and Connected Devices waiting below it. This panel is where the extension keeps your projects, and, quietly, where its local MCP server lives. Screenshot: ours.
The Extensions panel after the install: the nRF Connect extension is in, together with the companions the pack brings along, nRF DeviceTree, nRF Kconfig, nRF Terminal and the devicetree language support. Extension pack 2025.4.4; the nRF Connect extension itself is 2026.10.2941. Screenshot: ours.
Install VS Code (ours is 1.145.2) and then, from the Marketplace, the nRF Connect for VS Code Extension Pack. Ours landed as pack 2025.4.4, with the nRF Connect extension itself at 2026.10.2941. If you set up this SDK the supported way, you already have this extension. The AI features arrive inside the tool you already use.
MCP servers are declared per project, in .vscode/mcp.json. This is the exact file from our test workspace:
{
"servers": {
"nordic-mcp": {
"type": "http",
"url": "https://aidev.nordicsemi.com/mcp"
},
"nordic-semiconductor-docs": {
"type": "http",
"url": "https://nordicsemi.mcp.kapa.ai"
}
}
}Be suspicious of addresses in blog posts, including this one: we did not copy that one from an article. The installed extension itself registers the nordic-mcp server definition with VS Code, and we read the address out of the extension's own code, the only one there.
The second entry is optional and older: a documentation question and answer server Nordic has run for a while. No tools, nothing touches your machine, Google sign-in in the browser, no API key. If all you want on day one is documentation answers with sources, start there.
Step three: start the servers from VS Code. The local one needs nothing from you. The hosted one stops, once, at a door.
The sign-in wall, and why it is there
The whole hosted sign-in, in one dialog: the server wants to authenticate to aidev.nordicsemi.com, and Allow would open the browser for the myNordic sign-in. We clicked Cancel, on purpose. The point of the exercise was to see exactly where the machine's work ends and the reader's own step begins. Screenshot: ours.
Our .vscode/mcp.json in the editor, both servers defined in a handful of lines. Note the marker above the nordic-mcp entry: Error, Restart. That is the scar left by the declined sign-in; the output panel below it shows the OAuth discovery lines and, further down, the 401. Screenshot: ours.
The first time the hosted server starts, the operating system asks:
"The MCP Server Definition 'nordic-mcp' wants to authenticate to aidev.nordicsemi.com."
Allow opens your browser, and you sign in with a myNordic account. Free, and the same single sign-on that covers nRF Cloud, so the cloud data mentioned earlier needs no second setup. There is no key to generate and nothing to paste: VS Code discovers the OAuth endpoints on Nordic's server by itself, asks for your consent, and keeps the token. The MCP output panel logs the discovery requests line by line, if you want to watch.
We clicked Cancel, deliberately: a hands-on should map which steps belong to the machine and which belong to you, and never quietly use someone's credentials to blur the line. The log records the refusal honestly: error 401, and the words "User did not consent to login". This post shows you the wall and verifies everything on the near side of it.
Twenty-one tools on localhost
Before the worked example, the local server's tool list. It is the clearest statement of what Nordic thinks an assistant is for.
We connected with a standard initialize handshake (protocol version 2025-03-26). Two details are telling. The server implements tools only: ask for resources or prompts and it answers "Method not found". Its greeting tells clients, in writing, to prefer these tools for building, flashing and device work, because they read the open workspace's real state.
The 21 tools, grouped by use:
- Builds. Create a build configuration for a board target and build it, rebuild one, describe a build folder (board, build type, sysbuild domains), list an application's builds, poll a result.
- Devices. List what is connected, with serial numbers. Flash a built image and poll the result. Reset a device. Debug one, with breakpoints and GDB commands.
- The running firmware. Read a device's UART output and type into it. Read SEGGER RTT logging through the probe and type into that. Anyone who has nursed a board through a bring-up knows these are where the truth lives.
- Housekeeping. List the applications the extension knows, open one from a folder, list installed SDKs, install an SDK or toolchain and poll it, search board targets, and fetch the extension's own terminal environment, so terminal commands and tool calls agree about paths.
It is almost exactly what you do by clicking around the sidebar and terminal on an ordinary day. The change is who can do it: each action is now askable in a sentence, and chainable by an assistant. Change the code, rebuild, flash, read what the board printed, react. That loop is the job, and the tools are the loop, exposed.
The worked example: Blinky grows a library
The baseline, built by hand in the editor's own terminal before any tool calls: main.c open above, and below it the finished build, 171 steps, FLASH 23,080 B, RAM 6,080 B. Numbers later in this post only mean anything against this known-good build. Screenshot: ours.
Every SDK installation carries Blinky, the blinking LED sample. Ours targets the nRF52840 DK, and stock Blinky blinks at a pace compiled into the code. For the test we gave it a small library of our own, led_blink, so the period becomes a setting the application can change while it runs. The header is the whole public face of it:
#ifndef LED_BLINK_H
#define LED_BLINK_H
#include <stdint.h>
#include <stdbool.h>
/** @brief Initialise the library and tell it which GPIO pin drives the LED. */
void led_blink_init(int pin);
/** @brief Set the blink period in milliseconds. Clamped to 100..10000. */
void led_blink_set_period_ms(uint32_t period_ms);
/** @brief Get the current blink period in milliseconds. */
uint32_t led_blink_get_period_ms(void);
/** @brief Returns true once every period, then waits for the next one. */
bool led_blink_due(void);
#endif /* LED_BLINK_H */The implementation is a few lines around the kernel uptime counter. In main.c: one include, and a loop that sleeps 10 ms at a time and toggles the LED whenever led_blink_due() says so. One line in CMakeLists adds the library to the build. A small, real library with an API, wired into a real application.
Before any tool touched it, we built it by hand in the editor's terminal: clean compile, 23,080 B of flash, 6,080 B of RAM. A known-good baseline to compare the tools against.
The same build, driven through MCP tools
The payoff. main.c carries the led_blink include on line 11, and the sidebar shows the blinky application with two build configurations. build_1, the one created through the MCP tools, is expanded to its nRF52840 DK target and selected in the status bar, with its Build, Debug and Flash actions listed under it. Screenshot: ours.
Now the same project, with no clicking and no terminal. We drove the local MCP server over the protocol, a small script standing in for the assistant.
First, nrfconnect_open_application on the Blinky folder. Answer: "The application ... is now open."
Then nrfconnect_create_build, and the first honest bump: it refused. "No nRF Connect SDK installation found. Install an SDK before creating a build." Our machine did have an SDK, installed by hand, but the extension tracks its own installs in its own registry, and the hand-installed tree was invisible to it. A fair cop, and exactly why tool access matters: the assistant is told why the build will not start, instead of guessing.
So we asked the server to fix it: nrfconnect_install_sdk, version 3.4.1, the current LTS. The second honest bump was the biggest in this test: the download is a 3.1 GB bundle, and on our small virtual machine the extension host died mid-install, twice. A retry with the bundle already cached went through: "Installed nRF Connect SDK v3.4.1". The lesson: an install only counts when the extension's own manager completes it; a correct folder on disk does not register. Heavy installs have real failure modes, whoever clicks the button.
With an SDK registered, nrfconnect_create_build again, board target nrf52840dk/nrf52840. About a minute and a half later it returned a finished build: build_1, with a zephyr.hex inside. describe_build confirms a Sysbuild configuration on SDK v3.4.1. On disk, the compiled led_blink object file is in the build tree and the led_blink_due symbol is in the ELF: the library is in the firmware, not just the source. Sizes: about 23,492 B of flash and 6,241 B of RAM, a little above the manual baseline because the extension's build configuration turns on a debug thread info option. A small, explainable difference.
One more call: nrfconnect_list_connected_devices. It returned none, because no board was attached, and said so plainly instead of inventing a device. Tools that report the world as it is are tools you can build a workflow on.
Why this matters
None of the individual tricks is magic. The value is in what the combination removes.
Answers with an address. The hosted server searches Nordic's documentation with official pages ranked above forum threads, and serves the Kconfig data of the real SDK. The assistant starts from the manual for your version, not the internet's average memory of Zephyr. When it names a symbol, that symbol was looked up, not imagined.
State instead of archaeology. The extension knows your applications, build configurations and connected boards. Nordic's stated reason for feeding that context to the assistant: a build error can be handed over directly, instead of the assistant hunting your disk for the right log file. Our test supports it: describe a build and you get its board, SDK and domains, not a guess.
Chores become sentences, and sentences become loops. Create the build, flash it, open the console, tell me what the board printed. Four tool calls, one sentence each. You can do each by hand. The point is that the assistant can do them while you read the results, and again after a fix, without you re-performing the ritual.
The field joins the conversation. The same myNordic sign-in reaches nRF Cloud observability data: the versions and logs of devices you have already shipped. Fleet questions and code questions can live in one place. Our test had no fleet, so count this as documented rather than demonstrated.
Hardware skills, when the board is on the desk. Power profiling is the ground truth of every low power argument in embedded work, and it usually needs its own tool, cable and afternoon. Nordic has written it as a skill: the assistant drives the Power Profiler Kit II, captures consumption over time, and looks for anomalies or compares it with a reference pattern. The GDB skill does the same for a debug session. Both are documented; neither was demonstrated here, because no hardware was attached. When they work as described, they close the loop between advice and measurement, which makes them the strongest part of this story.
The honest limits
Here is the other side, in the same detail.
It is young. The documentation calls the server pre-production, and DevZone carries reports of "Client Not Registered" errors from the sign-in flow. Adopt it like any young tool: tested on a sample before it touches a release build.
You bring the assistant. Nordic ships the servers, not the model. Copilot, Claude or Cursor, and whatever subscription each needs, are yours to arrange.
Heavy work can fall over. Our extension host died twice during a 3.1 GB SDK install on a small VM. On a normal machine that path is a one-time event. These tools act on your real environment, with real consequences: precisely why they are worth having, and worth supervising.
No hardware, no hardware claims. Everything here was verified up to the edge of the desk: installs, configuration, tool calls, builds. Flashing, debugging, serial, RTT and the power profiling skill are documented by Nordic, not demonstrated here: the VM has no desk with a DK on it.
And the oldest limit of all. An assistant's code is a draft until it builds, and a rumour until it runs on the board. What changed is that the assistant can now be held to that standard, in the same conversation: build it, flash it, read the console, show me. Trust still gets earned the embedded way, just faster, with receipts.
Quick start
- Install VS Code and the nRF Connect for VS Code Extension Pack, and sign your assistant in (GitHub, for Copilot).
- Create a free myNordic account, put the
mcp.jsonfrom this post in your project's.vscodefolder, start the servers, and click Allow when the hosted server asks. - Open a real application and ask your assistant for one ordinary thing, end to end: create a build for your board, flash it, and read the serial output back to you.
If you are learning embedded systems and you want the habits this tooling rewards, real projects, real builds, evidence over opinion, that is how Bit to Board teaches. Every course builds one complete product on real hardware. Start with the courses and pick the project that matches where you want to go.
One email when a new Guide or course lands. Nothing else.

