# mcp

Connects Claude Code to ESP32 microcontrollers via jettyd. Lets AI agents poll sensor readings, trigger relays, and load automation rules.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: jettydiot
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/jettydiot/jettyd-mcp
- Updated: 2026-03-25
- HTML: https://affpapa.org/en/nevibecode/mcp/jettydiot-mcp

## What it does

This server runs through `npx -y @jettyd/mcp` and bridges MCP clients with ESP32 hardware fleets. It supplies the agent with five tools: `list_devices`, `read_device`, `send_command`, `get_telemetry`, and `push_rules`.

The assistant can check connected hardware, read immediate sensor values, and fetch telemetry history over defined intervals. It also transmits direct commands to outputs such as relays or LEDs and installs JettyScript automation routines directly on the controllers.

Running the server requires a valid `JETTYD_API_KEY` from `jettyd.com`, supplied through the client environment variables.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `JETTYD_API_KEY`, `JETTYD_BASE_URL` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env JETTYD_API_KEY=<JETTYD_API_KEY> --env JETTYD_BASE_URL=<JETTYD_BASE_URL> --transport stdio jettydiot-mcp -- npx -y @jettyd/mcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add jettydiot-mcp --env JETTYD_API_KEY=<JETTYD_API_KEY> --env JETTYD_BASE_URL=<JETTYD_BASE_URL> -- npx -y @jettyd/mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "jettydiot-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@jettyd/mcp"
            ],
            "env": {
                "JETTYD_API_KEY": "<JETTYD_API_KEY>",
                "JETTYD_BASE_URL": "<JETTYD_BASE_URL>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "jettydiot-mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@jettyd/mcp"
            ],
            "env": {
                "JETTYD_API_KEY": "<JETTYD_API_KEY>",
                "JETTYD_BASE_URL": "<JETTYD_BASE_URL>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e JETTYD_API_KEY=<JETTYD_API_KEY> -e JETTYD_BASE_URL=<JETTYD_BASE_URL> jettydiot-mcp npx -y @jettyd/mcp
```
Replace <…> with your own values

## When to use it
- retrieve live temperature and humidity metrics from an ESP32
- trigger relays or LED indicators with duration parameters
- inspect historical telemetry trends across recent hours
- deploy JettyScript automation routines to connected hardware

## Example prompts
- Check the current greenhouse temperature on the sensor
- Turn on the irrigation relay for 30 seconds
- Fetch humidity telemetry data for the last 24 hours

## Similar
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89899
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119231
- [AIHawk](https://affpapa.org/en/nevibecode/mcp/aihawk.md) — MCP server · ★ 32260
- [Skyvern](https://affpapa.org/en/nevibecode/mcp/skyvern.md) — MCP server · ★ 23283
- [SeleniumBase MCP](https://affpapa.org/en/nevibecode/mcp/seleniumbase-mcp.md) — MCP server · ★ 13181
- [Inbox Zero](https://affpapa.org/en/nevibecode/mcp/inbox-zero.md) — MCP server · ★ 12826

## Other versions with the same name
- [mcp · kubeshark](https://affpapa.org/en/nevibecode/mcp/kubeshark-mcp.md) — ★ 12110
- [mcp · butterbase-ai](https://affpapa.org/en/nevibecode/mcp/butterbase-ai-mcp.md) — ★ 3031
- [mcp · medplum](https://affpapa.org/en/nevibecode/mcp/mcp.md) — ★ 2766
- [mcp · sceneview](https://affpapa.org/en/nevibecode/mcp/sceneview-mcp.md) — ★ 1349
- [mcp · buoy-gg](https://affpapa.org/en/nevibecode/mcp/buoy-gg-mcp.md) — ★ 691

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
