Skip to main content
Glama
QNX Developer Assistant

QNX Developer Assistant

QNX Developer Assistant

An MCP server that lets an AI coding agent build, deploy, run and observe software on QNX SDP 8.0 using the real QNX tooling. It is aimed at newcomers: students, early-career developers, and people arriving from FreeRTOS or Zephyr.

Status: work in progress. Built during the QNX Global Hackathon (Nov 2 to Dec 15, 2026). The command runner, tool registry, stdio server and the qnx_doctor tool exist and are tested; the other tools below are planned. See Architecture.md and Changelog.md.

Tools

Six tools in the default core toolset, each calling real QNX tooling:

Tool

Status

Calls

Purpose

qnx_doctor

built (skeleton)

SDP environment, qcc, make, ssh

Diagnose the host, SDP and target; print labelled fix commands, never change anything

qnx_build

planned

make, qcc

Build for x86_64 or aarch64le with a compact error summary

qnx_run

planned

ssh, chmod, the built binary

Deploy to the target, run, return output and exit code

qnx_processes

planned

pidin

List processes and explain QNX thread states

qnx_logs

planned

slog2info

Filtered log triage

qnx_new_project

planned

qcc

Start from QNX-specific templates (message passing, resource manager)

Per-tool pages are generated from the tool specs in docs/tool-reference/.

Related MCP server: cpp-analysis-mcp

Requirements

  • QNX SDP 8.0, tested on 8.0.0, installed with the free QNX Everywhere license. This project never bundles QNX software or documentation. The SDP is found at QNX_SDP_ROOT, or ~/qnx800 by default.

  • A QEMU target running QNX 8.0, reachable over SSH with key authentication through a host alias (default qnx-qemu, or set QNX_TARGET_ALIAS). The alias used in testing:

    Host qnx-qemu
        HostName 127.0.0.1
        Port 2222
        User root
        MACs hmac-sha2-256
        IdentityFile <path to your key>
        IdentitiesOnly yes

    MACs hmac-sha2-256 is required with Windows OpenSSH against the QNX 8.0.0 sshd (without it the connection fails with "Corrupted MAC on input").

  • Python 3.11 or later. Tested on Windows 11 with Python 3.13. Linux is supported by design; the unit tests also run in CI on Linux but the tool has not been run against a target from Linux yet.

Install and connect

python -m venv <somewhere outside synced folders>
<venv>\Scripts\python -m pip install -e ".[dev]"

Connect it to Claude Code (tested with 2.1.332 on Windows) using the absolute path of that Python:

claude mcp add qnx-developer-assistant -- <venv>\Scripts\python.exe -m qnx_dev_assistant

Or use a workspace .mcp.json, which Claude Code and GitHub Copilot Chat in VS Code both read:

{
  "mcpServers": {
    "qnx-developer-assistant": {
      "type": "stdio",
      "command": "<venv>\\Scripts\\python.exe",
      "args": ["-m", "qnx_dev_assistant"]
    }
  }
}

Then ask the agent to run qnx_doctor. The Claude Code CLI asks for approval of project servers in an interactive session first.

Tested by the author: Claude Code (CLI and the VS Code extension, both 2.1.332) and GitHub Copilot Chat in VS Code 1.148.0, using the workspace .mcp.json above: the doctor ran and returned a healthy result, and with a bad setting it returned the error and the valid values. The older .vscode/mcp.json format (servers key) was tried with Copilot Chat and the tools did not appear. Cursor and other clients are not tested and not claimed.

Try it without an AI account

The MCP Inspector CLI can call the tools directly (tested with Inspector 2.5.0):

npx @modelcontextprotocol/inspector@2.5.0 --cli <venv>\Scripts\qnx-dev-assistant.exe --method tools/list
npx @modelcontextprotocol/inspector@2.5.0 --cli <venv>\Scripts\qnx-dev-assistant.exe --method tools/call --tool-name qnx_doctor

Configuration (environment variables)

Variable

Meaning

QNX_TOOLSETS

Comma list of toolsets (default core; all and default work)

QNX_EXCLUDE_TOOLS

Comma list of tool names to leave out

QNX_MAX_SAFETY

observe, build, deploy (default) or destructive; tools above it are not registered

QNX_SDP_ROOT, QNX_TARGET_ALIAS

SDP install folder; ssh host alias of the target

A bad value never fails silently: the server starts in a degraded mode that exposes only qnx_doctor, which names the error and the valid choices. qnx-dev-assistant --check and --list-toolsets show the same without starting the server.

Tests

python -m pytest                     # unit tests; replays real captured output, no SDP or target needed
QNX_RUN_INTEGRATION=1 python -m pytest   # also runs the live doctor test against your running target

Tests that need a real SDP skip themselves when none is installed.

Evidence of QNX use

Tool

Code

QNX commands

Real captured output

qnx_doctor

tools/core/doctor.py, qnx/sdp_env.py, qnx/ssh.py

qnxsdp-env then qcc, make; ssh to the target

tests/fixtures/target-basic.json: uname -a reports QNX qemu-qnx800-x86_64 8.0.0 ... x86pc x86_64, plus pidin, slog2info, df, mount

More rows are added as tools are built.

About the use of AI

This project was developed with substantial assistance from Claude (Anthropic) through Claude Code. The author directed the design, reviewed the work and takes responsibility for it.

License

Apache License 2.0. See LICENSE and NOTICE.

Available Tools

1 tool
qnx_doctorA
Read-onlyIdempotent

Check the QNX setup (SDP install, ssh key and alias, target reachable) and say what to fix. Run it first, and whenever a QNX tool fails. Reads only; prints fix commands, never changes anything.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 1 tool

    Disambiguation5/5

    There is only one tool, so there is no possibility of confusing it with another. Its purpose (read-only diagnostic check of the QNX setup) is stated explicitly and unambiguously.

    Naming Consistency4/5

    The single name qnx_doctor is lowercase snake_case with a clear qnx_ prefix, which would scale predictably if more tools were added. With only one tool, actual pattern consistency across the set cannot be demonstrated, keeping it just short of a 5.

    Tool Count2/5

    A server billed as a 'QNX Developer Assistant' exposes exactly one read-only diagnostic tool. That is far too thin for the apparent scope; a doctor command is a support utility, not a developer toolkit.

    Completeness1/5

    The surface offers no build, deploy, run, log-inspection, or target-management operations — only a pre-flight check. Agents hitting a real QNX workflow would immediately run out of tools, since even the fixes the doctor prints must be executed outside the server.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to detect development environments, install missing tools, scan local code projects, and generate visual reports.
      11 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI coding agents to test C++ code by running static analysis, sanitizers (ASan, TSan, LSan, UBSan), and performance profiling through eight MCP tools.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to create isolated Docker runtimes, execute commands, manage workspace files, drive a headed browser, and retrieve artifacts through eight semantic MCP tools, with progressive capability discovery and explicit sandbox lifecycle.
      Apache 2.0
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI coding agents to discover installed host compilers, execute builds in isolated child environments with timeout enforcement, and convert noisy ANSI-laden compiler logs from Python, Rust, C/C++, Node, and Go toolchains into clean structured JSON diagnostics. It also reports toolchain readiness so agents can avoid blind invocations of missing compilers.
      4
      MIT