# CircuitTwin

> CircuitTwin is a freemium MCP server for hardware testing. Run unmodified firmware on digital twins of MCU boards and read console output. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** Web, CLI, API, Linux, macOS, Windows
- **Website:** https://circuittwin.ai/docs/agents
- **Repository:** https://github.com/circuittwin/mcp
- **MCP Registry name:** ai.circuittwin/circuittwin
- **Categories:** [hardware testing](https://ai-powered.com/categories/hardware-testing)
- **Listing updated:** 2026-11-29

## About

CircuitTwin lets an AI client hand firmware images to simulated microcontroller boards and get back the serial console and a pass or fail verdict. The hosted server works over Streamable HTTP with OAuth sign-in, so clients such as Claude, ChatGPT, Gemini or Cursor can connect without installing anything. A local npm package is also available that can drive a local ct binary for ELF runs.

Access is scoped to one workspace. A read-only scope covers reading boards and runs, while a second scope adds firmware runs and twin generation. Board-edit tools require write scope and an explicit confirmation flag, and agent tokens can be issued with minimal scopes and an expiry.

The product suits embedded firmware teams that want to test code before hardware is available, and developers who want coding agents to run firmware checks as part of their workflow.

## Features

- **Hosted MCP endpoint:** Connect over Streamable HTTP with OAuth sign-in and no local download.
- **Firmware run verdicts:** Runs return the console output along with a pass, fail or inconclusive verdict.
- **Scoped workspace access:** OAuth grants read-only or run-and-generate access to a single workspace.
- **Read-only board safety:** Read and run tools leave saved boards untouched; edits need write scope and confirmation.
- **Scriptable JSON CLI:** The ct command prints JSON with stable exit codes for automation pipelines.
- **Hosted test suites:** Run hosted test suites through the ct cloud commands.

## Good for

- Run firmware images against a simulated MCU board from a coding agent
- Check that embedded firmware boots and prints the expected console output in CI
- Build digital twins of components from vendor datasheets
- Give a team shared simulation capacity for regression testing firmware

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http circuittwin https://app.circuittwin.ai/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "circuittwin": {
      "type": "http",
      "url": "https://app.circuittwin.ai/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://app.circuittwin.ai/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "circuittwin": {
      "url": "https://app.circuittwin.ai/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "circuittwin": {
      "type": "http",
      "url": "https://app.circuittwin.ai/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://app.circuittwin.ai/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add circuittwin --url https://app.circuittwin.ai/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.circuittwin]
url = "https://app.circuittwin.ai/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "circuittwin": {
      "httpUrl": "https://app.circuittwin.ai/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http circuittwin https://app.circuittwin.ai/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "circuittwin": {
      "serverUrl": "https://app.circuittwin.ai/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "circuittwin": {
      "url": "https://app.circuittwin.ai/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "circuittwin": {
      "type": "streamableHttp",
      "url": "https://app.circuittwin.ai/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "circuittwin": {
      "url": "https://app.circuittwin.ai/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "circuittwin": {
      "url": "https://app.circuittwin.ai/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "circuittwin": {
      "url": "https://app.circuittwin.ai/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "circuittwin": {
      "url": "https://app.circuittwin.ai/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://app.circuittwin.ai/mcp
```

Enter a Name (for example "CircuitTwin"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "circuittwin": {
      "type": "http",
      "url": "https://app.circuittwin.ai/mcp"
    }
  }
}
```

## FAQ

### Do I need to install anything to use the hosted server?

No. You can point an MCP client at the hosted endpoint and sign in once with OAuth.

### Do simulation runs use credits?

No. Runs, scenes and suites do not spend generation credits, though test-matrix cells count against the plan's weekly allowance.

### What does building a new twin cost?

Each twin built from vendor documents counts as one new twin against the plan's weekly allowance.

### Can an agent change my saved boards?

Only with write scope, and board-edit tools also require an explicit confirm flag.

### How do I add CircuitTwin to Claude Code?

Run this command in your terminal: claude mcp add --transport http circuittwin https://app.circuittwin.ai/mcp

### What are the best alternatives to CircuitTwin?

The closest alternatives to CircuitTwin are Plotune, uvcpipe, Qidi Printer MCP, xusbcan and AI LedParser.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Plotune](https://ai-powered.com/mcp/plotune): Plotune is an MCP server for analytics and data.
- [uvcpipe](https://ai-powered.com/mcp/uvcpipe): uvcpipe is a freemium MCP server for hardware testing.
- [Qidi Printer MCP](https://ai-powered.com/mcp/qidi-printer-mcp): Qidi Printer MCP is an open-source MCP server for hardware testing.
- [xusbcan](https://ai-powered.com/mcp/xusbcan): xusbcan is an open-source MCP server for hardware testing.
- [AI LedParser](https://ai-powered.com/mcp/ai-ledparser-2): AI LedParser is an MCP server for hardware testing.

---
Source: https://ai-powered.com/mcp/circuittwin
