Skip to main content
Glama

🌐 Agent Browser API

AI 에이전트를 위한 범용, 완전 작동 헤드리스 브라우저. 어떤 에이전트 — Zapier Agents, Custom GPTs, Claude, Cursor, LangChain, CrewAI, n8n, Make, 또는 여러분의 코드 — 에게 실제 Chromium 브라우저를 제공합니다: JavaScript 렌더링, 웹 검색, 클릭, 타이핑, 양식 작성, 드롭다운, 스크린샷, 테이블 및 데이터 추출, PDF 생성.

🇮🇳 힌디어 요약: 이것은 어떤 AI 에이전트든 사용할 수 있는 실제 브라우저입니다 — 3가지 방법: 간단한 REST API, OpenAPI 가져오기 (Custom GPT), 또는 네이티브 MCP (Claude/Cursor/ChatGPT). 배포하고, API 키를 설정하고, 끝입니다. ✅ 26/26 테스트 통과.

🔌 모든 에이전트와 호환 — 연결하는 세 가지 방법

모드

대상

방법

REST API

Zapier Agents, n8n, Make, LangChain, CrewAI, 모든 코드

X-API-Key 헤더와 함께 POST /v1/browse {"url": "..."}. GET /v1/tools (OpenAI 함수 형식)을 통해 자동 발견.

OpenAPI

OpenAI Custom GPTs (Actions), API 도구

/openapi.yaml 가져오기 — 모든 엔드포인트 문서화됨.

MCP 🆕

Claude Desktop/Code, Cursor, Windsurf, ChatGPT, VS Code, n8n MCP

MCP 클라이언트를 https://YOUR-URL/mcp (Streamable HTTP)로 지정 — 22개의 브라우저 도구가 네이티브로 표시됨.

플랫폼별 전체 복사-붙여넣기 가이드: INTEGRATIONS.md · Zapier 세부사항: ZAPIER_SETUP.md

Related MCP server: WebControl

✨ 기능

기능

엔드포인트

설명

📖 브라우징

POST /v1/browse

모든 페이지 렌더링 (JS 포함) → 깔끔한 Markdown + 제목 + 링크 + 메타데이터. LLM 준비 완료.

🔍 검색

POST /v1/search

자동 폴백이 있는 Brave/Bing/DDG를 통한 웹 검색. 검색 API 키 불필요.

📸 스크린샷

POST /v1/screenshot

페이지, 전체 페이지, 또는 단일 요소의 PNG; 사용자 정의 뷰포트; 바이너리 또는 base64.

🧲 추출

POST /v1/extract

CSS 선택자를 통한 구조화된 데이터 → JSON.

📊 테이블

POST /v1/tables

페이지의 모든 데이터 테이블 → JSON (헤더 + 행), 레이아웃/숨겨진 테이블은 건너뜀.

🖱️ 요소

POST /v1/elements

바로 사용 가능한 CSS 선택자가 있는 표시 링크/버튼/입력 필드 — 에이전트가 클릭 가능한 것을 수 있음.

📄 PDF

POST /v1/pdf

모든 페이지를 PDF로 렌더링 (세로/가로).

🧭 세션

POST /v1/sessions + 작업

상태 저장 다단계 흐름: goto, click, type, fill, press, select, scroll, navigate (뒤로/앞으로/새로고침), wait, evaluate, content, elements, screenshot.

🤝 MCP

POST /mcp

위의 모든 것을 네이티브 MCP 도구로 제공 (스크린샷은 실제 이미지로 반환).

추가: API 키 인증, CORS, 속도 제한, SSRF 가드, 세션 자동 만료 + LRU 축출, 스텔스 기본 기능, SPA 안정화 대기, LLM 컨텍스트 안전을 위한 출력 잘림, 유용한 오류 hint, /llms.txt, 그리고 전체 OpenAPI 스펙.

🚀 빠른 시작

무료 배포 (Render) — 권장

  1. 이 저장소를 GitHub에 포크/푸시하세요.

  2. render.com으로 이동 → New → Blueprint → 이 저장소 선택 (render.yaml 자동 감지).

  3. 서비스의 Environment 탭에서 생성된 API_KEY를 복사하세요.

  4. https://your-service.onrender.com에서 라이브 🎉

Railway, Fly.io 또는 모든 Docker 호스트에서도 작동합니다.

Docker

docker build -t agent-browser .
docker run -p 8080:8080 -e API_KEY=your-secret-key agent-browser

로컬에서 실행

npm install            # installs deps + Chromium
API_KEY=your-secret-key npm start
# → agent-browser v2.0.0 listening on :8080

🧪 사용해 보기

BASE=http://localhost:8080; KEY=your-secret-key

# Read a JS-heavy page as markdown
curl -X POST $BASE/v1/browse -H "X-API-Key: $KEY" -H "Content-Type: application/json" \
  -d '{"url":"https://news.ycombinator.com"}'

# Search the web
curl -X POST $BASE/v1/search -H "X-API-Key: $KEY" -H "Content-Type: application/json" \
  -d '{"query":"best CRM for startups","limit":5}'

# Extract every table on a page as JSON
curl -X POST $BASE/v1/tables -H "X-API-Key: $KEY" -H "Content-Type: application/json" \
  -d '{"url":"https://www.scrapethissite.com/pages/forms/"}'

# Multi-step: search Wikipedia interactively
SID=$(curl -s -X POST $BASE/v1/sessions -H "X-API-Key: $KEY" -H "Content-Type: application/json" \
  -d '{"url":"https://en.wikipedia.org"}' | jq -r .sessionId)
curl -X POST $BASE/v1/sessions/$SID/fill -H "X-API-Key: $KEY" -H "Content-Type: application/json" \
  -d '{"fields":{"input[name=search]":"Artificial intelligence"}}'
curl -X POST $BASE/v1/sessions/$SID/press -H "X-API-Key: $KEY" -H "Content-Type: application/json" \
  -d '{"key":"Enter"}'
curl $BASE/v1/sessions/$SID/content -H "X-API-Key: $KEY"
curl -X DELETE $BASE/v1/sessions/$SID -H "X-API-Key: $KEY"

전체 스모크 테스트 스위트 실행: npm test — 모든 엔드포인트 그리고 실제 MCP 클라이언트 왕복을 포함한 26개 검사.

⚙️ 구성 (환경 변수)

변수

기본값

설명

API_KEY

(비어 있음 = 인증 꺼짐, 개발 전용!)

모든 비공개 엔드포인트에 필요한 키.

PORT

8080

HTTP 포트.

MAX_SESSIONS

10

최대 동시 상태 저장 세션 (LRU 축출).

SESSION_TTL_MS

600000

유휴 세션 만료 (10분).

NAV_TIMEOUT_MS

30000

탐색 시간 초과.

RATE_LIMIT_PER_MIN

120

API 키 또는 IP당 분당 요청 수 (0 = 꺼짐).

CORS_ORIGIN

*

허용된 CORS 출처.

ALLOW_PRIVATE_URLS

false

개인/내부 주소 브라우징 허용 (SSRF 가드 꺼짐).

🔒 보안 참고 사항

  • 프로덕션에서 항상 API_KEY를 설정하세요 (Render 블루프린트가 자동으로 생성).

  • http/https URL만 허용됩니다; localhost/개인/메타데이터 주소는 기본적으로 차단됨.

  • HTTPS 뒤에서 실행하세요 (Render/Railway가 무료로 TLS 제공).

  • evaluate샌드박스 처리된 페이지 내부에서 임의의 JS를 실행합니다 — API 키를 비밀로 유지하세요.

  • 공개 (키 없음) 엔드포인트는 읽기 전용 정보입니다: /, /health, /openapi.yaml, /llms.txt, /v1/tools.

📁 프로젝트 구조

src/server.js         # Express API: auth, CORS, rate limit, routes
src/actions.js        # Shared high-level actions (used by REST + MCP)
src/browser.js        # Chromium lifecycle, sessions, TTL/LRU, SSRF guard
src/extract.js        # HTML → markdown, CSS extraction, tables, elements
src/search.js         # Multi-engine web search with fallback
src/mcp.js            # MCP server (Streamable HTTP, 22 tools)
src/tools-manifest.js # GET /v1/tools (OpenAI function format)
openapi.yaml          # Full API specification
test/run-tests.sh     # 26-check smoke-test suite (incl. MCP round-trip)
Dockerfile            # Production image (Playwright base, version-pinned)
render.yaml           # One-click Render deploy

라이선스

MIT

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to control the Google Chrome browser through a Node.js WebSocket bridge and a dedicated browser extension. It provides tools for capturing screenshots, executing JavaScript, managing tabs, and extracting page content via the MCP protocol.
    2
  • F
    license
    Not graded
    quality
    C
    maintenance
    Headless browser automation for LLM agents via REST API or MCP tools. Enables navigating pages, reading structured content, clicking elements, filling forms, and executing JavaScript.
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides a real browser that bypasses bot detection (Cloudflare, Turnstile) for AI agents, enabling navigation, clicking, typing, screenshots, and data collection through MCP tools.
    71
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Hosted Chrome as an MCP skill. Enables any MCP-compatible agent to drive a real Chromium browser for tasks like navigation, clicking, typing, and taking screenshots.
    20
    MIT

View all related MCP servers

Related MCP Connectors

  • Stealth web browser for agents: search, fetch, click and type through persistent sessions over MCP.

  • Hosted real Google Chrome MCP with per-user persistent state. Navigate, click, type, screenshot.

  • Screenshot, diff, audit and sitemap-capture any web page — 5 MCP tools for AI agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gopendrasharma89-tech/agent-browser'

If you have feedback or need assistance with the MCP directory API, please join our Discord server