Android Preference Editor MCP Server
Android 設定エディター MCP サーバー
概要
*Android-Preference-Editor MCPサーバーは、*エージェントアプリケーションがアプリ開発中にAndroidユーザー設定を編集できるように設計された自然言語インターフェースです。実装はAndroid Preference Editorライブラリに基づいています。このサーバーはMCP(Model Context Protocol)クライアントとシームレスに統合され、Androidアプリ開発におけるAI駆動型ワークフローを実現します。このMCPを使用すると、次のような指示を与えることができます。
「 isVisitedユーザー設定を切り替える」
「接続されているデバイスを一覧表示する」
「デバイスにはどのようなアプリがインストールされていますか?」
「アプリ内のすべてのユーザー設定を表示」
「エポックからの現在のミリ秒値を持つlastTimeStampユーザー設定を追加します」
Related MCP server: @wilsonbeam/openclaw-adb-mcp
ツール
名前 | 説明 |
設定を変更する | 既存の設定の値を変更します |
削除設定 | 既存の設定を削除する |
設定を追加する | 名前、値、タイプを指定して新しい設定を追加します。 |
デバイス | 接続されているAndroidデバイスを一覧表示します |
リストアプリ | デバイスにインストールされているアプリを一覧表示します |
リストファイル | アプリの設定ファイルを一覧表示します |
設定の読み取り | ファイル内のすべてのユーザー設定を読み取ります |
デモ
ユーザー設定を切り替える | 利用可能なツール |
|
|
その他のデモのスクリーンショットはこちらをご覧ください
要件
Android adbがホスト システムにインストールされています。
Claude Desktopとの統合
claude_desktop_config.json構成ファイルに次のコードを追加することで、Claude Desktop がこの MCP サーバーを使用するように構成できます。
{
"mcpServers": {
"pref-editor": {
"command": "npx",
"args": ["@charlesmuchene/pref-editor-mcp-server"]
}
}
}トラブルシューティング
ログ ファイルを追跡することで、問題をトラブルシューティングできます。
tail -f ~/Library/Logs/Claude/mcp-server-pref-editor.logVS Codeとの統合
VS Code でサーバーを使用するには、次のことが必要です。
エージェントモードツールを有効に
settings.jsonます。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 インスペクターを使用すると、この 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

