Cover image
servidor Android-Studio-MCP
Public

servidor Android-Studio-MCP

Try Now
2025-03-22

3 years

Works with Finder

1

Github Watches

1

Github Forks

5

Github Stars

Android Studio AI Chat Integration

This repository provides instructions for setting up AI chat capabilities with Android Studio, allowing developers to interact with their code and projects using natural language.

Overview

By connecting Android Studio to an AI chat interface through the MCP Server plugin, developers can:

  • Ask questions about their Android code
  • Request code modifications and refactoring
  • Get explanations of Android-specific concepts
  • Generate new code components
  • Debug issues in Android applications

Prerequisites

  • Android Studio installed on your computer
  • Cursor IDE installed (for client communication)

Installation

Step 1: Install the MCP Server Plugin for JetBrains

  1. Open Android Studio
  2. Go to Settings/PreferencesPluginsMarketplace
  3. Search for "MCP Server"
  4. Click Install on the plugin titled "MCP Server" (plugin ID: 26071)
  5. Restart Android Studio when prompted

Step 2: Configure the Client in Cursor

  1. Open Cursor and access settings:

    • For Mac: Press Cmd+, or go to CursorPreferences
    • For Windows/Linux: Press Ctrl+, or go to FilePreferences
  2. Navigate to the AI settings section and enable "JetBrains Integration"

  3. Configure your settings:

    {
      "mcpServers": {
        "jetbrains": {
          "command": "npx",
          "args": ["-y", "@jetbrains/mcp-proxy"]
        }
      }
    }
    
  4. If you're running multiple IDEs and want to connect to a specific one, add:

    "env": {
      "IDE_PORT": "<port of Android Studio's built-in webserver>"
    }
    
  5. Save your settings and restart Cursor

Usage

  1. Open Android Studio and load your project
  2. Open Cursor and connect to the same project
  3. In Cursor, use the built-in chat to interact with your Android Studio project

Troubleshooting

  • Connection Issues: Ensure Android Studio is running before attempting to connect from Cursor
  • Plugin Not Found: Verify you're using a compatible version of Android Studio
  • Multiple IDEs: If you have multiple JetBrains IDEs running, specify the IDE_PORT in your configuration
  • Permission Issues: Some operations may require explicit permissions in Android Studio

Advanced Configuration

To enable logging for debugging purposes:

"env": {
  "LOG_ENABLED": "true"
}

To connect to IDE on a different address/host:

"env": {
  "HOST": "<host/address of IDE's built-in webserver>"
}

Resources

License

This project is licensed under the terms specified in the repository.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • INFOLAB OPERATIONS 2
  • A medical specialist offering assistance grounded in clinical guidelines. Disclaimer: This is intended for research and is NOT safe for clinical use!

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • J. DE HARO OLLE
  • Especialista en juegos de palabras en varios idiomas.

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • huahuayu
  • Una puerta de enlace de API unificada para integrar múltiples API de explorador de blockchain similar a Esterscan con soporte de protocolo de contexto modelo (MCP) para asistentes de IA.

  • deemkeen
  • Controle su MBOT2 con un combo de potencia: MQTT+MCP+LLM

  • zhaoyunxing92
  • 本项目是一个钉钉 MCP (Protocolo del conector de mensajes )服务 , 提供了与钉钉企业应用交互的 API 接口。项目基于 Go 语言开发 支持员工信息查询和消息发送等功能。 支持员工信息查询和消息发送等功能。

  • pontusab
  • La comunidad de cursor y windsurf, encontrar reglas y MCP

    Reviews

    1 (1)
    Avatar
    user_Te0jN4E0
    2025-04-16

    I've been using android-studio-mcp-server by muxi1998 for some time now, and it has significantly improved my workflow. The seamless integration with Android Studio makes server management incredibly efficient. The documentation is clear, and setting up the server is straightforward. The community support is also fantastic, which is a huge plus. Overall, I highly recommend this tool to any developer looking to streamline their server tasks directly within Android Studio.