MCP server for editing Android preferences
If you want an AI assistant working directly with Pref Editor, the pref editor mcp server is the bridge. MCP server for editing Android preferences.
Unlock the power of natural language for Android app development with the Android Preference Editor MCP Server. Effortlessly edit user preferences in real time using simple, conversational commands—no manual file editing required! Built on the robust Android Preference Editor library, this server seamlessly connects with MCP (Model Context Protocol) clients to supercharge your AI-driven workflows.
Once connected, the assistant can call these 7 tools directly:
change_preference — Changes the value of an existing preferencedelete_preference — Delete an existing preferenceadd_preference — Adds a new preference given the name, value, and typeread_preferences — Reads all user preferences in a filedevices — Lists connected Android deviceslist_apps — Lists apps installed on the devicelist_files — Lists preference files for an appThe server is distributed via npm as @modelcontextprotocol/inspector, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.
v1.0.41+) - Node.js 14+ or DockerDeveloper-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Pref Editor sits in that group, and the shape of its toolset — change_preference, delete_preference, add_preference among others — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.
| Tool | What it does |
|---|---|
| change_preference | Changes the value of an existing preference |
| delete_preference | Delete an existing preference |
| add_preference | Adds a new preference given the name, value, and type |
| read_preferences | Reads all user preferences in a file |
| devices | Lists connected Android devices |
| list_apps | Lists apps installed on the device |
| list_files | Lists preference files for an app |
{
"mcpServers": {
"pref-editor": {
"command": "docker",
"args": ["run", "-i", "--rm", "charlesmuchene/pref-editor-mcp-server"]
}
}
}Configuration as documented by the project. Restart the client after saving.
v1.0.41+) - Node.js 14+ or DockerKill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.