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
Máy chủ liên quan
Secure MCP Filesystem Server
A secure MCP server for accessing the local filesystem within predefined directories.
PDF to PNG
A server that converts PDF files to PNG images. Requires the poppler library to be installed.
CData FTP Server
A read-only MCP server for querying live FTP data using the CData JDBC Driver.
Filesystem MCP Server for WSL
A filesystem server for Windows Subsystem for Linux (WSL), using native commands for faster file operations.
PDF Agent MCP
A server for AI agents to selectively process and extract content from PDF documents.
Smart Photo Journal MCP Server
Create a memory journal from your local photos in the macOS Photos library.
Filesystem MCP Server
Perform filesystem operations within specified directories.
PDF Splitter
Provides random access to PDF contents, allowing selective extraction of pages and content to reduce reading costs.
mini_mcp
A lightweight plugin to list all files and folders on the current macOS user's desktop.
File MCP Server
A server providing comprehensive file system operations, automatically downloaded and built on first use.