Skip to main content
Glama
mrmike

Android Source Explorer MCP Server

by mrmike

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ANDROID_SOURCE_LSPNoSet to 'true' to enable LSP features (cross-file navigation, references, and type information) leveraging Eclipse JDT LS and Kotlin Language Server.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_classesB

Search for classes by glob pattern or substring (e.g. 'ViewModel' or 'Activity').

lookup_classB

Retrieve the full source code for a given Android Framework or AndroidX class.

lookup_methodB

Look up a specific method's source code within a class.

list_class_membersB

List all method and field signatures for a given class.

search_in_sourceB

Search for a text/regex pattern within a specific class or across all synced files (if class_name is omitted).

list_available_versionsC

List available versions for an AndroidX artifact (e.g. 'androidx.compose.runtime:runtime').

get_class_hierarchyB

Get the inheritance hierarchy (superclass and interfaces) for a class.

check_integrityB

Check the integrity of the local source cache and index.

goto_definitionB

Resolve the definition of a symbol at a specific position (Requires LSP).

find_referencesC

Find all references to a symbol at a specific position (Requires LSP).

get_type_infoC

Get type information and documentation (hover) for a symbol (Requires LSP).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mrmike/android-source-explorer-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server