Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/XxYouDeaDPunKxX/chatgpt-local-agent-mcp/llms.txt

Use this file to discover all available pages before exploring further.

ChatGPT Local Agent MCP registers tools across eight categories — workspace, filesystem, shell, git, process, browser, screen, and desktop. Every tool call is gated by two independent checks: the MCP scope must be granted to the session, and the tool’s required policy mode must be at or below the server’s configured GPT_FS_MCP_MAX_POLICY_MODE. Both conditions must be true for a tool to execute. This two-axis access model lets you grant ChatGPT read-only filesystem visibility without enabling shell execution, or enable git operations without opening desktop automation — each combination is independently controlled.

Tool categories

CategoryRequired scopeTool countDescription
workspacemcp:read1workspace profile information via workspace_info
filesystemmcp:read / mcp:write / mcp:patch / mcp:delete16read, write, patch, delete, search, hash, stat, tree
shellmcp:shell1direct shell command execution
gitmcp:git3status, diff, and commit
processmcp:process7start, stop, kill, list, port_list, tail_log, wait_for_port
browsermcp:browser16sessions, navigation, interaction, screenshots, CDP
screenmcp:screen3window_list, screen_screenshot, screen_ocr
desktopmcp:desktop6mouse and keyboard automation

Policy mode tiers

Policy modes are ordered from least to most permissive. A tool is available only when its required mode is at or below the server’s maximum policy mode setting.
Policy modeRankTypical operations
observe0Read-only introspection: stat, list, read, git status/diff, window list
diagnose1Bounded scanning that may expose more surface: search, screen screenshot, browser wait
edit2Low-risk filesystem mutations: mkdir
operate3Process control, browser sessions, desktop interaction, shell execution
destructive4File write/overwrite, move, copy, delete, apply patch, git commit, rollback
A tool is available when both of these are true: the required scope is granted to the session, and the tool’s policy mode rank is ≤ the server’s configured GPT_FS_MCP_MAX_POLICY_MODE rank.

How tool availability is determined

When a tool call arrives, the runtime performs two sequential checks:
  1. Scope check — the session’s granted scopes must include the tool’s requiredScope. Scopes are granted at the MCP authorization layer and represent what capability categories have been unlocked.
  2. Policy mode check — the tool’s policyMode must rank at or below GPT_FS_MCP_MAX_POLICY_MODE. This is a server-level ceiling that caps how destructive any individual tool call can be, regardless of granted scopes.
If either check fails, the tool returns an error before any filesystem, shell, or network operation takes place.
Start with GPT_FS_MCP_MAX_POLICY_MODE=observe and narrow scopes to validate read-only access before expanding to destructive and broader scopes.

Full tool list

All tools registered by the server, in definition order:
#ToolCategoryRequired scopePolicy modeRisk tags
1workspace_infoworkspacemcp:readobserve
2statfilesystemmcp:readobservepath-disclosure
3list_dirfilesystemmcp:readobservepath-disclosure
4treefilesystemmcp:readobservepath-disclosure
5searchfilesystemmcp:readdiagnosecontent-discovery
6read_filefilesystemmcp:readobservesecret-read
7read_manyfilesystemmcp:readobservesecret-read
8read_file_rangefilesystemmcp:readobservesecret-read
9stat_manyfilesystemmcp:readobservepath-disclosure
10hashfilesystemmcp:readobservecontent-fingerprint
11write_filefilesystemmcp:writedestructivefile-write
12apply_patchfilesystemmcp:patchdestructivepatch, file-write
13mkdirfilesystemmcp:writeeditfilesystem-mutation
14copyfilesystemmcp:writedestructivefile-write, overwrite
15movefilesystemmcp:writedestructiverename, overwrite
16deletefilesystemmcp:deletedestructivedelete, irreversible
17rollback_backupfilesystemmcp:writedestructiverollback, file-write
18git_statusgitmcp:gitobserverepo-state
19git_diffgitmcp:gitobserverepo-content
20git_commitgitmcp:gitdestructivecommit, repo-mutation
21start_processprocessmcp:processoperateprocess, rce, long-running
22tail_logprocessmcp:processobservelog-read
23wait_for_portprocessmcp:processdiagnosenetwork-probe
24process_listprocessmcp:processobserveprocess-disclosure
25port_listprocessmcp:processobservenetwork-disclosure
26stop_processprocessmcp:processoperateprocess-kill
27process_killprocessmcp:processoperateprocess-kill
28browser_session_createbrowsermcp:browseroperatebrowser, network, process
29browser_navigatebrowsermcp:browseroperatebrowser, network
30browser_snapshotbrowsermcp:browserobservebrowser-content, secret-read
31browser_consolebrowsermcp:browserobservebrowser-content, log-read
32browser_networkbrowsermcp:browserobservebrowser-content, network-disclosure
33browser_waitbrowsermcp:browserdiagnosebrowser-state
34browser_clickbrowsermcp:browseroperatebrowser-action
35browser_fillbrowsermcp:browseroperatebrowser-action, form-input
36browser_typebrowsermcp:browseroperatebrowser-action, form-input
37browser_press_keybrowsermcp:browseroperatebrowser-action, keyboard
38browser_screenshotbrowsermcp:browserdiagnosebrowser-content, secret-read, screenshot
39browser_page_listbrowsermcp:browserobservebrowser-state, secret-read
40browser_page_selectbrowsermcp:browseroperatebrowser-state
41browser_session_listbrowsermcp:browserobservebrowser-state
42browser_session_closebrowsermcp:browseroperatebrowser, process
43browser_cdp_connectbrowsermcp:browseroperatebrowser, cdp, existing-profile, secret-read
44window_listscreenmcp:screenobservescreen-disclosure, window-title-disclosure
45screen_screenshotscreenmcp:screendiagnosescreen-disclosure, secret-read
46screen_ocrscreenmcp:screendiagnosescreen-disclosure, secret-read, ocr
47desktop_mouse_positiondesktopmcp:desktopobservedesktop-state, mouse
48desktop_mouse_movedesktopmcp:desktopoperatedesktop-action, mouse
49desktop_mouse_clickdesktopmcp:desktopoperatedesktop-action, mouse, click
50desktop_key_pressdesktopmcp:desktopoperatedesktop-action, keyboard
51desktop_hotkeydesktopmcp:desktopoperatedesktop-action, keyboard, hotkey
52desktop_text_typedesktopmcp:desktopoperatedesktop-action, keyboard, form-input
53shellshellmcp:shelloperaterce, process, network

Tool category pages

Filesystem

stat, list_dir, tree, read_file, write_file, apply_patch, search, hash, copy, move, delete, rollback_backup

Git

git_status, git_diff, git_commit — all require mcp:git

Shell

Single shell tool with rce, process, and network risk tags

Process

start_process, stop_process, process_kill, process_list, port_list, tail_log, wait_for_port

Browser

16 tools covering sessions, navigation, interaction, screenshots, and CDP

Screen & Desktop

window_list, screen_screenshot, screen_ocr, mouse, keyboard automation

Build docs developers (and LLMs) love