xfactor
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@xfactorshow me the latest console logs and network requests"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 devConnect to your AI Agent
HTTP Mode (Recommended)
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 pagespageState- Current URL, title, viewportconsoleLogs- Array of captured console messagesnetworkRequests- 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
pnpm devspawns a Chrome instance with remote debugging enabledMCP server connects to Chrome via CDP
CDP listeners capture console logs and network activity
AI agents query the captured data via MCP tools
Requirements
Node.js >= 20
Google Chrome installed
pnpm
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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