procursorrules.com
Sign In
Back to MCPs
P

Pref Editor MCP Server

by charlesmuchene

Android Preference Editor MCP Server

Pref-Editor MCP Server

Overview

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.

Just tell the MCP server what you want to do, for example:

  • “Toggle the isVisited user preference”
  • “Turn off the onboarding guide”
  • “List all the user preference values”
  • "Create a timestamp preference with the current epoch time"

Experience a smarter, faster way to manage Android preferences—just ask!

Available Tools

NameDescription
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

Demo

Toggle a user preferenceAvailable toolsAdd a preference
Toggle a preferenceAvailable toolsAdd a preference

See more demos in the demo screenshots directory

Requirements

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

Integrations

This server is available in the Docker MCP Catalog. Enable the Pref Editor server in Docker desktop's MCP toolkit and you'll have access to all the available tools.

Android Studio

Assumes an MCP compatible client is installed.

Add the following configuration to the MCP server config file. For example, for the GitHub Copilot IntelliJ Plugin, the config file is ~/.config/github-copilot/intellij/mcp.json.

Docker

*Configuration content*

npx

*Configuration content*

Claude Desktop

Add this server to the /Users/<username>/Library/Application Support/Claude/claude_desktop_config.json configuration file.

Docker

*Configuration content*

npx

*Configuration content*

You can troubleshoot problems by tailing the log file:

tail -f ~/Library/Logs/Claude/mcp-server-pref-editor.log

VS Code

To use the server with VS Code, you need to:

  1. Add the MCP Server configuration to your mcp.json or settings.json:

.vscode/mcp.json

*Configuration content*

~/Library/Application Support/Code/User/settings.json

*Configuration content*

For more information, see the VS Code documentation.

Building Locally

Refer to DEV.md for instructions on how to build this project.

Testing

You can use the MCP Inspector for visual debugging of this MCP Server.

npx @modelcontextprotocol/inspector npm run start

License

See LICENSE

Contact

For questions or support, reach out via GitHub Issues.

Contributing

We welcome contributions from the community! 🎉

First-time contributors: Please start by reading our CONTRIBUTING.md guide, which covers:

  • PR requirements and title format
  • Development setup and workflow
  • Code quality standards
  • License information

For detailed development instructions, see DEV.md.

![Contributor Covenant](https://img.shields.io/badge/Contributor Covenant-2.1-4baaaa.svg)

Statistics
Tools
0
Stars
2
Last Checked
9/4/2025
Version Info

No version information available