Skip to main content
Glama

Taprun은 AI 에이전트를 위한 브라우저 자동화 및 웹 스크래핑 MCP 서버입니다. 사이트를 지정하면 에이전트가 페이지를 한 번 검사하여 결정론적 프로그램을 컴파일하고, 이를 영원히 재실행합니다. 런타임 시 AI 토큰 비용이 전혀 들지 않으며, 호출할 때마다 동일한 결과를 얻습니다. Claude Code, Cursor, Cline, Windsurf 및 모든 MCP 호스트와 작동합니다. 실제 Chrome(로그인 세션) 또는 헤드리스 Playwright에서 실행됩니다. 상태 계약은 조용한 실패를 포착합니다. 구조적 상태 차이(diff)는 무엇이 변경되었는지 정확히 알려줍니다. tap doctor는 데이터가 오래되기 3일 전이 아니라, 고장 즉시 이를 감지합니다.

Forge:    AI inspects the site → compiles a .tap.js program       (one-time cost)
Run:      The program executes instantly, same result every time   ($0, zero AI)
Monitor:  tap doctor checks health contracts + structural state diffs  (catches breakage)
Heal:     AI reads diagnostics and patches the program            (only when needed)

MCP는 저작 계층이고, tap.run은 실행 계층입니다. AI는 생성(일회성) 단계에만 참여합니다. 실행은 순수 코드이며, 토큰 비용이 없고 결과가 결정론적입니다. Reddit, GitHub, Hacker News, LinkedIn, Twitter, YouTube, Producthunt 등 68개 이상의 사이트에서 140개 이상의 사전 구축된 스킬을 제공하며, 어떤 URL에서든 자신만의 스킬을 생성할 수 있습니다. 단일 바이너리, 제로 의존성.

사용 사례: AI 에이전트 브라우저 자동화 · 예약된 웹 스크래핑 · 구조화된 데이터 추출 · 콘텐츠 모니터링 · 로그인 필수 사이트 자동화 · 다중 사이트 데이터 파이프라인 · 장기 실행 에이전트의 신뢰성 모니터링.

시작하기

1. 설치

npx를 통한 제로 설치(Node가 설치된 모든 머신):

npx -y @taprun/cli --version

첫 실행 시 일치하는 플랫폼 바이너리(~30MB)를 다운로드하고 캐시합니다. 이후 호출은 즉시 실행됩니다.

curl을 통한 영구 설치(macOS / Linux):

curl -fsSL https://taprun.dev/install.sh | sh

플랫폼

다운로드

macOS (Apple Silicon)

tap-macos-arm64

macOS (Intel)

tap-macos-x64

Linux

tap-linux-x64

Windows

tap-windows-x64.exe

2. AI 에이전트에 연결

Claude Code, Cursor, Windsurf 또는 모든 MCP 호환 에이전트와 작동합니다(확장 프로그램 불필요):

{ "mcpServers": { "tap": { "command": "npx", "args": ["-y", "@taprun/cli", "mcp", "start"] } } }

또는 설치된 모든 에이전트를 자동 구성합니다:

tap mcp connect

3. 실행

tap github/trending              # GitHub trending repos
tap hackernews/hot               # Hacker News front page
tap weibo/hot                    # 微博热搜
tap xiaohongshu/search --keyword "AI"  # 小红书搜索

또는 AI 에이전트에게 요청하세요:

You:   What's trending on GitHub today?
Agent: Here are today's top repos — React compiler hit 734 stars...

You:   Forge a tap for Douban top 250 movies
Agent: Done. Run `tap douban/top250` anytime — $0 per run.

선택 사항: Chrome 확장 프로그램 (로그인 필수 사이트용)

대부분의 tap은 로그인 없이 작동합니다. 세션이 필요한 사이트(샤오홍슈, 지후 등)의 경우 Chrome 웹 스토어에서 Chrome 확장 프로그램을 설치하세요.

Related MCP server: Puppeteer MCP Server

무엇을 할 수 있나요?

읽기 — 모든 웹사이트에서 데이터 추출

tap reddit/hot                   # Reddit front page
tap bilibili/trending            # Bilibili trending
tap arxiv/search --keyword "LLM" # arXiv papers

쓰기 — 모든 웹사이트 조작

tap xiaohongshu/publish --title "My Note" --images photo.jpg
tap zhihu/publish --title "My Article" --content "..."

감시 — 변경 사항 모니터링

tap watch github/trending --every 5m

구성 — Unix 파이프처럼 연결

tap github/trending | tap filter --field stars --gt 500 | tap table

생성 — AI로 새로운 자동화 생성

tap forge "get Hacker News top stories"           # BYOK Claude / GPT
tap forge https://news.ycombinator.com            # API detected — compiled without AI

자신만의 모델을 사용하세요 — Claude, OpenAI, DeepSeek 또는 로컬 Ollama / LM Studio를 포함한 모든 OpenAI 호환 엔드포인트와 작동하여 완전히 오프라인으로 생성할 수 있습니다:

tap config set ai.baseUrl http://localhost:11434/v1
tap config set ai.key ollama
tap config set ai.model llama3.1
tap forge "scrape arxiv recent papers"            # 0 bytes leave your machine

작동 원리

                        ┌─ Chrome      (your real browser sessions)
You → AI → Taprun ──────┤─ Playwright  (headless, server, CI/CD)
     compile            └─ macOS       (native desktop apps)
  1. 원하는 작업 설명 (자연어 또는 URL)

  2. AI가 .tap.js 프로그램으로 컴파일 — 일반 JavaScript, 버전 관리 가능

  3. Taprun이 프로그램을 실행 — 세 가지 런타임 중 하나에서, 영원히, $0 비용으로

성공적인 컴파일이 이루어질 때마다 다음 컴파일은 더 빨라집니다. 140개 이상의 커뮤니티 스킬 덕분에 에이전트는 이미 68개 이상의 웹사이트를 알고 있습니다.

커뮤니티 스킬

tap-skills — 140개 이상의 오픈 소스 스킬.

카테고리

예시

트렌딩

GitHub, Hacker News, Reddit, Product Hunt, Bilibili, Zhihu, Weibo, Xiaohongshu

검색

arXiv, Reddit, X, Zhihu, Weibo, Xiaohongshu, Bilibili, Medium

읽기

Zhihu 스레드, Bilibili 영상, Xiaohongshu 노트, WeRead 도서

쓰기

X 게시물, Xiaohongshu 노트, Zhihu 기사, Dev.to, LinkedIn

모니터링

가격 추적, 주식 데이터, 경쟁사 분석

tap doctor    # Health check — catches silent failures before your data goes stale
tap update    # Install / update all skills
tap list      # See everything available

Taprun 비교

Taprun

AI 브라우저 에이전트

기존 스크래퍼

실행당 AI 비용

$0 (한 번 컴파일)

실행마다 토큰 소모

무료

정확도

결정론적

실행마다 다름

결정론적

조용한 실패 감지

상태 계약 + 구조적 상태 차이

없음

없음

고장 진단

tap doctor — 변경 사항의 정확한 차이

없음

수동 점검

탐지 위험

낮음 (실제 브라우저 세션)

높음

높음

런타임

3 (Chrome + Playwright + macOS)

1

1

코드 검사 가능

.tap.js — git diff, 디버그, 버전 관리

블랙박스 / 일회성

취약한 스크립트

MCP 네이티브

예 (저작 계층만 — 실행은 토큰 제로)

아니오

아니오

보안

계층

보호

샌드박스

프로그램은 권한 없이 실행됨 — 파일, 네트워크, 시스템 접근 불가

정적 분석

CI가 사용자에게 도달하기 전에 위험한 패턴을 차단

로컬 전용

데이터, 세션, API 키는 절대 머신을 떠나지 않음

자세한 내용은 SECURITY.md를 참조하세요.

기여하기

가장 쉬운 기여 방법: 새로운 tap을 생성하세요. .tap.js 파일 하나면 충분합니다.

자세한 내용은 CONTRIBUTING.md를 참조하세요.

로드맵

  • [x] 68개 이상의 사이트에서 140개 이상의 커뮤니티 스킬

  • [x] 3가지 런타임 — Chrome, Playwright, macOS

  • [x] Unix 파이프 — tap A | tap B

  • [x] 감시 모드 — 시간 경과에 따른 변경 사항 모니터링

  • [x] Doctor — 상태 계약, 지문 차이, 고장 난 tap에 대한 자동 진단

  • [x] 원명령어 설정 — tap mcp connect로 모든 AI 에이전트 구성

  • [ ] Android 런타임

  • [ ] iOS 런타임

  • [ ] 동시성 제어 — 여러 에이전트가 공유 계정을 병렬로 운영하기 위한 결정론적 조정

지원

라이선스

Chrome 확장 프로그램 및 문서: MIT. 커뮤니티 스킬: MIT.

Star History

Star History Chart

Available Tools

11 tools
forge_draftAInspect

Load a tap into memory and optionally verify it live. Accepts a structured plan (TapAnnotation — preferred; verify runs it via the plan runtime) or legacy code (.tap.js source). When url is provided, auto-runs verification and returns {score, rows}. Without url, just stashes the draft.

Inputs: url, code, path, plan, +1 more.

forge_inspectA
Read-only
Inspect

Analyze a page for tap forging: detects framework, SSR state, APIs, and generates extraction strategies. Also use this to re-forge a broken tap — inspect the page again to find what changed. Pass probe_writes:true to discover write actions without triggering them (zero side effects).

AUTHORING PRINCIPLE: Prefer API > SSR > DOM. handle.fetch (cookie-aware) and handle.ssrState beat handle.eval(querySelectorAll); handle.find / handle.copyAll beat hand-rolled selectors. Read existing_taps first — if one already covers part of the need, compose with it inside handle.pipe rather than re-extracting.

Inputs: url, detail, probe_writes.

forge_saveA
Destructive
Inspect

Save the tap to disk as .tap.json and auto-commit to git. Accepts either a structured plan (W3C Annotation wrapping an ExecutionPlan body — preferred) or code (legacy .tap.js source, migrated to a plan on write). Falls back to code from the active forge.draft session when neither is passed. After saving, tap.run can execute it forever with zero AI.

Optional verify_examples runs the just-saved tap against the supplied examples and asserts row-shape contracts (min_rows, non_empty, max_elapsed_ms). When all examples pass, the response includes doctor (verdict from running tap.doctor on the saved tap). When any example fails, the response includes regenerated_inspect — a fresh forge.inspect on the same URL — so the agent can re-forge in one round-trip instead of three. When omitted, behavior is unchanged and the response carries doctor: "indeterminate".

Inputs: name (required), site (required), code, plan, +1 more.

inspectA
Read-only
Inspect

Inspect the current page. Use target to choose what to inspect: page (url/title/meta), dom (HTML structure), a11y (accessibility tree), element (single element detail, requires selector), network (captured traffic — auto-starts capture on first call, dumps on subsequent). Default: page.

Inputs: bodies, target, selector, url_filter.

tap_doctorA
Read-only
Inspect

Health check for taps. Runs each tap's examples against its health contract. Returns {ok, annotations[], issues[], suggestions[]}. Each annotation is a W3C Web Annotation (motivation:'assessing') with body.tap:verdict in {healthy, broken, stale, layer-mismatch}. Use when tap.run returns empty/error rows, or after forge.save to validate. ALWAYS specify site+name — unscoped checks scan all user taps and are expensive. PIPE TAPS: annotations include recursive sub-tap diagnosis via body.children[]. Use tap.explain for static analysis without running.

Inputs: name, site, timeout.

tap_envA
Read-onlyIdempotent
Inspect

Check tap runtime environment: binary version, TAP_HOME directory, installed skills count, Playwright availability, daemon status, and OS info. Zero side effects — no browser needed. Use for initial troubleshooting or CI health gates.

Inputs: no named parameters.

tap_expand_toolsAInspect

Expand this session's MCP tool set. Call when the default Layer-1 set (run/list/doctor/fix/forge.*/inspect) is insufficient — e.g. need manual browser actions (click/type/fill/scroll), write-tap operations, or diagnostic probes that aren't exposed yet. Levels: 2 = creative (forge supplements + diagnostics), 3 = manual (raw browser control: tap.click, tap.type, tap.eval, tap.find, tap.upload, tap.nav, tap.wait, tap.cookies, tap.pressKey). After calling, the server sends notifications/tools/list_changed; clients that honor it will re-query tools/list automatically. Higher-level calls subsume lower ones — calling with level:3 exposes both Layer 2 and Layer 3.

Inputs: level (required).

tap_fixA
Read-only
Inspect

Diagnose and repair a broken tap. Runs tap.doctor first, then collects page-level diagnostics (current DOM vs expected selectors, auth wall detection, redirect analysis). Returns the same shape as tap.doctor plus repair-specific fields: {diagnostics:{currentSnapshot, expectedSelectors, authWall, suggestions[]}, patches[]}. Free tier gets diagnostics only; Pro tier gets AI-generated fix proposals. Use when tap.doctor returns verdict=broken.

Inputs: name (required), site (required), timeout.

tap_listA
Read-onlyIdempotent
Inspect

Discover available taps. Default (no args) returns a compact site-grouped summary for orientation. Pass {query:'...'} for substring search across site/name/description (ranked by relevance). Pass {site} for full schema (columns, args) of one site; {site, name} for a single tap. If a matching tap exists, use tap.run — it executes with zero AI, faster and more stable than manual tap operations. NEVER bypass a tap by using manual tap.* calls to replicate what a tap already does.

Inputs: name, site, query.

tap_runAInspect

Run a pre-built tap. Preferred over tap.* tools — deterministic, zero AI at runtime. Returns {columns, rows, count, timing, cache_hit}. Read-intent taps are memoized for 5 minutes per process; identical calls return cached data with cache_hit:true. Pass {fresh:true} to bypass cache. Write-intent taps are never cached. If rows contain login/error page content or are empty on a site that requires login → call tap.runtime(runtime:'chrome') first, then retry. If rows is empty on a public site, use tap.doctor(site, name) for structured diagnosis. On transient failure (timeout, connection), RETRY tap.run — do not fall back to manual tap.* operations.

Inputs: name (required), site (required), args, fresh, +1 more.

tap_runtimeA
Idempotent
Inspect

Switch browser runtime mid-session. Default is headless (no login). Use 'chrome' when you need the user's real browser with login sessions (Xiaohongshu, Zhihu, etc.) or for write operations (publish, comment). Use 'headless' to switch back. (Unrelated to tap mcp connect, which registers the Tap MCP server with an AI host.)

Inputs: runtime (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 11 tools

    Disambiguation4/5

    Tools have mostly distinct purposes, but forge_inspect and inspect both deal with page inspection, and tap_doctor/tap_fix overlap in diagnosis/repair. Descriptions help disambiguate, but some overlap exists.

    Naming Consistency4/5

    Naming follows consistent verb_noun pattern with 'forge_' and 'tap_' prefixes. 'inspect' stands alone without prefix, and 'tap_expand_tools' is slightly wordy but still consistent with the prefix pattern.

    Tool Count5/5

    11 tools is well-scoped for the tap automation domain, covering forging, running, diagnosing, fixing, inspecting, and environment checks without being overwhelming or sparse.

    Completeness4/5

    Covers the core lifecycle: draft, save, run, list, inspect, diagnose, fix, and runtime switching. Missing explicit delete or view detailed tap schema, but most critical operations are present.

    Maintenance

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers