Skip to main content
Glama
Android Preference Editor MCP Server

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, вам необходимо:

  1. Включите инструменты режима агента . Добавьте следующее в settings.json :

{
  "chat.agent.enabled": true
}
  1. Добавьте конфигурацию сервера 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 tools
add_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

    A3.5/5.0

    Scored across 7 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness5/5

    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

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers