Android Filesystem
Securely browse and read files within an Android project, with built-in validation and access controls for sensitive directories.
MCP Server Configuration
Overview
This project provides a Claude MCP server that enables secure access to Android project files. It allows AI assistants to browse and read source code from Android projects by checking for essential gradle configuration files that validate authentic Android projects.
Key features:
- Project Validation: Ensures directories are valid Android projects by checking for gradle files
- File Browsing: Lists all Kotlin, KTS, TOML files and AndroidManifest.xml grouped by directory
- File Reading: Provides secure access to read individual or multiple files with appropriate filtering
- Security: Prevents access to sensitive directories like .gradle, .git and build folders
This tool is ideal for developers who want to leverage Claude to help them understand, analyze, and work with Android codebases.
Server Setup
Add this configuration to your Claude client's MCP settings:
{
"mcpServers": {
"Android source code": {
"command": "/path/to/uv",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"./filesystem_android/main.py"
]
}
}
}
Note: Replace /path/to/uv with your actual UV installation path
Installation
# Install UV if missing
curl -LsSf https://astral.sh/uv/install.sh | sh
# Initialize project
uv venv
uv pip install -r uv.lock
License
MIT License - See LICENSE for details
Related Servers
Edit File Lines MCP Server
Make precise line-based edits to text files within allowed directories.
AI FileSystem MCP
An AI-powered MCP server for advanced file system operations, including search, comparison, and security analysis.
FilerMoverMcp
A file mover tool that stages and executes file moves safely. Works as both a CLI tool and an MCP server for AI agents.
Excel MCP Server
An MCP server for manipulating and managing Excel files.
Filesystem MCP Server
Perform filesystem operations within specified directories.
Cursor MCP File Organizer
Organize files in your Downloads folder using Cursor IDE with customizable rules.
Deep Directory Tree MCP
Visualize directory structures with real-time updates, configurable depth, and smart exclusions for efficient project navigation.
File Convert MCP Server
Convert files between various formats, including images, documents, audio, video, and more.
MCP Excel Reader
Read large Excel files with automatic chunking and pagination support.
Fast Filesystem MCP
A high-performance Model Context Protocol (MCP) server that provides secure filesystem access and AI-optimized code development tools for Claude and other AI assistants.