Skip to main content
Glama
misternay

Background AI Chat MCP Server

by misternay

mcp-sakana-chat

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

Installation

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

Related MCP server: Chrome MCP Server

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
Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    An extension-based MCP server that enables AI assistants to control your browser, leveraging existing sessions and login states for automation and content analysis. It provides over 20 tools for semantic tab search, interactive element manipulation, and network monitoring directly within your daily Chrome environment.
    Last updated
    MIT
  • A
    license
    -
    quality
    -
    maintenance
    An extension-based MCP server that enables AI assistants to control your existing Chrome browser, leveraging your active login states and settings for automation. It provides over 20 tools for tasks like semantic tab search, screen capture, network monitoring, and direct element interaction.
    Last updated
  • A
    license
    -
    quality
    C
    maintenance
    MCP server that enables AI tools to control local browser sessions for ChatGPT, Claude, and other AI services, supporting querying, navigation, file uploads, and artifact management.
    Last updated
    86
    491
    Mozilla Public 2.0
  • A
    license
    A
    quality
    C
    maintenance
    MCP server for browser automation with anti-detection. Scout pages, find elements, interact with websites, and monitor network traffic from any AI client that supports the Model Context Protocol.
    Last updated
    21
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

  • A paid remote MCP for AI agent browser approval MCP, built to return verdicts, receipts, usage logs,

View all MCP Connectors

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/misternay/mcp-sakana-chat'

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