@businessmaps/mcp
@businessmaps/bifrost
Servidor MCP que permite a las herramientas de IA llamar a funciones que se ejecutan en su navegador.
El demonio se sitúa entre cualquier cliente MCP y la pestaña de su navegador. Habla JSON-RPC a través de stdio por un lado y WebSocket por el otro. Su aplicación de navegador se conecta, registra herramientas y la IA puede llamarlas.
Inicio rápido
1. Añadir a su herramienta de IA
Claude Code:
claude mcp add --transport stdio bifrost -- npx @businessmaps/bifrost --no-authClaude Desktop - añadir a ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"bifrost": {
"command": "npx",
"args": ["@businessmaps/bifrost", "--no-auth"]
}
}
}Cursor - añadir a .cursor/mcp.json:
{
"mcpServers": {
"bifrost": {
"command": "npx",
"args": ["@businessmaps/bifrost", "--no-auth"]
}
}
}No se requiere instalación. npx descarga y ejecuta el paquete automáticamente.
2. Añadir el cliente a su aplicación de navegador
npm i @businessmaps/bifrost-browserO mediante CDN:
<script src="https://unpkg.com/@businessmaps/bifrost-browser"></script>Se incluyen tipos de TypeScript.
3. Registrar herramientas
import { BifrostBrowser } from "@businessmaps/bifrost-browser";
const bridge = new BifrostBrowser({ port: 3099 });
bridge.registerTools([
{
name: "get_page_title",
description: "Returns the page title",
inputSchema: { type: "object", properties: {} },
handler: async () => document.title,
},
{
name: "get_selection",
description: "Returns the user's current text selection",
inputSchema: { type: "object", properties: {} },
handler: async () => window.getSelection().toString(),
},
]);
bridge.connect();Eso es todo. La IA ahora puede llamar a get_page_title y get_selection en la pestaña de su navegador. Los controladores tienen acceso completo a DOM, Canvas, IndexedDB, Portapapeles, fetch, etc.
Related MCP server: @teatak/mcp-server-browser
Autenticación
Por defecto, el demonio genera un token aleatorio al iniciarse. Hay dos formas de obtenerlo:
Modo terminal - el token se imprime en pantalla cuando se inicia el demonio
Modo MCP - la IA llama a la herramienta integrada
bifrost_connection_infopara obtener el token, y luego le indica qué pegar en su aplicación
Pase el token al cliente:
const bridge = new BifrostBrowser({ port: 3099, token: "TOKEN" });Omita la autenticación por completo con --no-auth durante el desarrollo local.
Pestañas múltiples
Cada pestaña registra sus propias herramientas. Las llamadas se dirigen a quien sea propietario de la herramienta. Desconectar una pestaña elimina sus herramientas.
Opciones
--port <port> WebSocket port (default: 3099)
--timeout <secs> Tool call timeout (default: 120)
--no-auth Disable token auth (dev only)
--help, -h Show this message
--version, -v Show versionDesarrollo
git clone https://github.com/Business-Maps/bifrost.git && cd bifrost
npm install
npm testArquitectura · API del cliente · Contribución
Licencia
Apache 2.0
Maintenance
Related MCP Connectors
The Remote MCP server acts as a standardized bridge between LLM applications (like Claude, ChatGPT, and Cursor) and external services, enabling AI agents to access external tools and resources. Its primary capability is providing a centralized search tool to discover other MCP servers and their respective tools. Unlike local implementations, it runs remotely with OAuth authentication and permission controls for security.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Live browser debugging for AI assistants — DOM, console, network via MCP.
Web scraping, browser automation, screenshots and AI data extraction for AI agents via MCP.
Related MCP Servers
- AlicenseBqualityCmaintenanceAn 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.994 npm3Apache 2.0
- AlicenseNot gradedqualityDmaintenanceAn MCP server that runs in the browser, letting web pages register custom tools and prompts and expose them to an MCP client over WebSocket. Enables agents to drive UI, call page-scoped APIs, and get human-in-the-loop confirmation.5 npmMIT
- AlicenseNot gradedqualityCmaintenanceTurns your Chrome browser into an MCP server, allowing AI clients to control browser actions like clicking, typing, navigating, and data extraction through custom JavaScript tools.28AGPL 3.0
- AlicenseNot gradedqualityDmaintenanceEnables websites to expose JavaScript functions as MCP tools, allowing AI agents to interact with the browser environment via a protocol and Chrome extension.1,109AGPL 3.0