Pref Editor MCP Server

MCP server for editing Android preferences

Local serverstdio

What is the Pref Editor MCP server?

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.

What Pref Editor does

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.

Tools it exposes

Once connected, the assistant can call these 7 tools directly:

  • 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

Installing the pref editor mcp server

The 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.

Requirements

  • Android adb (v1.0.41+) - Node.js 14+ or Docker

Where it fits

Developer-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.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • With 7 tools exposed, expect a noticeable bump in prompt size — disable it in projects that never use Pref Editor.
  • Maintained by charlesmuchene.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the pref editor mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
change_preferenceChanges the value of an existing preference
delete_preferenceDelete an existing preference
add_preferenceAdds a new preference given the name, value, and type
read_preferencesReads all user preferences in a file
devicesLists connected Android devices
list_appsLists apps installed on the device
list_filesLists preference files for an app

How to install the Pref Editor MCP server

{
  "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.

Configuration

  • Android adb (v1.0.41+) - Node.js 14+ or Docker

Example prompts to try

  • Use Pref Editor to change preference.
  • Use Pref Editor to delete preference.
  • Use Pref Editor to add preference.

Frequently asked questions

It connects Pref Editor to MCP-compatible AI assistants such as Claude and Cursor, exposing 7 tools (change_preference, delete_preference, add_preference, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Pref Editor directly.