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_classes

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

lookup_class

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

lookup_method

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

list_class_members

List all method and field signatures for a given class.

search_in_source

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

list_available_versions

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

get_class_hierarchy

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

check_integrity

Check the integrity of the local source cache and index.

goto_definition

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

find_references

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

get_type_info

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