Skip to main content
Glama

Zephyr MCP Server

by hakehuang
Apache 2.0

Zephyr MCP Server

A Microcontroller Programming Server for building and flashing Zephyr projects.

Requirements

  • Python 3.6+
  • West tool (Zephyr RTOS)
  • Flask (will be installed via requirements.txt)

Installation

  1. Clone this repository
  2. Install dependencies: pip install -r requirements.txt

Usage

  1. Run the server: python server.py
  2. Send POST requests to:
    • /build - Build a Zephyr project
      • Parameters: project_path (required), board (optional, default: native_posix)
    • /flash - Flash a built Zephyr project
      • Parameters: project_path (required)

Example Requests

# Build curl -X POST -H "Content-Type: application/json" -d '{"project_path":"/path/to/zephyr_project"}' http://localhost:5000/build # Flash curl -X POST -H "Content-Type: application/json" -d '{"project_path":"/path/to/zephyr_project"}' http://localhost:5000/flash

Notes

  • Make sure Zephyr environment is properly set up before using this server
  • The server must have access to the west tool and Zephyr SDK
-
security - not tested
A
license - permissive license
-
quality - not tested

A lightweight server that simplifies building and flashing Zephyr RTOS projects through a REST API, allowing remote control of the microcontroller programming workflow.

  1. Requirements
    1. Installation
      1. Usage
        1. Example Requests
          1. Notes

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              A Python-based server allowing seamless integration with JIRA for managing and interacting with projects through custom APIs.
              Last updated -
              3
              Python
              Apache 2.0
              • Apple
              • Linux
            • A
              security
              A
              license
              A
              quality
              This server provides a convenient API for interacting with Azure DevOps services, enabling AI assistants and other tools to manage work items, code repositories, boards, sprints, and more. Built with the Model Context Protocol, it provides a standardized interface for communicating with Azure DevOps
              Last updated -
              96
              234
              41
              TypeScript
              MIT License
            • A
              security
              A
              license
              A
              quality
              A server that provides both comprehensive API documentation and direct robot control capabilities for Opentrons Flex and OT-2 robots, enabling users to manage protocols, control runs, and monitor robot health through natural language.
              Last updated -
              14
              1,206
              1
              JavaScript
              MIT License
              • Apple
            • -
              security
              A
              license
              -
              quality
              This project builds a read-only MCP server. For full read, write, update, delete, and action capabilities and a simplified setup, check out our free CData MCP Server for Zoho Projects (beta): https://www.cdata.com/download/download.aspx?sku=PZZK-V&type=beta
              Last updated -
              MIT License
              • Apple
              • Linux

            View all related MCP servers

            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/hakehuang/zephyr_mcp'

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