
A Model Context Protocol (MCP) server for controlling Chrome with debugging capabilities, userscript injection, and extension support.

A macOS-only Model Context Protocol server that serves the content of already-open browser tabs to MCP clients through tools and resources.
@pokutuna/mcp-chrome-tabs is cataloged as an MCP server attributed to pokutuna. A macOS-only Model Context Protocol server that serves the content of already-open browser tabs to MCP clients through tools and resources. It is categorized under browser automation. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for @pokutuna/mcp-chrome-tabs are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It is macOS only, because it relies on Apple Events via JXA.
Safari and Arc are available as experimental browser implementations selected through the browser option.
No, it is disabled by default and is turned on by setting the check interval above zero.
README.md · f183435663fa · Fetched 2026-11-13 08:11:31 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
Model Context Protocol (MCP) server that provides direct access to your browser's open tabs content. No additional fetching or authentication required - simply access what you're already viewing.
--check-interval to enable)[!IMPORTANT]
macOS only - This MCP server uses Apple Events (JXA) and only works on macOS.
First, enable "Allow JavaScript from Apple Events" in Chrome:
When you first use the MCP server, macOS will prompt you to grant Automation permission to your MCP client (e.g., Claude Desktop, Claude Code). Click OK to allow access to Chrome. If you accidentally dismissed the dialog, you can enable it in System Settings > Privacy & Security > Automation.
When multiple Google Chrome processes exist, JXA generally selects the oldest process, but this is not a guaranteed process-selection API. Start your normal Chrome before starting other Chrome instances when process identity matters.
Standard config works in most MCP clients (e.g., .claude.json, .mcp.json):
{
"mcpServers": {
"chrome-tabs": {
"command": "npx",
"args": ["-y", "@pokutuna/mcp-chrome-tabs@latest"]
}
}
}
Or for Claude Code:
claude mcp add -s user chrome-tabs -- npx -y @pokutuna/mcp-chrome-tabs@latest
You can also install this as a Claude Code plugin:
# Add the marketplace
/plugin marketplace add pokutuna/mcp-chrome-tabs
# Install the plugin
/plugin install mcp-chrome-tabs@mcp-chrome-tabs
The package also provides read-only commands for accessing the same tab data as the MCP tools:
# List open tabs as: [INDEX] ID TITLE DOMAIN (* marks the active tab)
npx @pokutuna/mcp-chrome-tabs list
# Show the full URL in place of the domain
npx @pokutuna/mcp-chrome-tabs list --include-url
# Read the active tab
npx @pokutuna/mcp-chrome-tabs read --active
# Read a specific tab from an ID returned by list
npx @pokutuna/mcp-chrome-tabs read ID:12345:67890
# Read by INDEX from the list instead
npx @pokutuna/mcp-chrome-tabs read 2
# Continue reading truncated content
npx @pokutuna/mcp-chrome-tabs read ID:12345:67890 --offset=20000
list prints an INDEX column for reading the listing at a glance, but it
numbers that one listing only -- it shifts when tabs open or close. Windows
are ordered by ID (creation order) rather than front to back, so switching
windows does not renumber the list. read <INDEX> re-resolves the index when
it runs, so it can land on a different tab than you saw; pass the ID when that
matters. An argument starting with ID: is taken as an ID, and a bare number
as an INDEX.
Reading refuses a browser that is not running rather than launching it;
open_in_new_tab still launches it.
Running the command without a subcommand starts the MCP server. Options apply to the commands shown below; passing one to a command it does not apply to is an error.
List Options
--include-url - Show the full URL instead of the domainRead Options
--active - Read the tab you are looking at now. read needs one of an ID, an INDEX, or --active--offset - Start reading content at this character offset (default: 0)Content Options (read and the MCP server)
--max-content-chars - Maximum content characters per single read (default: 20000)--extraction-timeout - Timeout for content extraction worker in milliseconds (default: 20000)MCP Server Options
--check-interval - Interval in milliseconds to check for tab changes and send listChanged notifications (default: 0 disabled, set to 3000 for 3 seconds)Common Options (all commands)
--exclude-hosts - Comma-separated list of domains to exclude from tab listing and content access. Hosts in the MCP_CHROME_TABS_EXCLUDE_HOSTS environment variable are excluded as well--application-name - Application name to control (default: "Google Chrome")--experimental-browser - Browser implementation to use: "chrome", "safari", or "arc" (default: "chrome")--help - Show help message with all available options--version - Show the package versionAnything that runs as your user and has Automation permission for the browser can read your tabs, with or without this package. Keep the following in mind when using the commands above:
list and read do not go through your MCP client's tool approval. Any
process or agent that can run shell commands can call them.--exclude-hosts applies only to the process it is passed to. Hosts
excluded in your MCP client config are not excluded for command line runs.
To exclude hosts everywhere, set MCP_CHROME_TABS_EXCLUDE_HOSTS in your
shell profile (e.g. export MCP_CHROME_TABS_EXCLUDE_HOSTS="mail.google.com").
Either way, it filters what this package returns; it does not control access.To block access entirely, turn off the browser under System Settings > Privacy & Security > Automation for the app in question.
A coding agent with shell access can run list and read, or osascript
directly, without the MCP tool approval. Its permission rules can require a
confirmation for these commands, even in an auto-approve mode. The rules match
the command text, so an agent that reaches the same program another way (for
example /usr/bin/osascript) is not caught; they are a checkpoint, not access
control.
Claude Code (~/.claude/settings.json; use deny instead of ask to block):
{
"permissions": {
"ask": [
"Bash(mcp-chrome-tabs *)",
"Bash(npx *mcp-chrome-tabs*)",
"Bash(osascript *)"
]
}
}
Codex CLI (~/.codex/rules/default.rules; use "forbidden" to block):
prefix_rule(pattern = ["mcp-chrome-tabs"], decision = "prompt")
prefix_rule(pattern = ["npx", "@pokutuna/mcp-chrome-tabs"], decision = "prompt")
prefix_rule(pattern = ["npx", "-y", "@pokutuna/mcp-chrome-tabs"], decision = "prompt")
prefix_rule(pattern = ["osascript"], decision = "prompt")
Setting --check-interval to a value greater than 0 enables resource subscription. When enabled, the server monitors tab list changes and sends MCP listChanged notifications to prompt clients to refresh their resource lists. This also makes tab://{windowId}/{tabId} resources available for all open tabs.
In 2025-10, few MCP clients support resource subscriptions. Resource subscription is disabled by default (--check-interval=0). Most users only need the tab://current resource, which is always available.
To enable resource subscription:
{
"mcpServers": {
"chrome-tabs": {
"command": "npx",
"args": [
"-y",
"@pokutuna/mcp-chrome-tabs@latest",
"--check-interval=3000"
]
}
}
}
Reading page content requires Develop > Allow JavaScript from Apple Events in Safari. Note that Safari lacks unique tab IDs, making it sensitive to tab order changes during execution:
npx @pokutuna/mcp-chrome-tabs --application-name=Safari --experimental-browser=safari
npx @pokutuna/mcp-chrome-tabs --application-name=Arc --experimental-browser=arc
list_tabsList all open tabs in the user's browser with their titles, URLs, and tab references.
read_tab_contentGet readable content from a tab in the user's browser.
id (optional): Tab reference from list_tabs output (e.g., ID:12345:67890)id is omitted, uses the currently active tabopen_in_new_tabOpen a URL in a new tab to present content or enable user interaction with webpages.
url (required): URL to open in the browserID:windowId:tabId for immediate access to the new tabtab://currentResource representing the content of the currently active tab.
tab://currenttext/markdown--check-interval settingtab://{windowId}/{tabId}Resource template for accessing specific tabs.
tab://{windowId}/{tabId}text/markdown--check-interval is set to a value greater than 0Current Tabs (0 tabs exists) is displayedEnsure "Allow JavaScript from Apple Events" is enabled in Chrome (see Getting Started).
If it was working before, try restarting your browser.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for @pokutuna/mcp-chrome-tabs from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/pokutuna-mcp-chrome-tabs)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A Model Context Protocol (MCP) server for controlling Chrome with debugging capabilities, userscript injection, and extension support.

An MCP server that lets AI assistants browse websites and extract content using optional CSS selectors.

An MCP server that reads pages, fills forms, takes screenshots, and hands the browser to a person for logins or CAPTCHAs.