EB

esnark/blowback

Browser automation

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

23 stars 6 forks 품질 63 트렌드 0

Frontend dev 환경을 위한 MCP 서버 (이전 vite-mcp-server라고 함)

개요

Vite의 MCP 서버는 이제 Blowback Blowback이 다양한 FE 개발 서버를 지원하는 것을 목표로, 뿐만 아니라 Vite Claude Desktop 및 Cursor와 같은 AI 도구를 사용하여 FE 개발 서버를 통합하는 모델 Context Protocol (MCP) 서버. 또는 json 구성을 사용: - 클로드 코드: {PROJECT ROOT}/.mcp.json - 커서: {PROJECT ROOT}/.cursor/mcp.json - PROJECT ROOT: 프로젝트 루트 경로 (선택 사항, 기본값으로 현재 작업 디렉토리) - ENABLE BASE64: 도구 응답에 base64 인코딩된 이미지 포함 (기본값: false / 활성화시 토큰 사용 및 컨텍스트 창에 영향을 미칩니다) - MCP 서버와 로컬 개발 서버 통합 - MCP를 통해 브라우저 콘솔 로그 캡처 및 전송 - 체크포인트 기반 로그 관리 - 스크린 샷 캡처 및 SQLite 데이터베이스 관리 - HMR (핫 모듈 교체) 이벤트 모니터링 - 브라우저 자동화 및 요소 검사 init prompt는 AI Assistants에 대한 지침을 제공합니다. MCP 신속한 기능을 지원하지 않습니다 ...

개요(AI 번역)

라이트 MCP 서버는 이제 Blowback입니다. · Blowback는 다양한 FE 개발 서버를 지원하는 것을 목표로, 뿐만 아니라 Vite

Claude Desktop 및 Cursor와 같은 AI 도구를 사용하여 FE 개발 서버를 통합하는 모델 Context Protocol (MCP) 서버.

사용 방법

명령 (Claude 부호):

또는 json 윤곽을 사용하십시오:

  • 클로드 코드: {PROJECT_ROOT}/.mcp.json
  • 커서: {PROJECT_ROOT}/.cursor/mcp.json

환경 변수

  • PROJECT_ROOT: 프로젝트 루트 경로 (옵션, 기본값은 현재 작업 디렉토리)
  • ENABLE_BASE64: base64 인코딩된 이미지 도구 응답 (기본값: false / 에 영향을 토큰 사용 및 컨텍스트 창 활성화시)

키 기능

  • MCP 서버와 로컬 개발 서버 통합
  • 브라우저 콘솔 로그 캡처 및 MCP를 통해 전송
  • Checkpoint 기반 로그 관리
  • 스크린샷 캡처 및 SQLite 데이터베이스 관리
  • HMR (Hot Module Replacement) 이벤트 모니터링
  • 브라우저 자동화 및 요소 검사

init Prompt에 대한 의견

init prompt는 다음의 기능을 효과적으로 사용하는 방법에 대한 AI 조수에 대한 지도를 제공합니다:

Cursor Chat는 MCP 프롬프트 기능을 지원하지 않습니다. 이 기능은 사용할 수 없습니다. (Claude Code 권장)

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Blowback

Vite MCP Server is now Blowback

Blowback aims to support various FE development servers, not only Vite

A Model Context Protocol (MCP) server that integrates FE development servers with AI tools like Claude Desktop and Cursor.

How to Use

Command (Claude Code):

claude mcp add blowback -s project -e PROJECT_ROOT=/path/to/your/project -- npx -y blowback-context

Or use json configuration:

  • Claude Code: {PROJECT_ROOT}/.mcp.json
  • Cursor: {PROJECT_ROOT}/.cursor/mcp.json
{
  "mcpServers": {
    "blowback": {
      "command": "npx",
      "args": ["-y", "blowback-context"],
      "env": {
        "PROJECT_ROOT": "/path/to/your/project"
      }
    }
  }
}

Environment Variables

  • PROJECT_ROOT: Project root path (optional, defaults to current working directory)
  • ENABLE_BASE64: Include base64 encoded images in tool responses (default: false / affects token usage and context window when enabled)

Key Features

  • Integration of local development server with MCP server
  • Browser console log capture and transmission via MCP
  • Checkpoint-based log management
  • Screenshot capture and SQLite database management
  • HMR (Hot Module Replacement) event monitoring
  • Browser automation and element inspection

init Prompt

The init prompt provides guidance to AI assistants on how to effectively use the following features:

Cursor Chat does not support MCP prompt functionality, so this feature is not available. (Claude Code recommended) If needed, manually input the following prompt:

You can use checkpoint features by inserting `` into the head to create a named snapshot of the current state. The data-id attribute is a unique identifier for the checkpoint.

Console logs generated in the browser while a checkpoint is active are tagged with the checkpoint ID and can be queried individually.

Note: In some development environments, hot reload is triggered when files are saved, so carefully consider the sequence between meta tag changes and the changes you want to observe. Make sure to set the checkpoint meta tag before making the changes you want to track.

You can use the capture-screenshot tool to take screenshots. The captured screenshots are stored in the @.mcp_screenshot/ directory.

Tools

HMR Tools

Tool Name Description
get-hmr-events Retrieves recent HMR events
check-hmr-status Checks the HMR status

Note: HMR connection is optional, not required. HMR event monitoring starts automatically when the browser is launched.

Browser Tools

Tool Name Description
start-browser Starts a browser instance and navigates to the development server. HMR monitoring starts automatically
capture-screenshot Captures a screenshot of the current page or a specific element. Returns screenshot ID and resource URI
GitHub에서 전체 README 보기

설치

npx -y blowback-context
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "blowback": { "command": "npx", "args": ["-y", "blowback-context"], "env": { "PROJECT_ROOT": "/path/to/your/project" } } } }