add_preference
Adds a new preference given the name, value and type.
Read and edit the stored preferences of an app on a connected Android device, without rebuilding it to flip a value.
LABSCO SUMMARY
The tool set is deliberately literal — device, app, file, key — and each step returns exactly what the next one needs as an argument. add_preference asking for a type is the detail that matters in practice, because the stored type is what the app reads back and a string written where a boolean belongs will not behave. Nothing here keeps a copy of what you overwrote, so a read_preferences call before the change is the only record of the previous state you will have.
An editor for the preference files of apps installed on connected Android devices: walk from device to app to file, read what is stored, and change it in place.
A connected Android device with the app installed on it. Every call is addressed by deviceId, appId and filename. No credentials are configured.
One command — npx -y @charlesmuchene/pref-editor-mcp-server
USE CASES
Pick the connected device, find the app and its preference file, read what is in there, and change the one value you are after. The build on the device stays as it is.
Add a preference the app has never written, remove one to see what it does on a fresh install, and read back what the app is actually holding rather than what you think it is.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
add_preferenceAdds a new preference given the name, value and type.
change_preferenceChanges the value of an existing preference
delete_preferenceDelete an existing preference
devicesLists connected Android devices
list_appsLists apps installed on device
list_filesLists preference files for an app
read_preferencesReads all user preferences in a file
BEFORE YOU INSTALL
7 tools when we connected.
CONTEXT COST
Rated by the size of the 7 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"pref-editor-mcp-server": {
"command": "npx",
"args": [
"-y",
"@charlesmuchene/pref-editor-mcp-server"
]
}
}
}npx -y @charlesmuchene/pref-editor-mcp-server