@businessmaps/mcp
@businessmaps/bifrost
MCP-Server, mit dem KI-Tools Funktionen aufrufen können, die in Ihrem Browser ausgeführt werden.
Der Daemon fungiert als Vermittler zwischen einem beliebigen MCP-Client und Ihrem Browser-Tab. Er kommuniziert auf der einen Seite über JSON-RPC via stdio und auf der anderen Seite über WebSocket. Ihre Browser-App stellt eine Verbindung her, registriert Tools, und die KI kann diese aufrufen.
Schnellstart
1. Zu Ihrem KI-Tool hinzufügen
Claude Code:
claude mcp add --transport stdio bifrost -- npx @businessmaps/bifrost --no-authClaude Desktop - hinzufügen zu ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"bifrost": {
"command": "npx",
"args": ["@businessmaps/bifrost", "--no-auth"]
}
}
}Cursor - hinzufügen zu .cursor/mcp.json:
{
"mcpServers": {
"bifrost": {
"command": "npx",
"args": ["@businessmaps/bifrost", "--no-auth"]
}
}
}Keine Installation erforderlich. npx lädt das Paket automatisch herunter und führt es aus.
2. Den Client zu Ihrer Browser-App hinzufügen
npm i @businessmaps/bifrost-browserOder via CDN:
<script src="https://unpkg.com/@businessmaps/bifrost-browser"></script>TypeScript-Typen sind enthalten.
3. Tools registrieren
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();Das war's. Die KI kann nun get_page_title und get_selection in Ihrem Browser-Tab aufrufen. Handler haben vollen Zugriff auf DOM, Canvas, IndexedDB, Zwischenablage, fetch usw.
Related MCP server: @teatak/mcp-server-browser
Authentifizierung
Standardmäßig generiert der Daemon beim Start ein zufälliges Token. Es gibt zwei Möglichkeiten, es zu erhalten:
Terminal-Modus - das Token wird auf dem Bildschirm ausgegeben, wenn der Daemon startet
MCP-Modus - die KI ruft das integrierte Tool
bifrost_connection_infoauf, um das Token zu erhalten, und sagt Ihnen dann, was Sie in Ihre App einfügen müssen
Übergeben Sie das Token an den Client:
const bridge = new BifrostBrowser({ port: 3099, token: "TOKEN" });Überspringen Sie die Authentifizierung vollständig mit --no-auth während der lokalen Entwicklung.
Mehrere Tabs
Jeder Tab registriert seine eigenen Tools. Aufrufe werden an denjenigen weitergeleitet, der das Tool besitzt. Das Trennen eines Tabs entfernt dessen Tools.
Optionen
--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 versionEntwicklung
git clone https://github.com/Business-Maps/bifrost.git && cd bifrost
npm install
npm testArchitektur · Client-API · Mitwirken
Lizenz
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