chatlab-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CHATLAB_HOST | No | ChatLab listen host | 127.0.0.1 |
| CHATLAB_PORT | No | ChatLab HTTP API port | 3110 |
| CHATLAB_TOKEN | No | Bearer token passed to chatlab-cli and used for API calls | generated per MCP process |
| CHATLAB_CLI_BIN | No | Optional custom executable or script path | bundled chatlab-cli |
| CHATLAB_API_PORT | No | Fallback port variable if CHATLAB_PORT is not set | |
| CHATLAB_HEADLESS | No | Use --headless; set to false to serve the Web UI too | true |
| CHATLAB_AUTO_START | No | Start chatlab-cli automatically before API calls | true |
| CHATLAB_TIMEOUT_MS | No | HTTP request timeout | 30000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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