Skip to main content
Glama
MCP Browser Tabs Server

MCP Browser Tabs Server

by kazuph

MCP 브라우저 탭

Chrome 브라우저 탭 정보를 검색하고 관리하는 모델 컨텍스트 프로토콜 서버입니다. 이를 통해 Claude Desktop(또는 모든 MCP 클라이언트)은 현재 열려 있는 Chrome 탭에 대한 정보를 가져오고 제어할 수 있습니다.

빠른 시작(사용자용)

Claude Desktop과 함께 이 도구를 사용하려면 Claude Desktop 구성에 다음을 추가하기만 하면 됩니다( ~/Library/Application Support/Claude/claude_desktop_config.json ):

지엑스피1

필요할 때 도구의 최신 버전이 자동으로 다운로드되어 실행됩니다.

필수 설정

  1. Chrome에서 접근성 활성화:

    • 시스템 설정 열기

    • 개인정보 보호 및 보안 > 접근성으로 이동하세요

    • "+" 버튼을 클릭하세요

    • 응용 프로그램 폴더에서 Google Chrome을 추가하세요

    • Chrome 토글을 켜세요

이 접근성 설정은 AppleScript가 Chrome 탭과 상호 작용하는 데 필요합니다.

Related MCP server: chrome-agent-bridge

개발자를 위한

다음 섹션은 도구를 개발하거나 수정하려는 사람들을 위한 것입니다.

필수 조건

  • 노드.js 18+

  • macOS(AppleScript 작업용)

  • 구글 크롬

  • Claude Desktop( https://claude.ai/desktop 에서 설치)

  • tsx ( npm install -g tsx 를 통해 설치)

설치

git clone https://github.com/kazuph/mcp-browser-tabs.git
cd mcp-browser-tabs
npm install
npm run build

사용 가능한 도구

  • get_tabs : Google Chrome 브라우저에서 열려 있는 모든 탭을 가져와 제목과 URL을 반환합니다. 탭은 창별로 그룹화되어 "창 1-1"(창 1, 탭 1)과 같은 형식으로 표시됩니다.

  • close_tab : 창 및 탭 인덱스를 사용하여 Google Chrome의 특정 탭을 닫습니다.

    • 매개변수:

      • windowIndex: 창 번호(1부터 시작)

      • tabIndex: 창 내의 탭 번호(1부터 시작)

    • 참고: 여러 탭을 닫을 때는 인덱스 이동을 방지하기 위해 가장 높은 인덱스 번호부터 닫으세요. 탭을 닫은 후에는 get_tabs를 사용하여 변경 사항을 확인하세요.

노트

  • 이 도구는 AppleScript에 대한 종속성으로 인해 macOS에서만 사용하도록 설계되었습니다.

  • Google Chrome을 설치하고 실행해야 합니다.

  • Chrome에 대한 접근성 권한을 부여해야 합니다.

특허

MIT 라이센스 - 자세한 내용은 LICENSE 파일을 참조하세요.

Available Tools

4 tools
activate_tab_by_idA

🔥 PREFERRED METHOD: Activate (focus) a specific tab in Google Chrome using its unique tab ID. Brings the tab to the front and makes it active. Extract the Tab ID from [Tab ID: 1234567890] in get_tabs output.

Inputs: tabId (required).

close_tabA

⚠️ LEGACY DANGER: Close a specific tab using window/tab index. HIGH RISK of closing wrong tabs due to index shifting when tabs are reordered/closed. STRONGLY DEPRECATED: Use close_tab_by_id instead. Only use if Tab ID is unavailable.

Inputs: tabIndex (required), windowIndex (required).

close_tab_by_idA

🔥 PREFERRED METHOD: Close a specific tab in Google Chrome using its unique tab ID. IMMUNE to tab reordering, window changes, and index shifting. Extract the Tab ID from [Tab ID: 1234567890] in get_tabs output. Example: if tab shows '[Tab ID: 1594670961]', use tabId: 1594670961

Inputs: tabId (required).

get_tabsA

Get all open tabs from Google Chrome browser with unique tab IDs. Each tab has a stable, unique ID that persists across browser operations. Output shows both display format (1-1, 1-2) and Tab ID [Tab ID: 1234567890] for each tab. ALWAYS use the Tab ID number for reliable operations.

Inputs: no named parameters.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.5/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: get_tabs retrieves tab information, activate_tab_by_id focuses a tab, close_tab_by_id closes a tab reliably, and close_tab serves as a deprecated fallback. The descriptions explicitly differentiate between preferred and legacy methods, eliminating any ambiguity in tool selection.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun or verb_noun_by_id pattern using snake_case (e.g., get_tabs, activate_tab_by_id, close_tab_by_id, close_tab). This uniformity makes the tool set predictable and easy to understand at a glance.

    Tool Count5/5

    With 4 tools, this server is well-scoped for managing browser tabs, covering essential operations: retrieving tabs, activating them, and closing them (with both reliable and deprecated methods). The count is efficient without being overly sparse or bloated.

    Completeness4/5

    The tool set covers the core CRUD-like operations for browser tab management: get (list), activate (update focus), and close (delete). A minor gap exists in creating or opening new tabs, but the domain is focused on existing tab manipulation, and agents can work around this by using external methods if needed.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      B
      maintenance
      MCP server for agent interaction with user-approved Google Chrome tabs, enabling tab listing/control, navigation, clicking, filling, snapshots, and screenshots via a local authenticated bridge.
      100
      4
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables MCP clients to control real Chrome tabs in existing profiles, supporting navigation, interaction, screenshots, and console/network inspection across multiple Chrome instances.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables local control of existing Chrome/Chromium browser tabs through MCP, including tab management, navigation, content reading, screenshots, and page interaction.
      Apache 2.0