mcp-zephyr

v1.1.0
mcp-zephyr Checked 2 days ago Published 1 year ago

MCP server for analyzing Zephyr/West workspace directories and verifying Kconfig options

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

analyze_workspace

Analyze a West workspace directory for Zephyr/NCS components

ParameterTypeDescription
pathstringPath to the West workspace directory (containing .west folder)
westPathstringOptional: Custom path to the .west directory (defaults to path/.west)

get_zephyr_version

Get Zephyr RTOS version from a workspace

ParameterTypeDescription
pathstringPath to the West workspace directory (optional if default workspace path is set)
westPathstringOptional: Custom path to the .west directory (defaults to path/.west)

list_modules

List all modules in a West workspace

ParameterTypeDescription
pathstringPath to the West workspace directory (optional if default workspace path is set)
westPathstringOptional: Custom path to the .west directory (defaults to path/.west)

get_manifest_info

Get West manifest information

ParameterTypeDescription
pathstringPath to the West workspace directory (optional if default workspace path is set)
westPathstringOptional: Custom path to the .west directory (defaults to path/.west)

list_boards

List available boards in the workspace

ParameterTypeDescription
pathstringPath to the West workspace directory (optional if default workspace path is set)
westPathstringOptional: Custom path to the .west directory (defaults to path/.west)

get_build_info

Get CMake and Kconfig build system information

ParameterTypeDescription
pathstringPath to the West workspace directory (optional if default workspace path is set)
westPathstringOptional: Custom path to the .west directory (defaults to path/.west)

verify_kconfigs

Verify if specified Kconfig options are available in the workspace using LLM-powered analysis

ParameterTypeDescription
kconfigs *arrayList of Kconfig options to verify (e.g., ["BT_PERIPHERAL", "BT_NUS", "BT_AUDIO"])
pathstringPath to the West workspace directory (optional if default workspace path is set)
westPathstringOptional: Custom path to the .west directory (defaults to path/.west)

set_workspace_path

Set the default West workspace path for all operations

ParameterTypeDescription
path *stringPath to the West workspace directory (containing .west folder)

get_workspace_path

Get the currently configured default West workspace path