Skip to main content
Glama

@businessmaps/bifrost

CI npm

MCP-сервер, который позволяет ИИ-инструментам вызывать функции, выполняемые в вашем браузере.

Демон располагается между любым MCP-клиентом и вкладкой вашего браузера. С одной стороны он использует JSON-RPC через stdio, а с другой — WebSocket. Ваше браузерное приложение подключается, регистрирует инструменты, и ИИ может их вызывать.

Быстрый старт

1. Добавьте в свой ИИ-инструмент

Claude Code:

claude mcp add --transport stdio bifrost -- npx @businessmaps/bifrost --no-auth

Claude Desktop — добавьте в ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "bifrost": {
      "command": "npx",
      "args": ["@businessmaps/bifrost", "--no-auth"]
    }
  }
}

Cursor — добавьте в .cursor/mcp.json:

{
  "mcpServers": {
    "bifrost": {
      "command": "npx",
      "args": ["@businessmaps/bifrost", "--no-auth"]
    }
  }
}

Установка не требуется. npx автоматически скачивает и запускает пакет.

2. Добавьте клиент в свое браузерное приложение

npm i @businessmaps/bifrost-browser

Или через CDN:

<script src="https://unpkg.com/@businessmaps/bifrost-browser"></script>

TypeScript-типы включены.

3. Зарегистрируйте инструменты

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();

Вот и всё. Теперь ИИ может вызывать get_page_title и get_selection во вкладке вашего браузера. Обработчики имеют полный доступ к DOM, Canvas, IndexedDB, буферу обмена, fetch и т. д.

Related MCP server: @teatak/mcp-server-browser

Аутентификация

По умолчанию демон генерирует случайный токен при запуске. Есть два способа его получить:

  • Терминальный режим — токен выводится на экран при запуске демона

  • MCP-режим — ИИ вызывает встроенный инструмент bifrost_connection_info для получения токена, а затем сообщает вам, что нужно вставить в ваше приложение

Передайте токен клиенту:

const bridge = new BifrostBrowser({ port: 3099, token: "TOKEN" });

Для локальной разработки можно полностью пропустить аутентификацию с помощью --no-auth.

Несколько вкладок

Каждая вкладка регистрирует свои собственные инструменты. Вызовы направляются тому, кто владеет инструментом. При закрытии вкладки её инструменты удаляются.

Опции

--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 version

Разработка

git clone https://github.com/Business-Maps/bifrost.git && cd bifrost
npm install
npm test

Архитектура · Клиентский API · Участие в разработке

Лицензия

Apache 2.0

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    C
    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.
    99
    16
    3
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    An 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.
    15
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Turns 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.
    29
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables websites to expose JavaScript functions as MCP tools, allowing AI agents to interact with the browser environment via a protocol and Chrome extension.
    1,093
    -

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/Business-Maps/bifrost'

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