Skip to main content
Glama
misternay

Background AI Chat MCP Server

by misternay

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BAC_HOSTNoHTTP/SSE bind address127.0.0.1
BAC_PORTNoHTTP/SSE port3456
BAC_AUTH_KEYNoBearer token for HTTP/SSE mode
BAC_DATA_DIRNoRoot data directory~/.bagidea
BAC_TRANSPORTNoTransport mode (stdio or http-sse)stdio
BAC_REDACT_PIINoOpt-in PII redactionfalse
BAC_SAKANA_URLNoSakana chat URLhttps://chat.sakana.ai/
BAC_MAX_SESSIONSNoMax concurrent sessions5
BAC_IDLE_TIMEOUT_MSNoIdle timeout before auto-close (15 min)900000
BAC_BROWSER_HEADLESSNoRun Chrome headlesstrue
BAC_ALLOWED_USE_CASESNoComma-separated use casespersonal,internal

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
session_openA

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.

session_closeA

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

session_listA

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

chat_sendA

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.

chat_interruptA

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.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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