Skip to main content
Glama
Android Preference Editor MCP Server

Android Preference Editor MCP Server

Android-Preference-Editor MCP 서버

개요

Android-Preference-Editor MCP 서버는 앱 개발 과정에서 에이전트 애플리케이션이 Android 사용자 환경 설정을 편집할 수 있도록 설계된 자연어 인터페이스입니다. 구현은 Android Preference Editor 라이브러리를 기반으로 합니다. 이 서버는 MCP(Model Context Protocol) 클라이언트 와 완벽하게 통합되어 Android 앱 개발 과정에서 AI 기반 워크플로를 구현할 수 있습니다. 이 MCP를 사용하여 다음과 같은 명령을 내릴 수 있습니다.

  • " isVisited 사용자 기본 설정 전환"

  • "연결된 장치 나열"

  • "기기에 어떤 앱이 설치되어 있나요?"

  • "앱의 모든 사용자 환경 설정을 보여주세요"

  • "epoch 이후 현재 밀리초 값을 사용하여 lastTimeStamp 사용자 기본 설정을 추가합니다."

Related MCP server: @wilsonbeam/openclaw-adb-mcp

도구

이름

설명

변경_선호도

기존 기본 설정의 값을 변경합니다.

삭제_선호도

기존 환경 설정 삭제

추가_선호도

이름, 값, 유형이 주어진 새로운 기본 설정을 추가합니다.

장치

연결된 Android 기기를 나열합니다

목록_앱

기기에 설치된 앱을 나열합니다

파일 목록

앱에 대한 기본 설정 파일을 나열합니다.

읽기_선호도

파일에 있는 모든 사용자 기본 설정을 읽습니다.

데모

사용자 기본 설정 전환

사용 가능한 도구

사용자 기본 설정 전환

사용 가능한 도구

더 많은 데모 스크린샷을 여기에서 확인하세요

요구 사항

  • 호스트 시스템에 Android adb가 설치되었습니다.

Claude Desktop과 통합

claude_desktop_config.json 구성 파일에 다음을 추가하여 Claude Desktop이 이 MCP 서버를 사용하도록 구성할 수 있습니다.

지엑스피1

문제 해결

로그 파일을 추적하여 문제를 해결할 수 있습니다.

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

VS Code와의 통합

VS Code와 함께 서버를 사용하려면 다음이 필요합니다.

  1. 에이전트 모드 도구를 활성화하세요. settings.json 파일에 다음을 추가하세요.

{
  "chat.agent.enabled": true
}
  1. mcp.json 또는 settings.json 에 MCP 서버 구성을 추가합니다.

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