Repository avatar
Communication
v1.0.0
active

snipchat

io.github.zyc945/snipchat

Generate authentic chat mockups across 19 platforms (WhatsApp, iMessage, WeChat, Slack, Discord).

Documentation

Snip.Chat MCP, CLI & Agent Skill

Turn structured chat JSON into authentic browser-rendered chat mockups across 19 messaging, social, workplace, and AI platforms — without diffusion text garbling or Figma templates.

Snip.Chat for AI Agents

  • Remote MCP Endpoint (Streamable HTTP): https://snip.chat/mcp
  • MCP Server Card: https://snip.chat/.well-known/mcp/server-card.json
  • Agent Skill: https://snip.chat/skill.md
  • Documentation & Live Editor: https://snip.chat/agents/ · 中文文档

This public repository hosts the open-source MCP stdio bridge, CLI client, Agent Skill (SKILL.md), and registry manifests (server.json, glama.json) for the hosted Snip.Chat service.


Quick Start

1. Remote MCP (Recommended — Zero Install, No API Key Required)

Add https://snip.chat/mcp directly to Claude Desktop, Cursor, Windsurf, VS Code, or any Streamable HTTP MCP client:

{
  "mcpServers": {
    "snipchat": {
      "url": "https://snip.chat/mcp"
    }
  }
}

list_platforms and create_chat_link work immediately with no authentication. Only render_chat_image (direct headless PNG output) requires an optional Bearer token (sc_live_...) created at snip.chat → Account → AI Agent & API:

{
  "mcpServers": {
    "snipchat": {
      "url": "https://snip.chat/mcp",
      "headers": {
        "Authorization": "Bearer sc_live_your_key_here"
      }
    }
  }
}

2. Stdio Bridge (For Stdio-Only MCP Clients)

Requires Node.js >= 18 and npm. This installs the bridge from a pinned public GitHub revision. The first run downloads the package, and npm caches it for later runs.

{
  "mcpServers": {
    "snipchat": {
      "command": "npx",
      "args": [
        "--yes",
        "--package=https://codeload.github.com/zyc945/snipchat-mcp/tar.gz/d0793837831c8102bd74911904bca114426937bb",
        "snipchat-mcp"
      ]
    }
  }
}

Test this same bridge in a terminal:

npx --yes --package=https://codeload.github.com/zyc945/snipchat-mcp/tar.gz/d0793837831c8102bd74911904bca114426937bb snipchat-mcp

The process waits for newline-delimited MCP JSON-RPC requests on standard input. A working installation answers initialize and tools/list; create_chat_link also works without an API key. Use the Remote MCP configuration above for clients that support Streamable HTTP.

Optional environment variables:

  • SNIPCHAT_API_KEY: Personal API key (sc_live_...) for render_chat_image
  • SNIPCHAT_MCP_URL: Override remote endpoint (defaults to https://snip.chat/mcp)

3. Install as an Agent Skill (Claude Code / Cursor / Codex)

npx skills add zyc945/snipchat-mcp

Or point your agent directly to https://snip.chat/skill.md.

4. CLI Usage

# List all 19 supported platforms
node cli/snipchat.mjs platforms

# Mode 1 (default, free, no API key): create a 7-day editable Snip.Chat link
node cli/snipchat.mjs draft \
  --platform slack \
  --dark \
  --contact "Maya" \
  --script $'Maya: Remote MCP is live at https://snip.chat/mcp\nMe: Just tested create_chat_link from Claude!'

# Mode 1 offline (zero network): stateless #agent= URL
node cli/snipchat.mjs draft --inline --platform imessage --script $'Alex: Ready?\nMe: On my way!'

# Mode 2 (requires SNIPCHAT_API_KEY): render PNG directly to disk
SNIPCHAT_API_KEY=sc_live_... node cli/snipchat.mjs render \
  --platform whatsapp \
  --contact "Sarah" \
  --script $'Sarah: Did the launch go live?\nMe: Yep, 100% rolled out!' \
  -o chat.png

Available MCP Tools

ToolAuthPurpose
list_platformsNoneReturn all 19 supported platforms, free/Pro status, and platform-specific message types & settings.
create_chat_link (default)NoneLowest-cost default mode: turn a dialogue script or structured JSON into a 7-day editable Snip.Chat link (plus stateless #agent= fallback) for instant browser inspection & 2× HD export.
render_chat_imageOptional Bearer sc_live_...Render a high-resolution PNG headlessly and return both the image and an editUrl for optional human tweaks.

Supported Platforms (19)

  • Free Tier (8 platforms — free 2× HD web export & Mode 1 links): whatsapp, telegram, wechat (red packets, transfers, voice transcripts, call records), imessage, instagram, messenger, slack, discord
  • Pro / 7-Day Pass (11 platforms — preview & Mode 1 draft links work anytime; export/render unlocked with $2.99 7-Day Pass or Pro): snapchat, tiktok, tinder, qq, line, x, chatgpt, claude, gemini, teams, linkedin

Snip.Chat 19 Platforms


License

MIT © Snip.Chat

No installation packages available.

Remote

streamable-http
https://snip.chat/mcp