background-ai-chat

v0.2.0
background-ai-chat Checked 4 days ago Published 5 months ago

Background AI Chat MCP server — drive chat.sakana.ai via headless Chrome through MCP tools (personal/internal use only)

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

session_open

Open a persistent Sakana chat session backed by headless Chrome. First call requires tosAccepted:true (machine-wide ack thereafter). Returns sessionId + rate limit. Anonymous mode only in P1.

ParameterTypeDescription
headlessboolean
loginstring
tosAcceptedboolean

session_close

Close a Sakana chat session and release its browser context. keepHistory:true (default) retains state.json + cookies for reuse.

ParameterTypeDescription
sessionId *string
keepHistoryboolean

session_list

List all known Sakana chat sessions (active and idle).

chat_send

Send a message to an open Sakana chat session and receive the streamed reply. Incremental tokens are emitted as MCP logging notifications; the tool result carries the final answer. Pass signal:"abort" to interrupt.

ParameterTypeDescription
message *string
sessionId *string
enableThinkingboolean
signalstring
webSearchboolean

chat_interrupt

Interrupt an in-flight Sakana chat send. Clicks the page stop button and returns partial text. The stream also terminates via the AbortSignal on the original chat_send call.

ParameterTypeDescription
sessionId *string