Pref Editor — Claude Code MCP server: features and setup
Pref Editor lets an MCP client inspect and edit Android app preferences. Use it to check or change app settings during development.
no license updated 2026-10-29
Open on GitHubWhat Pref Editor does
Pref Editor can read an Android app’s preference files, add entries, change existing values, and remove them through an MCP client. It also lists connected devices, installed apps, and an app’s preference files. That gives you a way to inspect settings without editing the file by hand.
The server requires Android adb version v1.0.41+ and either Node.js 14+ or Docker. Start it with npx or Docker, then configure the MCP client to launch the pref-editor server. Without adb, it cannot connect to an Android device.
What it helps with
- read preferences from an Android app’s files
- change or remove an existing preference
- add a preference with a name, value, and type
- list connected Android devices and installed apps
- locate preference files for an app
Example prompts for the agent
- Read all preferences for this Android app.
- Set the
isVisitedpreference totrue. - List the connected Android devices and this app’s preference files.
How to install Pref Editor
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Pref Editor
How do I install Pref Editor in Claude Code?
Add an MCP server named pref-editor to the client configuration and set it to launch the @charlesmuchene/pref-editor-mcp-server package with npx. You also need Android adb version v1.0.41+ and either Node.js 14+ or Docker.
What does Pref Editor do?
It reads Android app preference files and can add, change, or delete values. It can also list connected devices and installed apps.
What does Pref Editor need to work with Android?
It requires Android adb version v1.0.41+. Run the server with Node.js 14+ or Docker.