Android Studio AI Chat Integration
Overview
Android Studio MCP Server is a Model Context Protocol (MCP) server designed to provide programmatic control over Android Studio, enabling intelligent code assistance and automated development tasks.
To use the server, clone the repository, install dependencies, and run the server. Interact with it through Claude for various development tasks.
- Intelligent project detection and management - Smart file operations for Java, Kotlin, and XML - Android-specific features like emulator interaction and resource management
- Automating project navigation and file management in Android Studio.
- Assisting in code creation and modification tasks.
- Analyzing projects for potential issues and executing builds.
Add to your AI client
Use these steps to connect Android Studio AI Chat Integration in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"android-studio-mcp-server-muxi1998": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-android-studio-mcp-server-muxi1998"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"android-studio-mcp-server-muxi1998": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-android-studio-mcp-server-muxi1998"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"android-studio-mcp-server-muxi1998": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-android-studio-mcp-server-muxi1998"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"android-studio-mcp-server-muxi1998": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-android-studio-mcp-server-muxi1998"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"android-studio-mcp-server-muxi1998": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-android-studio-mcp-server-muxi1998"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"android-studio-mcp-server-muxi1998": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-android-studio-mcp-server-muxi1998"
]
}
}
}FAQ
Is the server functional?
No, it is currently in early development and not yet functional.
What are the prerequisites?
Node.js, Android Studio, JDK, and Android SDK are required.
How can I contribute?
Contribution guidelines will be provided once implementation begins.