npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@itapi-core/mcp-mermaid

v1.0.0

Published

KR: Mermaid 다이어그램 텍스트를 이미지로 변환하는 MCP 서버. EN: MCP server to convert Mermaid diagram text into images over stdio and Streamable HTTP.

Downloads

88

Readme

Mermaid MCP Server (mcp-mermaid)

Mermaid 다이어그램 텍스트 코드를 입력받아, 마크다운이나 웹에서 즉시 볼 수 있는 정적 이미지(URL 및 Base64)로 변환해 주는 Model Context Protocol (MCP) 서버입니다.

기능 (MCP Tools)

  • mermaid_generate_url: Mermaid 다이어그램 텍스트를 입력받아 브라우저나 마크다운에서 볼 수 있는 단축 URL 반환
  • mermaid_generate_base64: 차트 이미지를 Base64 인코딩된 데이터 URI 형태로 직접 반환

참고: 모든 도구와 파라미터에 대한 설명은 LLM이 맥락을 완벽히 이해할 수 있도록 한국어(KR)와 영어(EN) 이중 언어로 기재되어 있습니다.

환경 변수

  • MERMAID_INK_URL: 이미지 렌더링에 사용할 Mermaid Ink 서버 URL. 사내 전용 서버 구축 시 변경 (기본값: https://mermaid.ink)
  • NODE_TLS_REJECT_UNAUTHORIZED: 사설 인증서 사용 시 0으로 설정 (기본값: 0)
  • PORT: HTTP 서버 포트 (기본값: 3000)
  • TRANSPORT: http 또는 sse 설정 시 HTTP 서버로 구동 (미설정 시 stdio)

실행 방법

로컬 실행 (npx)

{
  "mcpServers": {
    "mermaid-mcp": {
      "command": "npx",
      "args": ["-y", "mcp-mermaid"],
      "env": {
        "MERMAID_INK_URL": "https://mermaid.ink"
      }
    }
  }
}

Docker 실행 (HTTP / SSE)

cp .env.example .env
docker-compose up -d --build

이후 http://localhost:3000/mcp 엔드포인트를 통해 접근할 수 있습니다.