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
相关服务器
File Converter
Convert various file formats for documents and images, such as DOCX, PDF, CSV, and more.
MCP File System Server
A server for secure, sandboxed file system operations.
Editor MCP
A server for file operations, allowing reading, editing, and managing text files through a standardized API.
Obsidian MCP Server - Enhanced
Provides comprehensive access to an Obsidian vault, allowing AI agents to read, write, search, and manage notes via the Local REST API plugin.
HDFS MCP Server
Access and manage files on HDFS clusters using the MCP protocol, supporting operations like upload, download, move, and copy.
ZIP MCP Server
Compress and decompress ZIP files, with support for multi-file packaging, password protection, and encryption.
Java Filesystem & Web MCP Server
An MCP server for LLM agents to perform filesystem operations and access web resources.
Readonly Filesystem MCP Server
Provides read-only access to local files and directories.
Custom PDF MCP Server
A server for processing PDF files, allowing text and table extraction, metadata retrieval, and file listing within a specific directory.
AgentHub
Self-hosted MCP platform with multiple tools, multi-agent orchestration, web UI, and ML capabilities