Basic information
About Pref Editor (Android) MCP Server
Pref Editor (Android) lets you read, modify, and manage app preferences on Android via ADB for debugging and automation.
Pref Editor (Android) is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by charlesmuchene. It exposes 7 tools, including change_preference, delete_preference, add_preference, devices and more. Supported transport: stdio. Runtime: TypeScript. License: Apache-2.0. The repository has 2 GitHub stars. Source code is hosted on github.com. Related topics: agentic-ai, ai, android, community, datastore-preferences.
Setup
{
"mcpServers": {
"pref-editor": {
"command": "npx",
"args": [
"-y",
"@charlesmuchene/pref-editor-mcp-server"
]
}
}
}
{
"mcpServers": {
"pref-editor": {
"command": "npx",
"args": [
"-y",
"@charlesmuchene/pref-editor-mcp-server"
]
}
}
}
{
"servers": {
"pref-editor": {
"command": "npx",
"args": [
"-y",
"@charlesmuchene/pref-editor-mcp-server"
]
}
}
}
Pref Editor (Android) MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"pref-editor": {
"command": "npx",
"args": [
"-y",
"@charlesmuchene/pref-editor-mcp-server"
]
}
}
}
Pref Editor (Android) MCP Server tools
- 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.
- devices — Lists connected Android devices
- list_apps — Lists apps installed on device
- list_files — Lists preference files for an app
- read_preferences — Reads all user preferences in a file
Overview
What is Pref Editor (Android)?
An MCP server that enables editing Android user preferences in real time using natural language commands. It connects with MCP clients (e.g., Claude Desktop, VS Code, GitHub Copilot) and uses the Android Preference Editor library and Android adb to manage preferences on connected devices.
How to use Pref Editor (Android)?
Install via Docker or npx, then add the server configuration to your MCP client’s config file (e.g., mcp.json for VS Code or GitHub Copilot, claude_desktop_config.json for Claude Desktop). The server provides tools like change_preference, delete_preference, add_preference, read_preferences, devices, list_apps, and list_files.
Key features of Pref Editor (Android)
- Edit Android preferences with natural language commands
- Change, delete, add, and read preference values
- List connected Android devices
- List apps installed on a device
- List preference files for an app
- Run via Docker or npx with no manual file editing
Use cases of Pref Editor (Android)
- Toggle a user preference like
isVisitedduring development - Turn off an onboarding guide without opening configuration files
- List all current user preference values for debugging
- Create a timestamp preference with the current epoch time
Frequently asked questions
1 What are the system requirements?
Android adb (v1.0.41+) and Node.js 14+ or Docker are required.
2 How do I integrate with Claude Desktop?
Add the server to /Users/<username>/Library/Application Support/Claude/claude_desktop_config.json using the Docker or npx configuration provided in the README.
3 What tools are available?
The server exposes seven tools: change_preference, delete_preference, add_preference, read_preferences, devices, list_apps, and list_files.
4 Can I run it with Docker?
Yes, the server is available as a Docker image (charlesmuchene/pref-editor-mcp-server) and can be run with docker run -i --rm charlesmuchene/pref-editor-mcp-server.
5 How can I test the server?
Use the MCP Inspector by running npx @modelcontextprotocol/inspector npm run start from the project directory.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In