filesystem-android
A Claude MCP server providing secure access to Android project files for AI-assisted code navigation and analysis.
claude mcp add --transport stdio sdilogin-filesystem-android uvx run --with mcp[cli] mcp run ./filesystem_android/main.py
How to use
This MCP server provides secure access to Android project source code through Claude. It validates Android projects by detecting essential Gradle configuration files, enables browsing of Kotlin, Kotlin Script (KTS), TOML, and AndroidManifest.xml files grouped by directory, and allows reading of individual or multiple files with appropriate filtering to prevent exposure of sensitive data. Use it to help an AI assistant explore an Android codebase, understand project structure, and extract relevant code snippets without accessing restricted directories.
To use it, run the server with the provided UV-based command and connect your Claude client to the named MCP server (in this example, 'Android source code'). Once active, you can prompt the assistant to list files by directory, inspect specific Kotlin/KTS/TOML files, or read AndroidManifest.xml files. The server enforces security by blocking access to .gradle caches, .git directories, and build output folders to minimize risk of exposing secrets or large binaries.
How to install
Prerequisites:
- Python 3.10+ installed on your system
- UV (ultra-lean server) installed and accessible via the uvx command as described below
Install and run:
- Install UV if missing:
curl -LsSf https://astral.sh/uv/install.sh | sh
- Initialize a virtual environment and install dependencies:
uv venv
uv pip install -r uv.lock
- Run the MCP server (as configured in the README):
uvx run --with mcp[cli] mcp run ./filesystem_android/main.py
Notes:
- Ensure the path ./filesystem_android/main.py is correct relative to where you run the command.
- If you customize the environment, you may need to export additional environment variables relevant to your UV setup.
Additional notes
Tips and tips:
- The server intentionally excludes sensitive directories like .gradle, .git, and build folders. If you encounter missing files that you know exist, verify that the path is not restricted and that the project structure includes the expected Gradle files.
- When multiple Android projects are in scope, you can prompt the AI to narrow down by directory or module to reduce noise.
- Ensure your Claude integration points to the MCP server alias exactly as configured (e.g., 'Android source code').
- If you update the filesystem layout or the main.py, restart the MCP server to pick up changes.
Related MCP Servers
mcp -qdrant
An official Qdrant Model Context Protocol (MCP) server implementation
phone
A phone control plugin for MCP that allows you to control your Android phone through ADB commands to connect any human
mcp-pinecone
Model Context Protocol server to allow for reading and writing from Pinecone. Rudimentary RAG
mcp-rquest
A MCP server providing realistic browser-like HTTP request capabilities with accurate TLS/JA3/JA4 fingerprints for bypassing anti-bot measures. It also supports converting PDF and HTML documents to Markdown for easier processing by LLMs.
pfsense
pfSense MCP Server enables security administrators to manage their pfSense firewalls using natural language through AI assistants like Claude Desktop. Simply ask "Show me blocked IPs" or "Run a PCI compliance check" instead of navigating complex interfaces. Supports REST/XML-RPC/SSH connections, and includes built-in complian
mcp-kubernetes
A Model Context Protocol (MCP) server that enables AI assistants to interact with Kubernetes clusters. It serves as a bridge between AI tools (like Claude, Cursor, and GitHub Copilot) and Kubernetes, translating natural language requests into Kubernetes operations and returning the results in a format the AI tools can understand.