Android Preference Editor MCP Server
Android-Preference-Редактор MCP Сервер
Обзор
Android-Preference-Editor MCP Server — это интерфейс на естественном языке, разработанный для агентских приложений для редактирования пользовательских настроек Android во время разработки приложения. Реализация основана на библиотеке Android Preference Editor . Этот сервер легко интегрируется с клиентами MCP (Model Context Protocol) , обеспечивая рабочие процессы на основе ИИ во время разработки приложений Android. Используя этот MCP, вы можете давать такие инструкции:
«Переключить пользовательскую настройку isVisited »
«Список подключенных устройств»
«Какие приложения установлены на устройстве?»
«Покажи мне все пользовательские настройки в приложении»
«Добавить пользовательскую настройку lastTimeStamp со значением текущих миллисекунд с начала эпохи»
Related MCP server: @wilsonbeam/openclaw-adb-mcp
Инструменты
Имя | Описание |
изменить_предпочтение | Изменяет значение существующей настройки |
удалить_предпочтение | Удалить существующую настройку |
добавить_предпочтение | Добавляет новую настройку с заданным именем, значением и типом. |
устройства | Список подключенных устройств Android |
список_приложений | Список приложений, установленных на устройстве |
список_файлов | Перечисляет файлы настроек для приложения |
read_preferences | Считывает все пользовательские настройки в файле |
Демо
Переключить предпочтения пользователя | Доступные инструменты |
|
|
Больше скриншотов демо можно увидеть здесь
Требования
Android adb установлен на хост-системе.
Интеграция с Claude Desktop
Вы можете настроить Claude Desktop для использования этого сервера MCP, добавив следующее в файл конфигурации claude_desktop_config.json .
{
"mcpServers": {
"pref-editor": {
"command": "npx",
"args": ["@charlesmuchene/pref-editor-mcp-server"]
}
}
}Поиск неисправностей
Вы можете устранить неполадки, просматривая файл журнала:
tail -f ~/Library/Logs/Claude/mcp-server-pref-editor.logИнтеграция с VS Code
Чтобы использовать сервер с VS Code, вам необходимо:
Включите инструменты режима агента . Добавьте следующее в
settings.json:
{
"chat.agent.enabled": true
}Добавьте конфигурацию сервера MCP в ваш
mcp.jsonилиsettings.json:
// .vscode/mcp.json
{
"servers": {
"pref-editor": {
"type": "stdio",
"command": "npx",
"args": ["@charlesmuchene/pref-editor-mcp-server"]
}
}
}// settings.json
{
"mcp": {
"pref-editor": {
"type": "stdio",
"command": "npx",
"args": ["@charlesmuchene/pref-editor-mcp-server"]
}
}
}Более подробную информацию см. в документации VS Code .
Установка
# Clone the repository
git clone https://github.com/charlesmuchene/pref-editor-mcp-server.git
cd pref-editor-mcp-server
# Install dependencies and build
npm installТестирование
Вы можете использовать MCP Inspector для визуальной отладки этого MCP-сервера.
npx @modelcontextprotocol/inspector npm run devЛицензия
См. ЛИЦЕНЗИЮ
Контакт
Если у вас есть вопросы или вам нужна поддержка, свяжитесь с нами через GitHub Issues .
Available Tools
7 toolsadd_preferenceC
Adds a new preference given the name, value and type.
Inputs: name (required), value (required), type (required), deviceId (required), +2 more.
change_preferenceC
Changes the value of an existing preference
Inputs: name (required), value (required), deviceId (required), appId (required), +1 more.
delete_preferenceC
Delete an existing preference
Inputs: name (required), deviceId (required), appId (required), filename (required).
devicesB
Lists connected Android devices
Inputs: no named parameters.
list_appsC
Lists apps installed on device
Inputs: deviceId (required).
list_filesC
Lists preference files for an app
Inputs: deviceId (required), appId (required).
read_preferencesC
Reads all user preferences in a file
Inputs: deviceId (required), appId (required), filename (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a clearly distinct purpose with no ambiguity. Preference management tools (add, change, delete, read) target specific operations, while device/app/file listing tools serve separate discovery functions. The descriptions make it easy to differentiate between actions on preferences versus actions on devices/apps/files.
All tools follow a consistent verb_noun naming pattern throughout. The verbs (add, change, delete, list, read) are consistently applied to their respective nouns (preference, devices, apps, files, preferences). There are no deviations in style or convention across the tool set.
With 7 tools, this server is well-scoped for editing Android preferences. It covers core operations (CRUD for preferences) plus necessary discovery tools (devices, apps, files) without being overly sparse or bloated. Each tool earns its place in the workflow.
The tool surface provides complete coverage for the Android preference editing domain. It offers full CRUD operations for preferences (add, change, delete, read) plus the necessary discovery chain (devices → apps → files → preferences). There are no obvious gaps that would prevent an agent from performing the intended workflows.
Maintenance
Related MCP Connectors
MCP server for static security analysis of Android source code
Remote MCP server to control your Android phone from AI assistants with per-app permissions.
MCP server to assist with JxBrowser development.
MCP Server for JFrog, providing tools for development and artifact management.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA lightweight MCP server for Android operating system automation. This server provides tools to interact directly with Android devices and app interaction with control3-
- AlicenseBqualityDmaintenanceMCP server for Android device automation via ADB, enabling screen control, phone functions, app management, and device control.301MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for Android device management via ADB, enabling inspection and configuration of Android devices over USB or Wi-Fi.31 npmApache 2.0
- AlicenseBqualityCmaintenanceMCP server for Android emulator automation via ADB.1787 npm4MIT

