Λογότυπο Android MCP Server

Android MCP Server

Κοινότητα
jduartedj

MCP server for Android device control via ADB - supports screenshot, touch, and swipe actions

Εκδότηςjduartedj
Αποθετήριοandroid-mcp-server
ΓλώσσαTypeScript
Forks
2
Αστέρια
6
Διαθέσιμα εργαλεία
0
Τύπος μεταφοράςstdio
Κατηγορίες
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Συνδέστε εργαλεία σε ροές εργασίας AI

    Το Android MCP Server παρέχει δυνατότητες MCP που μπορούν να χρησιμοποιηθούν από συμβατές εφαρμογές-πελάτες AI και πράκτορες AI.

  • 0 διαθέσιμα εργαλεία

    Περιηγηθείτε παρακάτω στις ενέργειες που μπορούν να κληθούν, μαζί με τα ονόματα και τις περιγραφές τους, όταν παρέχονται από τον διακομιστή.

  • Ρυθμίσεις έτοιμες για αντιγραφή

    Χρησιμοποιήστε τα αποσπάσματα εγκατάστασης για να ρυθμίσετε αυτόν τον διακομιστή στην εφαρμογή-πελάτη MCP που προτιμάτε.

  • Δείκτες ενδιαφέροντος για τον ανοιχτό κώδικα

    6 αστέρια και 2 διακλαδώσεις στο συνδεδεμένο αποθετήριο.

Android MCP Server

A Model Context Protocol (MCP) server providing comprehensive Android device control with 22 powerful tools for UI automation, screen capture, and ultra-fast H.264 streaming via Scrcpy.

Features

  • 📸 Screenshots: Capture screenshots from Android devices
  • 👆 Touch & Gestures: Simulate touch, long press, swipe, and multi-point interactions
  • ⌨️ Text Input & Key Events: Direct text input and key event simulation (2 tools)
    • Send key events (HOME, BACK, ENTER, etc.)
    • Input text directly into focused fields
  • 🔧 Generic ADB Commands: Execute any ADB command with custom parameters (1 tool)
    • Full flexibility for agents to run custom ADB operations
    • Access to all ADB functionality (logcat, shell commands, package manager, etc.)
  • 🎯 UIAutomator: Full UI hierarchy inspection and element interaction (10 tools)
    • Dump complete XML UI hierarchy
    • Find elements by resource ID or text
    • Click, double-click, long-click on elements
    • Set/clear text in input fields
    • Toggle checkboxes
    • Wait for elements to appear
    • Scroll within specific elements
  • ⚡ Scrcpy Streaming: Ultra-fast H.264 video streaming (4 tools)
    • Start/stop H.264 video streams (~2s setup, <50ms frame polling)
    • Capture single frames (100-300ms) or latest stream frames (<50ms)
    • Dramatically faster than screenshot capture
  • 🚀 App Management: Launch apps and list installed packages
  • 🔌 ADB Integration: Direct integration with Android Debug Bridge
  • ⚡ Auto-Download: Automatically downloads ADB and Scrcpy from official sources

Prerequisites

  • Node.js 18 or higher
  • Android device connected via USB with USB debugging enabled, or emulator running

Note: ADB (Android Debug Bridge) and Scrcpy are optional - the server automatically downloads them from official sources on first use if needed.

Quick Start

  1. Clone and Build

    bash
    git clone https://github.com/jduartedj/android-mcp-server.git
    cd android-mcp-server
    npm install
    npm run build
  2. Test the Server

    bash
    node dist/index.js

    The server will start and automatically download ADB/Scrcpy if needed.

  3. Add to VS Code (see VS Code Integration below)

Installation

bash
npm install
npm run build

Usage

Running the Server Standalone

bash
node dist/index.js

Configuration

The server supports the following environment variables:

  • ADB_PATH: Custom path to ADB executable (default: uses system PATH or auto-downloads)
  • DEVICE_SERIAL: Specific device serial number to target (default: first available device)

VS Code Integration

Adding to VS Code GitHub Copilot

To use this MCP server with GitHub Copilot in VS Code:

  1. Open VS Code Settings (Ctrl+, or Cmd+,)

  2. Search for MCP or navigate to: GitHub Copilot > Chat > MCP Servers

  3. Edit the MCP configuration by clicking "Edit in settings.json"

  4. Add the Android MCP Server to your configuration:

json
{
  "github.copilot.chat.mcp.servers": {
    "android-mcp-server": {
      "command": "node",
      "args": ["F:\\android-mcp-server\\dist\\index.js"],
      "env": {
        "ADB_PATH": "",
        "DEVICE_SERIAL": ""
      }
    }
  }
}

Note: Replace F:\\android-mcp-server\\dist\\index.js with the actual absolute path to your dist/index.js file. Use double backslashes on Windows.

  1. Alternative: Using npx (if published to npm):
json
{
  "github.copilot.chat.mcp.servers": {
    "android-mcp-server": {
      "command": "npx",
      "args": ["-y", "android-mcp-server"]
    }
  }
}
  1. Reload VS Code or restart the GitHub Copilot extension

Verifying the Integration

After adding the server:

  1. Open GitHub Copilot Chat in VS Code
  2. Type @workspace and you should see the Android MCP tools available
  3. Try asking: "Take a screenshot of my Android device"
  4. Copilot will use the appropriate tool to capture the screen

Example Prompts for Copilot

Once integrated, you can ask GitHub Copilot:

  • "Take a screenshot of my Android device"
  • "Start streaming my device screen for real-time monitoring"
  • "Get the latest frame from the stream"
  • "Tap at coordinates 500, 1000 on my phone"
  • "Swipe up on my Android screen"
  • "Press the back button on my device"
  • "Send the home key event"
  • "Type 'hello world' into the current field"
  • "Press enter to submit the form"
  • "Get the device battery status using ADB"
  • "Read the logcat output for debugging"
  • "Clear the app data for com.example.app"
  • "List all installed packages"
  • "Launch the Chrome app"
  • "Find the login button and click it"
  • "Fill in the email field with user@example.com"
  • "Dump the UI hierarchy of the current screen"
  • "Long press on the menu button"
  • "Scroll down in the settings list"
  • "Toggle the enable notifications checkbox"
  • "Wait for the loading indicator to disappear"

All 22 MCP Tools

Basic Tools (5)

1. android_screenshot

Capture a screenshot from the Android device.

Parameters:

  • outputPath (optional): Local path to save the screenshot. If not provided, returns base64 encoded image.
  • deviceSerial (optional): Target specific device by serial number

Performance: ~1-2 seconds per capture

Example:

json
{
  "name": "android_screenshot",
  "arguments": {
    "outputPath": "./screenshot.png"
  }
}

2. android_touch

Simulate a touch event at specific screen coordinates. Supports both quick taps and long presses.

Parameters:

  • x (required): X coordinate
  • y (required): Y coordinate
  • duration (optional): Touch duration in milliseconds (default: 100ms for tap, >100ms for long press)
  • deviceSerial (optional): Target specific device by serial number

Performance: Immediate

Example - Quick Tap:

json
{
  "name": "android_touch",
  "arguments": { "x": 500, "y": 1000, "duration": 100 }
}

Example - Long Press:

json
{
  "name": "android_touch",
  "arguments": { "x": 500, "y": 1000, "duration": 2000 }
}

3. android_swipe

Perform a swipe gesture between two coordinates.

Parameters:

  • startX (required): Starting X coordinate
  • startY (required): Starting Y coordinate
  • endX (required): Ending X coordinate
  • endY (required): Ending Y coordinate
  • duration (optional): Swipe duration in milliseconds (default: 300)
  • deviceSerial (optional): Target specific device by serial number

Performance: Immediate

Example:

json
{
  "name": "android_swipe",
  "arguments": {
    "startX": 500, "startY": 1500, "endX": 500, "endY": 500, "duration": 300
  }
}

4. android_launch_app

Launch an Android app by package name.

Parameters:

  • packageName (required): Package name of the app (e.g., com.example.app, com.google.android.apps.maps)
  • deviceSerial (optional): Target specific device by serial number

Performance: ~1-2 seconds

Example:

json
{
  "name": "android_launch_app",
  "arguments": { "packageName": "com.example.app" }
}

5. android_list_packages

List installed packages on the Android device with optional filtering.

Parameters:

  • filter (optional): Search filter for package names (case-insensitive)
  • deviceSerial (optional): Target specific device by serial number

Performance: Medium (retrieves full package list)

Example - List All Packages:

json
{
  "name": "android_list_packages",
  "arguments": {}
}

Example - Filter Packages:

json
{
  "name": "android_list_packages",
  "arguments": { "filter": "google" }
}

Text Input & Key Event Tools (2)

6. android_input_text

Input text into the currently focused field on the Android device via ADB.

Parameters:

  • text (required): Text to input. Spaces are automatically handled.
  • deviceSerial (optional): Target specific device by serial number

Performance: Immediate

Use Cases:

  • Quick text input without UIAutomator
  • Inputting text when element resource ID is unknown
  • Simple form filling
  • Command-line style text entry

Example:

json
{
  "name": "android_input_text",
  "arguments": {
    "text": "user@example.com"
  }
}

7. android_send_key_event

Send a key event to the Android device (e.g., HOME, BACK, ENTER).

Parameters:

  • keyCode (required): Key event code. Can be key name (e.g., KEYEVENT_HOME, KEYEVENT_BACK) or numeric code (e.g., 3 for HOME, 4 for BACK)
  • deviceSerial (optional): Target specific device by serial number

Performance: Immediate

Common Key Codes:

  • KEYEVENT_HOME or 3 - Home button
  • KEYEVENT_BACK or 4 - Back button
  • KEYEVENT_ENTER or 66 - Enter/Return key
  • KEYEVENT_DEL or 67 - Delete key
  • KEYEVENT_MENU or 82 - Menu button
  • KEYEVENT_VOLUME_UP or 24 - Volume up
  • KEYEVENT_VOLUME_DOWN or 25 - Volume down
  • KEYEVENT_POWER or 26 - Power button

Use Cases:

  • Navigation (HOME, BACK)
  • Submitting forms (ENTER)
  • Controlling device functions (VOLUME, POWER)
  • Keyboard shortcuts

Example:

json
{
  "name": "android_send_key_event",
  "arguments": {
    "keyCode": "KEYEVENT_BACK"
  }
}

Generic ADB Command Tool (1)

8. android_execute_command

Execute a generic ADB command with custom arguments. This powerful tool gives agents full flexibility to run any ADB command with their own parameters.

Parameters:

  • args (required): Array of ADB command arguments (e.g., ["shell", "pm", "list", "packages"])
  • deviceSerial (optional): Target specific device by serial number

Performance: Varies by command

Returns: Both stdout and stderr from the command execution

Use Cases:

  • Execute custom shell commands
  • Access logcat for debugging
  • Manage packages (install, uninstall, clear data)
  • Query device properties
  • File operations (push, pull)
  • Network operations (port forwarding)
  • Any ADB functionality not covered by specific tools

Common Examples:

List all packages:

json
{
  "name": "android_execute_command",
  "arguments": {
    "args": ["shell", "pm", "list", "packages"]
  }
}

Get device properties:

json
{
  "name": "android_execute_command",
  "arguments": {
    "args": ["shell", "getprop", "ro.build.version.release"]
  }
}

Read logcat:

json
{
  "name": "android_execute_command",
  "arguments": {
    "args": ["logcat", "-d", "-s", "MyTag:V"]
  }
}

Clear app data:

json
{
  "name": "android_execute_command",
  "arguments": {
    "args": ["shell", "pm", "clear", "com.example.app"]
  }
}

Get battery info:

json
{
  "name": "android_execute_command",
  "arguments": {
    "args": ["shell", "dumpsys", "battery"]
  }
}

Push file to device:

json
{
  "name": "android_execute_command",
  "arguments": {
    "args": ["push", "/local/path/file.txt", "/sdcard/file.txt"]
  }
}

Install APK:

json
{
  "name": "android_execute_command",
  "arguments": {
    "args": ["install", "-r", "/path/to/app.apk"]
  }
}

Port forwarding:

json
{
  "name": "android_execute_command",
  "arguments": {
    "args": ["forward", "tcp:8080", "tcp:8080"]
  }
}

UIAutomator Tools (10)

9. android_uiautomator_dump

Dump the complete UI hierarchy of the current screen as XML for inspection and element identification.

Parameters:

  • deviceSerial (optional): Target specific device by serial number

Returns: Complete XML UI hierarchy that can be parsed to find element resource IDs and attributes.

Performance: ~500-800ms

Use Cases:

  • Inspecting app UI structure
  • Finding element resource IDs for automation
  • Understanding view hierarchies

Example:

json
{
  "name": "android_uiautomator_dump",
  "arguments": {}
}

10. android_uiautomator_find

Find UI elements by resource ID or text content using UIAutomator.

Parameters:

  • resourceId (optional): Resource ID to search for (e.g., com.example.app:id/button_submit)
  • text (optional): Text content to search for
  • deviceSerial (optional): Target specific device by serial number

Performance: Fast

Example - Find by Resource ID:

json
{
  "name": "android_uiautomator_find",
  "arguments": { "resourceId": "com.example.app:id/email_input" }
}

Example - Find by Text:

json
{
  "name": "android_uiautomator_find",
  "arguments": { "text": "Submit" }
}

11. android_uiautomator_click

Click on a UI element by resource ID.

Parameters:

  • resourceId (required): Resource ID of the element to click
  • deviceSerial (optional): Target specific device by serial number

Performance: Immediate

Example:

json
{
  "name": "android_uiautomator_click",
  "arguments": { "resourceId": "com.example.app:id/button_submit" }
}

12. android_uiautomator_double_click

Perform a double-click on a UI element by resource ID.

Parameters:

  • resourceId (required): Resource ID of the element
  • deviceSerial (optional): Target specific device by serial number

Performance: Immediate

Example:

json
{
  "name": "android_uiautomator_double_click",
  "arguments": { "resourceId": "com.example.app:id/text_field" }
}

13. android_uiautomator_long_click

Perform a long-click on a UI element by resource ID.

Parameters:

  • resourceId (required): Resource ID of the element
  • deviceSerial (optional): Target specific device by serial number

Performance: Immediate

Example:

json
{
  "name": "android_uiautomator_long_click",
  "arguments": { "resourceId": "com.example.app:id/menu_item" }
}

14. android_uiautomator_set_text

Set text on a UI element by resource ID. Automatically clears existing text first.

Parameters:

  • resourceId (required): Resource ID of the element
  • text (required): Text to set
  • deviceSerial (optional): Target specific device by serial number

Performance: Immediate

Example:

json
{
  "name": "android_uiautomator_set_text",
  "arguments": {
    "resourceId": "com.example.app:id/email_input",
    "text": "user@example.com"
  }
}

15. android_uiautomator_clear_text

Clear text from a UI element by resource ID.

Parameters:

  • resourceId (required): Resource ID of the element
  • deviceSerial (optional): Target specific device by serial number

Performance: Immediate

Example:

json
{
  "name": "android_uiautomator_clear_text",
  "arguments": { "resourceId": "com.example.app:id/search_input" }
}

16. android_uiautomator_toggle_checkbox

Toggle a checkbox element by resource ID.

Parameters:

  • resourceId (required): Resource ID of the checkbox
  • deviceSerial (optional): Target specific device by serial number

Performance: Immediate

Example:

json
{
  "name": "android_uiautomator_toggle_checkbox",
  "arguments": { "resourceId": "com.example.app:id/agree_checkbox" }
}

17. android_uiautomator_wait

Wait for a UI element to appear by resource ID with timeout support.

Parameters:

  • resourceId (required): Resource ID to wait for
  • timeoutMs (optional): Maximum wait time in milliseconds (default: 5000)
  • deviceSerial (optional): Target specific device by serial number

Performance: Configurable (up to timeout)

Example:

json
{
  "name": "android_uiautomator_wait",
  "arguments": {
    "resourceId": "com.example.app:id/loading_indicator",
    "timeoutMs": 10000
  }
}

18. android_uiautomator_scroll_in_element

Scroll within a specific scrollable UI element.

Parameters:

  • resourceId (required): Resource ID of the scrollable element
  • direction (required): Direction to scroll (up, down, left, right)
  • distance (optional): Distance to scroll in pixels (default: 500)
  • deviceSerial (optional): Target specific device by serial number

Performance: Immediate

Example:

json
{
  "name": "android_uiautomator_scroll_in_element",
  "arguments": {
    "resourceId": "com.example.app:id/list_view",
    "direction": "down",
    "distance": 500
  }
}

Scrcpy Streaming Tools (4)

Scrcpy streaming provides ultra-fast frame capture using H.264 video encoding, perfect for real-time monitoring, rapid screenshot sequences, or continuous frame polling.

19. android_start_scrcpy_stream

Initialize an H.264 video stream from the Android device using Scrcpy.

Parameters:

  • deviceSerial (optional): Target specific device by serial number
  • bitrate (optional): Video bitrate in Mbps (default: 4)
  • fps (optional): Frames per second (default: 60)

Performance: ~2 seconds setup, <50ms per frame polling afterward

Advantages:

  • Ultra-fast frame capture (<50ms vs 1-2s for screenshot)
  • Continuous streaming with pre-buffered frames
  • Ideal for real-time monitoring
  • H.264 compression reduces bandwidth

Example:

json
{
  "name": "android_start_scrcpy_stream",
  "arguments": {
    "bitrate": 4,
    "fps": 30
  }
}

20. android_get_latest_frame

Poll the latest frame from an active Scrcpy stream.

Parameters:

  • deviceSerial (optional): Target specific device by serial number
  • outputPath (optional): Save frame to file, otherwise returns base64

Performance: <50ms per frame (due to pre-buffered streaming)

Use Cases:

  • Real-time monitoring
  • Rapid screenshot sequences
  • Continuous frame polling
  • Streaming visualization

Example:

json
{
  "name": "android_get_latest_frame",
  "arguments": {
    "outputPath": "./current_frame.png"
  }
}

21. android_stop_scrcpy_stream

Stop an active Scrcpy H.264 stream.

Parameters:

  • deviceSerial (optional): Target specific device by serial number

Example:

json
{
  "name": "android_stop_scrcpy_stream",
  "arguments": {}
}

22. android_capture_frame_scrcpy

Capture a single frame using Scrcpy without starting a persistent stream.

Parameters:

  • deviceSerial (optional): Target specific device by serial number
  • outputPath (optional): Save frame to file, otherwise returns base64
  • bitrate (optional): Video bitrate in Mbps (default: 4)

Performance: 100-300ms (faster than screenshot, slower than streaming)

Use Cases:

  • One-off frame captures
  • When streaming overhead isn't justified
  • Single frame comparison
  • Lightweight capture operations

Example:

json
{
  "name": "android_capture_frame_scrcpy",
  "arguments": {
    "outputPath": "./single_frame.png"
  }
}

Performance Comparison

ToolPurposeSpeedBest For
android_screenshotBasic capture1-2sSimple screenshots, initial inspection
android_capture_frame_scrcpySingle Scrcpy frame100-300msFaster one-off captures than screenshot
android_start_scrcpy_streamInitialize stream~2s setupReal-time monitoring workflows
android_get_latest_framePoll stream<50msRapid frame sequences, real-time apps
android_touchTap/long pressImmediateUI interaction
android_swipeSwipe gestureImmediateNavigation, scrolling
android_input_textDirect text inputImmediateQuick text entry via ADB
android_send_key_eventKey eventsImmediateNavigation (HOME, BACK, ENTER)
android_execute_commandGeneric ADBVariesCustom ADB operations, full flexibility
android_uiautomator_dumpUI inspection500-800msElement discovery
android_uiautomator_findElement searchFastLocated specific elements
android_uiautomator_*Element interactionImmediateForm filling, UI automation

Common Use Cases

1. Automated Testing

1. Dump UI hierarchy to find element IDs
2. Click buttons and input text using resource IDs
3. Use streaming to verify visual changes in real-time
4. Scroll and navigate through the app

2. Real-Time Monitoring

1. Start Scrcpy stream (one-time ~2s setup)
2. Poll latest frames continuously (<50ms each)
3. Process frames for visual analysis
4. Stop stream when done

3. Rapid Frame Capture Sequence

1. Start Scrcpy stream
2. Get latest frame multiple times (much faster than screenshot)
3. Process frame sequence for animation/comparison
4. Stop stream

4. Form Filling (WebView or Native)

1. Find form fields by resource ID or text
2. Clear existing text
3. Set new text values
4. Toggle checkboxes and radio buttons
5. Click submit button

5. Multi-Device Automation

Use deviceSerial parameter to target specific devices:

1. List connected devices via ADB
2. Specify device serial for each tool call
3. Automate workflows on multiple devices in parallel
4. Useful for device farms and testing labs

6. App Discovery

1. List all packages (potentially 100+)
2. Filter packages by name (e.g., "google", "com.example")
3. Launch apps by package name
4. Perfect for discovering available apps on the device

ADB & Scrcpy Setup

Automatic Installation

The server automatically downloads and installs from official sources:

  • ADB: From Android Platform Tools
  • Scrcpy: From official releases

Downloaded tools stored in ~/.android-mcp-server/platform-tools/

Manual Installation (Optional)

Windows:

bash
choco install adb
choco install scrcpy

macOS:

bash
brew install android-platform-tools
brew install scrcpy

Linux (Ubuntu/Debian):

bash
sudo apt-get install android-tools-adb scrcpy

Enabling USB Debugging on Android

  1. Go to Settings → About Phone
  2. Tap Build Number 7 times to enable Developer Options
  3. Go to Settings → Developer Options
  4. Enable USB Debugging
  5. Connect device via USB and accept the debugging prompt

Verify Connection

bash
adb devices

You should see your device listed.

Troubleshooting

IssueSolution
"No Android devices found"Ensure device is connected via USB and USB debugging is enabled. Run adb devices to verify.
UIAutomator element not foundUse android_uiautomator_dump to inspect the XML and verify the resource ID exists.
Scrcpy stream won't startEnsure Scrcpy is installed or allow auto-download to complete. Check device is connected.
"ADB not found" errorRun the server once to auto-download ADB, or manually install platform-tools.
Touch coordinates not workingVerify coordinates are within screen bounds. Use screenshots to determine correct coordinates.
App launch failsVerify package name is correct using android_list_packages. Try filtering if unsure.
Streaming frames are slowReduce bitrate/fps or use single android_capture_frame_scrcpy for one-off captures.

Advanced Patterns

Real-Time Visual Monitoring

1. android_start_scrcpy_stream (2s setup)
2. Loop: android_get_latest_frame (<50ms each)
3. Process frames for ML/analysis
4. android_stop_scrcpy_stream when done

Stress Testing with Rapid Frames

1. Start stream
2. Perform action on device
3. Capture 10+ frames in rapid succession (<50ms each)
4. Compare frame changes for regression detection

Multi-Step Form Automation

1. android_uiautomator_dump (find all fields)
2. For each field:
   - android_uiautomator_find (locate)
   - android_uiautomator_set_text (fill)
3. android_uiautomator_click (submit)
4. android_uiautomator_wait (result screen)
5. android_screenshot (verify)

Device Farm Parallel Testing

1. Get device list
2. For each device:
   - Specify deviceSerial in all tool calls
   - Run automation sequence
   - Compare results across devices

Architecture

The server uses the Model Context Protocol to expose Android device control:

  • ADB Wrapper (src/adb-wrapper.ts): Device communication, auto-downloads ADB
  • Scrcpy Integration (src/adb-wrapper.ts): H.264 streaming, frame polling
  • UIAutomator Methods (src/adb-wrapper.ts): Full XML dumping, element interaction
  • Tool Handlers (src/handlers.ts): All 19 tool operations
  • MCP Server (src/index.ts): Exposes all tools via Model Context Protocol

Supported Android Versions

  • Android 5.0+ (API Level 21+)
  • Scrcpy streaming: Android 5.0+ via ADB, optimal on 7.0+

Development

bash
# Install dependencies
npm install

# Build
npm run build

# Watch mode (if supported)
npm run watch

Adding New Tools

To add a new tool:

  1. Implement method in src/adb-wrapper.ts
  2. Implement handler in src/handlers.ts
  3. Register tool in src/index.ts with name, description, and schema
  4. Build and test with the server running

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Εγκατάσταση

TypingMind
Προαπαιτούμενα:

Node.js 18+

{
  "mcpServers": {
    "android-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "android-mcp-server"
      ],
      "env": {
        "ADB_PATH": "",
        "DEVICE_SERIAL": ""
      }
    }
  }
}

Χρησιμοποιήστε το MCP Android MCP Server με πολλά μοντέλα AI

Το TypingMind συνδέει τα εργαλεία MCP σε επίπεδο χώρου εργασίας. Έτσι, μόλις συνδεθεί το Android MCP Server, μπορείτε να το χρησιμοποιείτε με διαφορετικά μοντέλα AI στο TypingMind, αντί να το ρυθμίζετε ξεχωριστά για κάθε μοντέλο. Αυτή η ενσωμάτωση MCP εκτελείται τοπικά στη συσκευή σας μέσω του συνδέσμου MCP του TypingMind.

Οδηγός ρύθμισης για τη χρήση του τοπικού συνδέσμου

Επιλέξτε αυτή τη μέθοδο όταν ο διακομιστής MCP χρειάζεται πρόσβαση σε τοπικά αρχεία, εφαρμογές ή ιδιωτικούς πόρους στον υπολογιστή σας.

1

Ανοίξτε τις ρυθμίσεις MCP

Στο TypingMind, μεταβείτε στις «Ρυθμίσεις», έπειτα στις «Σύνθετες ρυθμίσεις» και στο «Model Context Protocol» και επιλέξτε «Ρύθμιση συνδέσμου».

  1. Ανοίξτε το TypingMind στο πρόγραμμα περιήγησής σας.
  2. Κάντε κλικ στο εικονίδιο «Ρυθμίσεις».
  3. Μεταβείτε στις «Σύνθετες ρυθμίσεις».
  4. Ανοίξτε την ενότητα Model Context Protocol.
  5. Κάντε κλικ στην επιλογή «Ρύθμιση συνδέσμου» και επιλέξτε «Αυτή η συσκευή».
Οθόνη ρύθμισης συνδέσμου MCP του TypingMind με επιλεγμένη την επιλογή «Αυτή η συσκευή»
2

Εκτελέστε την εντολή του συνδέσμου

Επιλέξτε «Αυτή η συσκευή», αντιγράψτε την εντολή από το TypingMind και εκτελέστε την στο Τερματικό. Διατηρήστε τη διεργασία σε λειτουργία όσο χρησιμοποιείτε το MCP.

  1. Αντιγράψτε την εντολή ρύθμισης που εμφανίζεται στο TypingMind.
  2. Ανοίξτε το Τερματικό στο macOS ή το Windows Terminal στα Windows.
  3. Επικολλήστε και εκτελέστε την εντολή.
  4. Εγκρίνετε την εγκατάσταση του πακέτου, αν το Τερματικό σάς ζητήσει επιβεβαίωση για να συνεχίσει.
  5. Διατηρήστε ανοιχτό το παράθυρο του Τερματικού και τη διεργασία σε λειτουργία όσο χρησιμοποιείτε εργαλεία MCP.
3

Προσθέστε το Android MCP Server ως διακομιστή

Όταν η κατάσταση του συνδέσμου είναι «Έτοιμος», κάντε κλικ στο «Αλλαγή servers» και επικολλήστε τις ρυθμίσεις του διακομιστή MCP.

  1. Περιμένετε μέχρι η κατάσταση του συνδέσμου να εμφανιστεί ως «Έτοιμος».
  2. Κάντε κλικ στο «Αλλαγή servers».
  3. Επικολλήστε τις ρυθμίσεις του διακομιστή MCP Android MCP Server.
  4. Αποθηκεύστε τη λίστα διακομιστών.
  5. Κάντε ανανέωση αν θέλετε να επιβεβαιώσετε ότι ο σύνδεσμος παραμένει έτοιμος για χρήση.
Ρυθμίσεις MCP του TypingMind με ενεργό διακομιστή και το κουμπί «Αλλαγή servers»
{
  "mcpServers": {
    "android-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "android-mcp-server"
      ]
    }
  }
}
4

Χρησιμοποιήστε τη σύνδεση με διαφορετικά μοντέλα

Αποθηκεύστε τη λίστα διακομιστών, ανοίξτε τα «Πρόσθετα», ενεργοποιήστε τα εργαλεία MCP του Android MCP Server και έπειτα επιλέξτε οποιοδήποτε υποστηριζόμενο μοντέλο AI στο TypingMind. Χρησιμοποιήστε τα εργαλεία στη συνομιλία ή αναθέστε τα σε έναν πράκτορα AI.

  1. Ανοίξτε τη σελίδα «Πρόσθετα» στο TypingMind.
  2. Ενεργοποιήστε τα εργαλεία MCP του Android MCP Server.
  3. Ξεκινήστε μια συνομιλία και επιλέξτε το μοντέλο AI που θέλετε να χρησιμοποιήσετε.
  4. Χρησιμοποιήστε τα εργαλεία MCP στη συνομιλία ή αντιστοιχίστε τα σε έναν πράκτορα AI.
  5. Μεταβείτε σε άλλο μοντέλο AI όποτε χρειάζεται, χωρίς να συνδέσετε ξανά το MCP.
Συνομιλία στο TypingMind με ενεργοποιημένα εργαλεία MCP και επιλεγμένο μοντέλο AI
Θα με βοηθήσετε σε αυτό μέσω Android MCP Server;
Android MCP Server
Βεβαίως. Το διάβασα.
Δείτε τι βρήκα μέσω του Android MCP Server.

Συχνές ερωτήσεις

Σε τι χρησιμεύει ο διακομιστής MCP Android MCP Server;

Το Android MCP Server είναι ένας διακομιστής MCP που επιτρέπει σε συμβατές εφαρμογές AI να συνδέονται με εξωτερικά εργαλεία και πληροφορίες πλαισίου. Στο TypingMind, μπορείτε να προσθέσετε αυτόν τον διακομιστή MCP μία φορά και να κάνετε τα εργαλεία του διαθέσιμα στον χώρο εργασίας AI σας.

Μπορώ να χρησιμοποιήσω το Android MCP Server MCP με πολλά μοντέλα AI στο TypingMind;

Ναι. Το TypingMind συνδέει τα εργαλεία MCP σε επίπεδο χώρου εργασίας, ώστε να μπορείτε να χρησιμοποιείτε το Android MCP Server με διαφορετικά μοντέλα AI, όπως τα Claude, ChatGPT, Gemini ή άλλα μοντέλα που έχετε ρυθμίσει στο TypingMind, χωρίς να ρυθμίζετε τον διακομιστή MCP ξεχωριστά για κάθε μοντέλο.

Γιατί να χρησιμοποιήσετε τον σύνδεσμο MCP Android MCP Server με το TypingMind;

Το TypingMind είναι ένα από τα καλύτερα περιβάλλοντα συνομιλίας με μεγάλα γλωσσικά μοντέλα, καθώς συγκεντρώνει πολλά μοντέλα AI, προτροπές, πρόσθετα, πράκτορες AI, κλειδιά API και εργαλεία MCP σε έναν χώρο εργασίας. Συνδέοντας το Android MCP Server, μπορείτε να χρησιμοποιείτε τα εργαλεία MCP του με τα μοντέλα που προτιμάτε, διατηρώντας οργανωμένη τη ροή εργασίας των συνομιλιών σας στο TypingMind.

Πώς συνδέω το Android MCP Server MCP στο TypingMind;

Το Android MCP Server λειτουργεί μέσω του τοπικού συνδέσμου MCP του TypingMind. Αυτή είναι η καλύτερη επιλογή όταν ο διακομιστής MCP χρειάζεται πρόσβαση σε τοπικά αρχεία, εφαρμογές υπολογιστή, εργαλεία γραμμής εντολών ή ιδιωτικούς πόρους στον υπολογιστή σας.

Ποια εργαλεία παρέχει το Android MCP Server MCP στο TypingMind;

Το Android MCP Server διαθέτει δυνατότητες MCP που μπορείτε να ενεργοποιήσετε από τη σελίδα Πρόσθετα του TypingMind και να χρησιμοποιήσετε σε συνομιλίες ή να αναθέσετε σε πράκτορες AI.

Χρειάζεται να κοινοποιήσω τα κλειδιά API μου στο TypingMind για να χρησιμοποιήσω το Android MCP Server MCP;

Όχι. Το TypingMind δίνει προτεραιότητα στην τοπική λειτουργία και σας επιτρέπει να διατηρείτε τον έλεγχο των παρόχων μοντέλων, των κλειδιών API, των προτροπών και των ρυθμίσεων MCP σας. Αν το Android MCP Server απαιτεί έλεγχο ταυτότητας, προσθέστε τις απαιτούμενες κεφαλίδες, τις ρυθμίσεις OAuth ή τις τοπικές ρυθμίσεις για τον συγκεκριμένο διακομιστή MCP κατά τη δημιουργία της σύνδεσης.

Σχετικοί διακομιστές MCP

Προβολή όλων

Στήστε δικό σας χώρο εργασίας AI τώρα

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇