Skip to main content
Glama
tanongkiat

mcp-chatgpt-file-store

by tanongkiat

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HTTPNoSet to '1' to run in Streamable HTTP mode instead of stdio.
MCP_HTTP_PORTNoPort for the Streamable HTTP server. Defaults to 3000.3000
MCP_AUTH_TOKENNoBearer token required for /mcp requests. If not set, no authentication is enforced.
CHATGPT_FILE_STORE_DIRSNoComma-separated list of directories that ChatGPT is allowed to read/write. Defaults to the `chatgpt` folder inside the project.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_allowed_directoriesA

Returns the directories ChatGPT is allowed to read from and write to. Call this first.

list_directoryA

Lists files and folders inside a directory within the allowed store.

read_fileA

Reads the full contents of a text file inside the allowed file store.

get_file_infoA

Returns metadata (size, modified time, permissions) for a path.

search_filesB

Searches the file store for files matching a pattern (supports * and ?).

write_fileA

Creates or overwrites a file in the file store. Parent folders are created automatically. Use this to save notes, drafts, summaries, or generated documents.

append_fileA

Appends content to an existing file, or creates the file if it does not exist. Use this to keep growing a running log or notes file.

create_directoryA

Creates a folder (and any missing parents) inside the file store.

move_fileB

Moves or renames a file or folder inside the file store.

delete_fileA

Permanently deletes a file or folder (recursively) from the file store. Use with care.

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/tanongkiat/mcp-chatgpt-file-store'

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