Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ANDROID_SOURCE_LSP | No | Set 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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |