list_files
list files and directories with pagination; excludes hidden/junk dirs and respects .gitignore by default
How to use it
Project documentation lists list_files for the Notion Local Ops MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Notion Local Ops MCP
pip install -e ".[dev]"Other tools in Notion Local Ops MCP (23)
default edit tool for existing files; uses Begin Patch / Update File syntax, rejects pure-context hunks, requires unique context matches, and returns per-file change stats/warnings
bind the current process to a relay run so subsequent tool calls are mirrored
stop a delegated or background shell task
unbind; equivalent to bindrelayrun with a null requestid
send a task to local codex or claude-code, with optional goal, acceptancecriteria, verificationcommands, and commitmode
inspect current session/effective working directory
read task status and output tail
line-level blame metadata for a file/range
stage selected paths or all changes and create a commit (amend / allowempty / author / signoff / dryrun)
structured diff output grouped by file with per-file truncation
recent commit history
inspect metadata and per-file diff for a commit/ref
structured repository status (use when cwd is inside a git repo)
discover project and global skills with name and description summaries
clean old task artifacts from STATEDIR/tasks with dry-run support
canonical single/batch reader with line-based pagination (startline/linelimit), optional includelinenumbers, and language hint
run local shell commands, optionally in background
start a background shell job and poll output by task id; this is the preferred route for long tests/builds/installs
canonical query tool that unifies glob path search, regex grep, and literal substring search; excludes hidden and .gitignored paths by default and supports regex/text search against a single file path
inspect runtime config and the registered MCP tool list
set session default working directory for subsequent calls
block until a delegated or background shell task completes or times out
write full file content, supports dryrun