ChatGPT Local Agent MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NODE_ENV | No | Node environment. | development |
| AUTH_REQUIRED | No | Whether authentication is required. | true |
| GPT_FS_MCP_HOST | No | Host to bind the server to. | 127.0.0.1 |
| GPT_FS_MCP_PORT | No | Port to bind the server to. | 8789 |
| OAUTH_CLIENT_ID | No | ChatGPT OAuth client ID. | |
| PUBLIC_BASE_URL | No | Public base URL for OAuth callbacks. | |
| GITHUB_CLIENT_ID | No | GitHub OAuth App client ID. | |
| CLOUDFLARED_CONFIG | No | Path to cloudflared config file. | |
| OAUTH_CLIENT_SECRET | No | ChatGPT OAuth client secret. | |
| OAUTH_REDIRECT_URIS | No | Allowed redirect URIs for ChatGPT OAuth. | |
| GITHUB_CLIENT_SECRET | No | GitHub OAuth App client secret. | |
| ALLOWED_GITHUB_LOGINS | No | Comma-separated list of allowed GitHub logins. | |
| GPT_FS_MCP_DEFAULT_CWD | No | Default working directory. | |
| GPT_FS_MCP_SHELL_POLICY | No | Shell execution policy. | full |
| CLOUDFLARE_TUNNEL_ENABLED | No | Whether Cloudflare Tunnel is enabled. | false |
| GPT_FS_MCP_PROCESS_POLICY | No | Process management policy. | full |
| GPT_FS_MCP_MAX_POLICY_MODE | No | Maximum policy mode allowed. | destructive |
| GPT_FS_MCP_WORKSPACE_PROFILES_JSON | No | JSON string of workspace profiles. | |
| GPT_FS_MCP_ENFORCE_WORKSPACE_PROFILES | No | Whether to enforce workspace profiles. | true |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No 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
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/XxYouDeaDPunKxX/chatgpt-local-agent-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server