Skip to main content
Glama
protosskai

chatgpt-context-mcp

by protosskai

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CHATGPT_ACCOUNT_IDNoChatGPT account ID (optional, for Team/Enterprise accounts).
CHATGPT_BEARER_TOKENYesChatGPT bearer token from browser DevTools.
CHATGPT_CODEX_MCP_ENV_FILENoPath to a private env file for credentials.$HOME/.config/chatgpt-context-mcp/env
CHATGPT_CODEX_MCP_CACHE_DIRNoOverride cache directory path.$HOME/.cache/chatgpt-context-mcp/

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
import_chatgpt_urlC

Refresh and import a private ChatGPT /c/{conversation_id} URL into local cache and return bounded context.

get_chatgpt_contextA

Read an already imported ChatGPT conversation from local cache. This does not check the remote conversation.

list_chatgpt_importsA

List locally cached ChatGPT conversation imports, optionally filtered by a simple text query.

verify_chatgpt_authA

Check whether CHATGPT_BEARER_TOKEN is present, unexpired, and accepted by the ChatGPT backend.

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/protosskai/chatgpt-context-mcp'

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