Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Background AI Chat Server

БесплатноНе проверен

MCP server that drives chat.sakana.ai via headless Chrome with persistent sessions. Enables AI assistants to interact with Sakana AI chat through tools like ses

GitHubEmbed

Описание

MCP server that drives chat.sakana.ai via headless Chrome with persistent sessions. Enables AI assistants to interact with Sakana AI chat through tools like session management, with ToS gate and browser automation.

README

MCP server that drives chat.sakana.ai via headless Chrome — persistent sessions for AI assistant use.

Installation

Via npx (recommended — no install needed)

npx background-ai-chat

Via npm global install

npm install -g background-ai-chat
background-ai-chat

From source (for development)

git clone https://github.com/misternay/mcp-sakana-chat.git
cd mcp-sakana-chat
npm install && npm run build && npm start

Claude Desktop Config

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or equivalent:

{
  "mcpServers": {
    "sakana-chat": {
      "command": "npx",
      "args": ["-y", "background-ai-chat"]
    }
  }
}

Why -y flag: Skips npm's install confirmation prompt, required for non-interactive usage.

Alternative (if globally installed):

{
  "mcpServers": {
    "sakana-chat": {
      "command": "background-ai-chat"
    }
  }
}

Environment Variables

Variable Default Description
BAC_TRANSPORT stdio stdio or http-sse
BAC_AUTH_KEY "" Bearer token for HTTP/SSE
BAC_PORT 3456 HTTP/SSE port
BAC_BROWSER_HEADLESS true Run Chrome headless
BAC_MAX_SESSIONS 5 Max concurrent sessions
BAC_DATA_DIR ~/.background-ai-chat Root data directory

MCP Tools

  • session_open — Open a persistent chat session. Input: { login?, headless?, tosAccepted? }Output: { sessionId, conversationId, mode, rateLimit, tosSummary }
  • chat_send — Send a message with streaming token events. Input: { sessionId, message }Output: { reply, tokens[] }
  • chat_interrupt — Abort an in-flight message. Input: { sessionId }Output: { interrupted: true }
  • session_close — Close a session and release its browser. Input: { sessionId, keepHistory? }Output: { closed, messagesExchanged }
  • session_list — List all known sessions. Input: {}Output: { sessions[] }

First call requires tosAccepted: true. Subsequent calls reuse the machine-wide ack.

Guardrails

  • ToS gate — machine-wide acknowledgment of Sakana Terms 5.8/5.9
  • Cookie isolation — separate browser context per session
  • No message logging — only metadata (sessionId, event, ms) to stderr
  • Personal/internal use only — not a competing product

Development

npm run build       # compile TypeScript
npm test            # run tests
npm run test:watch  # watch mode

from github.com/misternay/mcp-sakana-chat

Установка Background AI Chat Server

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/misternay/mcp-sakana-chat

FAQ

Background AI Chat Server MCP бесплатный?

Да, Background AI Chat Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Background AI Chat Server?

Нет, Background AI Chat Server работает без API-ключей и переменных окружения.

Background AI Chat Server — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Background AI Chat Server в Claude Desktop, Claude Code или Cursor?

Открой Background AI Chat Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Background AI Chat Server with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории communication