MA

muxi1998/android-studio-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

21 stars 3 forks 품질 47 트렌드 0

이 저장소는 Android Studio에서 AI 채팅 기능을 설정하는 데 대한 지침을 제공합니다. 개발자는 자연 언어를 사용하여 코드 및 프로젝트와 상호 작용할 수 있습니다.

개요

이 저장소는 Android Studio에서 AI 채팅 기능을 설정하는 데 대한 지침을 제공합니다. 개발자는 자연 언어를 사용하여 코드 및 프로젝트와 상호 작용할 수 있습니다. Android Studio를 MCP Server 플러그인을 통해 AI 채팅 인터페이스에 연결하면 개발자가 할 수 있습니다. Android 코드에 대한 질문 - 요청 코드 수정 및 복원 - Android 별 개념의 설명 받기 - 새로운 코드 구성 요소를 생성 - Android 애플리케이션의 디버그 문제 - 컴퓨터에 설치된 Android Studio - Cursor IDE 설치 (고객 통신용) 1. 안드로이드 스튜디오를 엽니 다 2. →로 이동 → 3. "MCP Server" 4. 검색 "MCP Server"라는 플러그인을 클릭하십시오 (플러그인 ID: 26071) 5. 프린트 안드로이드 스튜디오 때 프린트 1. 오픈 커서 및 액세스 설정 : - Mac 용 : Cmd +를 누르거나 →로 이동 - Windows / Linux 용 : Ctrl +를 누르거나 →로 이동하십시오. 2. AI 설정 섹션으로 이동하고 "JetBrains Integration"을 활성화 4. 명세.

개요(AI 번역)

이 저장소는 Android Studio에서 AI 채팅 기능을 설정하는 데 대한 지침을 제공합니다. 개발자는 자연 언어를 사용하여 코드 및 프로젝트와 상호 작용할 수 있습니다.

개요

Android Studio를 MCP Server 플러그인을 통해 AI 채팅 인터페이스에 연결함으로써 개발자는 다음을 수행할 수 있습니다.

  • Android 코드에 대한 질문
  • 요청 코드 수정 및 복원
  • Android 별 개념의 설명 받기
  • 새 코드 구성 요소 생성
  • Android 애플리케이션의 디버그 문제

필수품

  • Android Studio 설치
  • Cursor IDE 설치 (고객 통신용)

설치

단계 1: JetBrains를 위한 MCP 서버 플러그인 설치

  1. 안드로이드 스튜디오 열기 2.Settings/Preferences →Plugins → 시장
  2. “MCP Server” 검색
  3. 클릭 **설치 ** 플러그인 제목 “MCP 서버” (플러그인 ID: 26071)
  4. 신속한 경우 Restart Android Studio

Step 2: 커서에서 클라이언트 구성

  1. 열려있는 Cursor와 접근 조정:
  • Mac용: Cmd+,를 누르거나 Cursor → Preferences로 이동하십시오.
  • Windows/Linux: Ctrl+,를 누르거나 File → Preferences로 이동하십시오.
  1. 명세.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

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/Preferences → Plugins → Marketplace
  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 Cursor → Preferences
    • For Windows/Linux: Press Ctrl+, or go to File → Preferences
  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": ""
    }
    
  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": ""
}

Resources

License

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

GitHub에서 전체 README 보기

설치

npx -y @jetbrains/mcp-proxy
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "jetbrains": { "command": "npx", "args": ["-y", "@jetbrains/mcp-proxy"] } } }