# Melaya

The Melaya MCP server for Claude Code connects assistants to an Android device and browser. It lets agents tap buttons, type text, and navigate mobile apps directly.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 1 repo stars
- Author: melaya-labs
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/melaya-labs/melaya-mcp
- Updated: 2026-10-24
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/melaya

## What it does

Melaya links language models to an Android phone using the operating system accessibility tree. You avoid building custom integrations for separate apps. The assistant inspects interface elements on screen, taps, swipes, submits text, and switches between programs like a person.

Everything operates through a remote HTTP endpoint at `https://api.melaya.org/mcp`. No local SDK is required. Authentication relies on OAuth 2.1 with PKCE, letting you approve specific permissions in a browser dialog without revealing credentials. Direct HTTP usage in Codex CLI requires setting `experimental_use_rmcp_client = true` in `~/.codex/config.toml`.

## Requirements
- Remote server: `https://api.melaya.org/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http melaya https://api.melaya.org/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add melaya --url https://api.melaya.org/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "melaya": {
            "url": "https://api.melaya.org/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "melaya": {
            "type": "http",
            "url": "https://api.melaya.org/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http melaya https://api.melaya.org/mcp
```

## When to use it
- inspect mobile interfaces through Android accessibility trees
- tap screen elements, swipe views, and enter text on a paired phone
- trigger actions across browser sessions and Melaya account tools
- run device automation without maintaining a local SDK build

## Example prompts
- Connect to my phone and review unread Instagram DMs.
- Open Android settings on my paired device and verify the network state.
- Run melaya_setup_status to report which device tools are available.

## Similar
- [mobilerun](https://affpapa.org/en/nevibecode/mcp/mobilerun.md) — MCP server · ★ 10088 repo stars
- [Buddy phone tools](https://affpapa.org/en/nevibecode/mcp/buddy-phone-tools.md) — MCP server · ★ 314 repo stars
- [android-device-automation](https://affpapa.org/en/nevibecode/skills/android-device-automation.md) — skill · 5900 installs
- [mobile-mcp](https://affpapa.org/en/nevibecode/mcp/mobile-mcp.md) — MCP server · ★ 10788 repo stars
- [Droidline](https://affpapa.org/en/nevibecode/mcp/droidline.md) — MCP server · ★ 558 repo stars
- [agent-device](https://affpapa.org/en/nevibecode/skills/agent-device.md) — skill · 21700 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
