Provides Android development assistance following NowInAndroid best practices, including architecture references, code generation for feature modules, ViewModels, and repositories, and Jetpack Compose UI patterns.
Provides build configuration guidance and convention plugin setup following Android best practices.
Provides Jetpack Compose UI patterns and best practices from the NowInAndroid reference application.
[WIP] Android Development MCP Server
A Model Context Protocol (MCP) server that provides Android development assistance following NowInAndroid best practices. This server can be used with any MCP-compatible AI tool (Claude, GPT, Gemini, etc.).
Features
Tools Available
Tool | Description |
| Quick overview of patterns and available tools |
| Full architecture documentation (Data, Domain, UI layers) |
| Jetpack Compose UI patterns |
| Module structure and dependencies |
| Build configuration and convention plugins |
| Testing approach with test doubles |
| Generate complete feature module code |
| Generate ViewModel with UiState |
| Generate offline-first repository |
| Search across all documentation |
Quick Start
Option 1: Docker (Recommended)
The server will be available at:
SSE endpoint:
http://localhost:3000/sseHealth check:
http://localhost:3000/health
Option 2: Local Development
Connecting AI Clients
Claude Desktop
Add to your Claude Desktop config (~/.config/claude/claude_desktop_config.json on Linux/Mac or %APPDATA%\Claude\claude_desktop_config.json on Windows):
Claude Code
Other MCP Clients
Configure your MCP client with:
Transport: SSE
URL:
http://localhost:3000/sse
Example Usage
Once connected, you can ask your AI assistant questions like:
"What's the recommended architecture for an Android app?"
"Generate a feature module for user-profile with package com.myapp"
"Show me the ViewModel pattern from NowInAndroid"
"How do I set up offline-first data sync?"
"Generate a repository for the Task entity"
"Search documentation for navigation"
API Endpoints
Endpoint | Method | Description |
| GET | SSE connection for MCP |
| POST | Message handling |
| GET | Health check |
Environment Variables
Variable | Default | Description |
| 3000 | Server port |
| sse | Transport mode (sse or stdio) |
| production | Node environment |
Project Structure
Extending the Server
Adding New Tools
Edit src/index.ts and add a new tool:
Adding New Documentation
Add markdown files to
references/Create a loader function in
src/index.tsRegister a new tool to expose it
License
MIT
References
NowInAndroid - Google's reference Android app
Model Context Protocol - MCP specification
Android Architecture - Official guide