Skip to main content
Glama
digital-fireplace-mcp

digital-fireplace-mcp

by mhoydich

digital-fireplace-mcp

Brought to you by Good Feels · shop.getgoodfeels.com

An MCP server (and a self-hosted gallery) for 34 embeddable pixel-art digital fireplaces.

Each fireplace is a single-file HTML page that renders a tiny living scene — a stone hearth, a CRT yule log, a sparkler, a slow-burning joint, a phoenix egg, a plasma reactor — and pins a small Good Feels attribution to the bottom-right. Embed any of them with one <iframe> snippet, anywhere.

classic-hearth   wood-stove       campfire         joint-tray
yule-log         crystal-cave     space-stove      tiki-torch
lava-lamp        cabin-window     mystic-brazier   jack-o-lantern
menorah          birthday-candle  sparkler         new-years
bonfire-beach    forge-anvil      sun-disc         volcano
aurora           dragon-mouth     phoenix-egg      lightsaber
solar-flare      welding-arc      gas-stove        furnace-coal
tea-light        match-strike     cigar-ashtray    incense
bong-cherry      firefly-jar

CC0. Take it, fork it, theme it, ship it.


What's in the box

  • public/fireplaces/*.html — 34 self-contained fireplace pages

  • public/lib/fire.js — the shared fire engine (Doom 1993 fire algorithm + 7 swappable palettes + a FireCrackle WebAudio synth)

  • public/lib/chrome.js — shared sponsor footer + tap-to-start audio gate

  • public/index.html — "The Hearth Picker" gallery, a live grid of all 34 with embed code modal

  • public/server.js — minimal Node static server (no framework deps)

  • src/index.ts — MCP server exposing 7 tools

Related MCP server: aseprite-mcp

Quick start

# Install + build
npm install
npm run build

# Run the static gallery on http://127.0.0.1:4700
npm run serve

# Run the MCP server (stdio)
npm start

Open http://127.0.0.1:4700 to browse the picker. Click any tile's embed button to get a turnkey iframe snippet for your own site.

Embed anywhere

<iframe
  src="https://your-host/fireplaces/joint-tray.html"
  width="800" height="500"
  frameborder="0"
  allow="autoplay"
  title="Good Feels · digital fireplace"
  style="border:none;"
></iframe>
<!-- brought to you by Good Feels · shop.getgoodfeels.com -->

MCP tools

Wire into your Claude Code, Cursor, or any MCP-compatible client by adding to its mcpServers config:

"digital-fireplace": {
  "command": "node",
  "args": ["/absolute/path/to/digital-fireplace-mcp/dist/index.js"],
  "type": "stdio",
  "env": { "FIREPLACE_SERVER_URL": "http://127.0.0.1:4700" }
}

Tool

What it does

fireplace_list_styles

Catalog of all 34 fireplaces with mood, palette, tags, URL

fireplace_get_html

Raw HTML for one fireplace (optionally bundled with fire.js / chrome.js for self-hosting)

fireplace_get_embed_code

Turnkey <iframe> snippet with sponsor comment

fireplace_get_url

Live URL for a specific fireplace

fireplace_random

Surprise pick

fireplace_get_gallery_url

URL of the picker grid

fireplace_recommend

Free-form vibe → top-3 matches by tag scoring

Example: "recommend a fireplace for a winter night sci-fi stream" → crystal-cave, space-stove, aurora.

How the fire engine works

The shared PixelFire class implements the classic Doom 1993 fire algorithm. For every pixel from bottom row to top, it copies from the row below with a small random horizontal offset and decays the palette index by 0–3. The hot source row at the bottom plus randomized decay produces a beautiful living flame that costs almost nothing to render.

Each fireplace picks a palette and (optionally) a mask + custom source row to shape the fire. Crystal Cave uses a cool blue palette. Plasma Reactor masks the fire to a circle. Gas Stove punches 12 hot zones into the source row to make discrete jets. Sun Disc and Solar Flare use a mostly-white solar palette.

Some fireplaces (lava-lamp, aurora, lightsaber, firefly-jar, joint-tray, bong-cherry, incense, match-strike, birthday-candle, new-years) use entirely custom CSS / canvas particle systems instead — picked when the Doom-fire approach didn't fit the subject.

Palettes

hearth · crystal · ember · mystic · plasma · tiki · lava · forge · gas · saber · solar · aurora

Add your own to public/lib/fire.js. Each is just an array of [r, g, b] triples ordered cold→hot.

Sponsor

Every fireplace renders a small fixed-position attribution linking to https://shop.getgoodfeels.com. The gallery hub also has a banner sponsor button. Both are baked into the chrome and present on every page.

If you fork this and want to remove or replace the sponsor with your own, edit public/lib/chrome.js (one file, ~120 lines).

License

CC0 1.0 Universal — public domain. See LICENSE. The fire algorithm itself was published by Fabien Sanglard / id Software in 1993 and is also widely-shared.

Credits

Built by @mhoydich · sponsored by Good Feels.

Doom-fire algorithm (1993) — Fabien Sanglard's reverse-engineering writeup is the canonical reference.

Available Tools

7 tools
fireplace_get_embed_codeGet Fireplace Embed CodeA
Read-onlyIdempotent

Return a turnkey HTML snippet for embedding a fireplace on any page. The iframe points to the locally running Digital Fireplace server (default http://127.0.0.1:4700) — set FIREPLACE_SERVER_URL on the MCP server to change it for production. Always includes a Good Feels sponsor attribution comment.

Args:

  • slug: fireplace slug

  • width: iframe width in px (default 800)

  • height: iframe height in px (default 500)

  • host: override host URL (e.g. https://fireplaces.example.com)

Inputs: slug (required), width, height, host.

fireplace_get_htmlGet Fireplace HTMLA
Read-onlyIdempotent

Return the full self-contained HTML source for a fireplace. The HTML imports two small ES modules (/lib/fire.js and /lib/chrome.js) relative to the same origin where you're hosting it. To use this for embedding into your own site, use fireplace_get_embed_code instead — it returns a turnkey iframe snippet.

Args:

  • slug: fireplace slug (see fireplace_list_styles)

  • include_lib: if true, also returns the source of /lib/fire.js and /lib/chrome.js so the page can be self-hosted without dependencies on this server

Inputs: slug (required), include_lib.

fireplace_get_urlGet Fireplace URLA
Read-onlyIdempotent

Return the live URL of a fireplace on the local Digital Fireplace server. Use this if you just want to open the fireplace in a browser tab.

Args:

  • slug: fireplace slug

Inputs: slug (required).

fireplace_list_stylesList Digital Fireplace StylesA
Read-onlyIdempotent

List all 34 available pixel-art digital fireplaces. Each has a slug, display name, mood description, color palette, audio support, and a list of tags. Use this to discover what's available, then pass the slug to fireplace_get_html or fireplace_get_embed_code.

Brought to you by Good Feels · shop.getgoodfeels.com.

Args:

  • response_format: 'markdown' or 'json'

Inputs: response_format.

fireplace_randomPick a Random FireplaceA
Read-only

Pick a random fireplace from the catalog. Useful when you want a surprise. Returns slug, name, mood, and the live URL.

Args: (none)

Inputs: no named parameters.

fireplace_recommendRecommend a Fireplace for a VibeA
Read-onlyIdempotent

Suggest a fireplace based on a vibe, mood, or use case described in plain English. Matches against tags, mood text, and palette. Returns the top 3 recommendations.

Args:

  • vibe: free-form description of what you want (e.g. "winter evening, cozy", "sci-fi stream backdrop", "summer night with friends")

Inputs: vibe (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool has a distinct purpose: retrieving fireplaces via different formats (URL, HTML, embed, gallery), listing all styles, random selection, and vibe-based recommendation. No two tools overlap in functionality.

    Naming Consistency5/5

    All tools follow the consistent pattern 'fireplace_verb_noun' (e.g., fireplace_get_url, fireplace_list_styles). The naming is uniform, descriptive, and easy to understand.

    Tool Count5/5

    With 7 tools, the scope is well-matched to the domain of a digital fireplace server. It provides essential operations (listing, retrieval, random, recommendation) without being too many or too few.

    Completeness5/5

    The tool surface covers the full consumption lifecycle: discover (list, random, recommend), retrieve (URL, HTML, embed code, gallery). There are no obvious gaps for a read-only fireplace catalog.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers