Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CHATGPT_SESSION_TOKENNoSession token for chatgpt.com, obtained from cookies. Required if not using CHATGPT_SESSION_TOKEN_FILE.
CHATGPT_WAIT_TIMEOUT_MSNoTimeout in milliseconds for waiting (default: 7200000).
CHATGPT_BROWSER_BASE_URLNoBase URL for the browser (default: http://127.0.0.1:9377).
CHATGPT_SESSION_TOKEN_FILENoPath to a file containing the session token. Alternative to CHATGPT_SESSION_TOKEN.
CHATGPT_IMAGE_SCREENSHOT_FALLBACKNoSet to '1' to enable fallback screenshot output.
CHATGPT_IMAGE_SCREENSHOT_MAX_BYTESNoMaximum bytes for fallback screenshot (default: 2097152).

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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
chatgpt_webui_sessionA

Validate ChatGPT session token and return session details.

chatgpt_webui_modelsA

List available ChatGPT WebUI models for the current account.

chatgpt_webui_askC

Send a prompt to ChatGPT WebUI using session token auth and return assistant text.

chatgpt_webui_ask_async_startA

Start a background ChatGPT ask job and return immediately with a job id. Use this for long-running tasks like Deep Research and Pro runs.

chatgpt_webui_ask_async_statusC

Get status for a background ask job.

chatgpt_webui_ask_async_resultB

Get result for a background ask job. Optionally wait for completion by providing wait_timeout_ms.

chatgpt_webui_promptB

Unified prompt entrypoint. mode=auto uses background runs for long tasks (Deep Research, Pro/Thinking, image generation) and direct wait for short tasks.

chatgpt_webui_runB

Unified run checker. Use run_id from chatgpt_webui_prompt background mode (or job_id from legacy async tools).

chatgpt_webui_commandB

Natural-language command wrapper. Converts phrases like 'with chatgpt webui on gpt 5.2 pro extended thinking: ...' into a chatgpt_webui_prompt 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/Microck/chatgpt-webui-mcp'

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