adb_file_write

MCP tool from DeepADB by fullread

Create or overwrite text files via heredoc (buffer limit warning, fs-aware, post-verify)

How to use it

Project documentation lists adb_file_write for the DeepADB 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 DeepADB

$npm install && npm run build
FULL DEEPADB LISTING

Other tools in DeepADB (39)

adb_cat

Read text file from device with optional line limit

adb_clear_data

Clear all app data and cache

adb_device_info

Detailed device properties (model, OS, SDK, build, security patch, ABI)

adb_devices

List all connected devices with state, model, and product info

adb_file_checksum

SHA-256/SHA-1/MD5 hash with size-based timeout estimation

adb_file_chmod

Change permissions (Zod-validated octal mode, depth-based recursive protection)

adb_file_chown

Change ownership (root required, depth-based recursive protection)

adb_file_copy

Copy with pre-flight size+space check and post-verify size match

adb_file_fsinfo

Filesystem report: type, mount, capacity, capabilities, SELinux, limitations

adb_file_move

Move/rename with source depth protection and post-verify

adb_file_replace

Find/replace text in files (sed-backed, proper escaping, backup option)

adb_file_stat

File metadata: size, permissions, timestamps, ownership, SELinux context

adb_file_touch

Create empty files or update timestamps (explicit timestamp support)

adb_find

Search for files by name/pattern with depth control and result capping

adb_force_stop

Force-stop an app immediately

adb_getprop

Read a specific system property or dump all properties

adb_grant_permission

Grant a runtime permission to a package

adb_grep

Search file contents with fixed-string default, recursive depth control, result capping

adb_health_check

Comprehensive toolchain validation: ADB binary, server, device connection, authorization, root access, and storage writability

adb_install

Install APK with replace/downgrade options

adb_list_packages

List packages filtered by name or type (all/system/third-party)

adb_list_permissions

List all declared and granted permissions for a package, filterable by granted/denied

adb_logcat

Filtered logcat snapshot with tag, priority, grep, and buffer selection

adb_logcat_clear

Clear all logcat buffers

adb_logcat_crash

Crash buffer log snapshot

adb_logcat_start

Start a background logcat watcher with ring buffer accumulation

adb_ls

List device directory contents (simple or detailed)

adb_mkdir

Create directories with parent creation (-p), hard-blocked kernel paths

adb_package_info

Detailed package info (version, permissions, paths)

adb_pull

Pull file from device to local filesystem

adb_push

Push local file to device (hard-blocked kernel paths, fs-type awareness, storage reporting)

adb_resolve_intents

Discover registered activities, services, and receivers with intent filters

adb_restart_app

Force-stop then re-launch in one call (configurable delay)

adb_revoke_permission

Revoke a runtime permission from a package (reset permission state for testing denial flows)

adb_rm

Delete files/directories with depth-based recursive protection and symlink resolution

adb_root_shell

Execute commands as root via su (requires rooted device, security-checked)

adb_shell

Execute arbitrary shell commands with configurable timeout (security-checked)

adb_start_app

Launch an app by package name (resolves launcher activity)

adb_uninstall

Remove package with optional data retention