# DeviceChain

MCP server for Claude Code that connects your AI assistant to the DeviceChain IoT platform for managing devices and telemetry.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 8 repo stars
- Author: devicechain-io
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/devicechain-io/devicechain/tree/HEAD/backend/services/mcp
- Updated: 2026-11-16
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/devicechain

## What it does

DeviceChain provides tools to interact with a self-hosted IoT instance directly from your development environment. The server handles telemetry, triggers rules, and sends commands back to connected hardware. Local bootstrap requires Docker, `kubectl`, `kind`, and OpenTofu on your `PATH`, along with the `dcctl` utility.

The platform processes data from MQTT, HTTP, Sparkplug B, LwM2M, and LoRaWAN networks. It features built-in multi-tenancy and dashboard capabilities without device caps.

## Requirements
- Needs: Docker
- Remote server: `https://{host}/api/mcp`

## Install

### Claude Code (native platform)

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Platform CLI: remote server**
```bash
claude mcp add --transport http mcp https://{host}/api/mcp
```

### Codex

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Platform CLI: remote server**
```bash
codex mcp add mcp --url https://{host}/api/mcp
```

### Cursor

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp": {
            "url": "https://{host}/api/mcp"
        }
    }
}
```

### GitHub Copilot

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp": {
            "type": "http",
            "url": "https://{host}/api/mcp"
        }
    }
}
```

### Gemini CLI

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Platform CLI: remote server**
```bash
gemini mcp add -t http mcp https://{host}/api/mcp
```

## When to use it
- fetch telemetry from devices
- register a new device in the system
- create a rule for incoming data
- check the execution status of a command

## Example prompts
- show device telemetry through DeviceChain
- create a demo tenant in DeviceChain
- send a command to a device via DeviceChain

## Similar
- [mqtt-development](https://affpapa.org/en/nevibecode/skills/mqtt-development.md) — skill · 1100 installs
- [mqtt-expert](https://affpapa.org/en/nevibecode/agents/mqtt-expert.md) — subagent · ★ 1029 repo stars
- [dxpert.ai — free UNS tools (no API key)](https://affpapa.org/en/nevibecode/mcp/dxpertai-free-uns-tools-no-api-key.md) — MCP server
- [domain-iot](https://affpapa.org/en/nevibecode/skills/domain-iot.md) — skill · 3100 installs
- [iot-engineer](https://affpapa.org/en/nevibecode/agents/iot-engineer.md) — subagent · 238 installs
- [embedded-iot](https://affpapa.org/en/nevibecode/skills/embedded-iot.md) — skill · 212 installs

---
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
