Melaya — Claude Code MCP server: what it does, how to install
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.
Apache-2.0 ★ 1 updated 2026-10-24
claude mcp add --transport http melaya https://api.melaya.org/mcpWhat Melaya 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.
What it helps with
- 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 for the agent
- 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.
How to install Melaya
Platform CLI: remote server
claude mcp add --transport http melaya https://api.melaya.org/mcpPlatform CLI: remote server
codex mcp add melaya --url https://api.melaya.org/mcpConfig file
{
"mcpServers": {
"melaya": {
"url": "https://api.melaya.org/mcp"
}
}
}Config file
{
"servers": {
"melaya": {
"type": "http",
"url": "https://api.melaya.org/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http melaya https://api.melaya.org/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Melaya
How do I install Melaya in Claude Code?
Run claude mcp add --transport http melaya https://api.melaya.org/mcp in your console. The server is hosted remotely, so you do not need to install local packages.
How does the agent interact with an Android phone?
Melaya reads the active screen state via the Android accessibility hierarchy. The assistant detects controls, performs gestures, and inputs text directly without vendor-specific APIs.
What configuration does Codex CLI need for Melaya?
Set experimental_use_rmcp_client = true inside ~/.codex/config.toml. After saving that file, register the server with codex mcp add melaya --url https://api.melaya.org/mcp.