Skip to main content
Glama

Android source code

by SDILogin

MCP 服务器配置

概述

该项目提供了一个 Claude MCP 服务器,用于安全访问 Android 项目文件。它允许 AI 助手通过检查用于验证 Android 项目真实性的基本 Gradle 配置文件来浏览和读取 Android 项目的源代码。

主要特点:

  • 项目验证:通过检查 gradle 文件确保目录是有效的 Android 项目
  • 文件浏览:列出所有 Kotlin、KTS、TOML 文件和 AndroidManifest.xml(按目录分组)
  • 文件读取:提供安全访问,通过适当的过滤读取单个或多个文件
  • 安全性:防止访问敏感目录,如.gradle、.git 和构建文件夹

对于希望利用 Claude 来帮助他们理解、分析和使用 Android 代码库的开发人员来说,此工具是理想的选择。

服务器设置

将此配置添加到您的 Claude 客户端的 MCP 设置中:

{ "mcpServers": { "Android source code": { "command": "/path/to/uv", "args": [ "run", "--with", "mcp[cli]", "mcp", "run", "./filesystem_android/main.py" ] } } }

注意:将/path/to/uv替换为你实际的 UV 安装路径

安装

# Install UV if missing curl -LsSf https://astral.sh/uv/install.sh | sh # Initialize project uv venv uv pip install -r uv.lock

执照

MIT 许可证 - 详情请参阅许可证

-
security - not tested
A
license - permissive license
-
quality - not tested

Claude MCP 服务器可以安全访问浏览和读取 Android 项目文件,通过检查 gradle 配置文件来验证项目的真实性。

  1. 概述
    1. 服务器设置
      1. 安装
        1. 执照

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            An MCP server that provides access to project files and their contents, allowing users to retrieve file data from specified project directories with error handling and configuration options.
            Last updated -
            1
            4
            TypeScript
            MIT License
          • -
            security
            A
            license
            -
            quality
            A server enabling programmatic control over Android devices through ADB, providing capabilities like screenshot capture, UI layout analysis, and package management that can be accessed by MCP clients like Claude Desktop.
            Last updated -
            365
            Python
            Apache 2.0
            • Apple
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that enables building Android projects and running tests directly in Visual Studio Code through extensions like Cline or Roo Code.
            Last updated -
            1
            Python
            MIT License
          • -
            security
            -
            license
            -
            quality
            A MCP server that requires user authentication via Auth0, allowing it to call protected APIs on behalf of authenticated users.
            Last updated -
            TypeScript

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/SDILogin/filesystem-android'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server