Skip to main content
Glama
fveiraswww

xfactor

by fveiraswww

xfactor

MCP server that connects AI agents to browser DevTools via CDP (Chrome DevTools Protocol).

Give your AI agent real-time access to browser console logs, network requests, and page state.

Features

  • Real-time console logs capture (errors, warnings, info, debug)

  • Network request/response monitoring

  • Page state (URL, title, viewport)

  • Works with any AI agent that supports MCP (Claude, etc.)

Related MCP server: Kaboom Browser AI Devtools MCP

Quick Start

# Install dependencies
pnpm install

# Start the server (spawns Chrome + MCP server)
pnpm dev

Connect to your AI Agent

The server runs on http://localhost:3001 by default.

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "xfactor": {
      "url": "http://localhost:3001/mcp"
    }
  }
}

Other Agents

Point your MCP client to: http://localhost:3001/mcp

Available Tools

get_browser_context

Get browser state including console logs and network requests.

{
  "includePageState": true,
  "includeLogs": true,
  "includeRequests": true
}

Returns:

  • status - Connection status, CDP port, attached pages

  • pageState - Current URL, title, viewport

  • consoleLogs - Array of captured console messages

  • networkRequests - Array of captured network requests

refresh_browser

Refresh the page to capture logs from page load.

{
  "clearLogs": true
}

Configuration

Environment Variables

  • CDP_PORT - Chrome DevTools Protocol port (default: 9222)

  • TARGET_URL - URL to monitor (default: localhost:3000)

xmcp.config.ts

const config: XmcpConfig = {
  http: { port: 3001 },
  // ... other options
};

How It Works

  1. pnpm dev spawns a Chrome instance with remote debugging enabled

  2. MCP server connects to Chrome via CDP

  3. CDP listeners capture console logs and network activity

  4. AI agents query the captured data via MCP tools

Requirements

  • Node.js >= 20

  • Google Chrome installed

  • pnpm

License

MIT

F
license - not found
-
quality - not tested
D
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

  • A
    license
    B
    quality
    B
    maintenance
    An MCP server that provides AI models with full browser automation capabilities through Chrome. It enables navigation, interaction, screenshots, and complete DevTools access by bridging AI clients with a companion Chrome extension.
    Last updated
    99
    32
    2
    Apache 2.0
  • -
    license
    -
    quality
    -
    maintenance
    MCP server that connects AI agents to a real Chrome browser via a WebSocket extension bridge, enabling over 40 browser control tools without debug mode or profile isolation.
    Last updated

View all related MCP servers

Related MCP Connectors

  • Live browser debugging for AI assistants — DOM, console, network via MCP.

  • A paid remote MCP for AI agent browser DevTools MCP, built to return verdicts, receipts, usage logs,

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

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/fveiraswww/xfact'

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