Skip to main content
Glama
L-Chris

chatlab-mcp

by L-Chris

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CHATLAB_HOSTNoChatLab listen host127.0.0.1
CHATLAB_PORTNoChatLab HTTP API port3110
CHATLAB_TOKENNoBearer token passed to chatlab-cli and used for API callsgenerated per MCP process
CHATLAB_CLI_BINNoOptional custom executable or script pathbundled chatlab-cli
CHATLAB_API_PORTNoFallback port variable if CHATLAB_PORT is not set
CHATLAB_HEADLESSNoUse --headless; set to false to serve the Web UI tootrue
CHATLAB_AUTO_STARTNoStart chatlab-cli automatically before API callstrue
CHATLAB_TIMEOUT_MSNoHTTP request timeout30000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
chatlab_startB

Start chatlab-cli in headless HTTP API mode. Port defaults to CHATLAB_PORT or 3110.

chatlab_stopA

Stop the chatlab-cli child process started by this MCP server.

chatlab_statusA

Get local process state and ChatLab API status.

chatlab_list_sessionsB

List imported ChatLab sessions.

chatlab_get_sessionA

Get metadata for one imported ChatLab session.

chatlab_get_messagesC

Get paginated messages from a ChatLab session.

chatlab_get_membersC

List members in a ChatLab session.

chatlab_get_overviewC

Get overview stats for a ChatLab session.

chatlab_execute_sqlB

Execute readonly SQL against a ChatLab session database.

chatlab_export_sessionB

Export one ChatLab session as ChatLab-format JSON.

chatlab_import_sessionC

Import a ChatLab-format JSON payload into a session ID.

chatlab_requestA

Call any ChatLab HTTP API endpoint. Use this for endpoints not covered by dedicated tools.

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/L-Chris/chatlab-mcp'

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