{
  "markdown": "# Android Management API MCP Extension\n\nThe Android Management API MCP extension enables AI agents to programmatically\naccess enterprise mobility data. It allows for natural language queries about\ndevice fleets, automated auditing of policy compliance, and the integration of\ndevice management data into broader automated workflows.\n\n## Why use the Android Management API MCP server?\n\nGoogle and Google Cloud\n[managed MCP servers](https://docs.cloud.google.com/mcp/overview) can be used in\nyour AI applications with enterprise-ready governance, security, and access\ncontrol.\n\n## Before you begin\n\n1.  In the Google Cloud console, on the\n    [project selector page](https://console.cloud.google.com/projectselector2/home/dashboard),\n    select or create a Google Cloud project.\n\n    > **Note**: If you don't plan to keep the resources that you create in this\n    > procedure, create a project instead of selecting an existing project.\n    > After you finish these steps, you can delete the project, removing all\n    > resources associated with the project.\n\n2.  Get your administrator to grant you the\n    [MCP Tool User role](https://docs.cloud.google.com/iam/docs/roles-permissions/mcp#mcp.toolUser)\n    (`roles/mcp.toolUser`) on the Google Cloud project. If you created a new\n    project, then you already have the required permissions.\n\n3.  Ensure your administrator has enabled the\n    [Android Management API](https://console.cloud.google.com/marketplace/product/google/androidmanagement.googleapis.com)\n    on the Google Cloud project.\n\n## Configure authentication\n\nThis extension uses Google Application Default Credentials (ADC) to perform\nauthentication. To login with ADC, run the following command in your terminal:\n\n```bash\ngcloud auth application-default login\n```\n\nFor additional details, see the\n[ADC documentation](https://docs.cloud.google.com/docs/authentication/application-default-credentials#personal).\n\n## Install the extension\n\nTo install the extension, run the following command in your terminal:\n\n```bash\ngemini extensions install https://github.com/gemini-cli-extensions/android-management-api\n```\n\n## Available tools\n\nTo see a complete list of available tools and their schemas, see the\n[Android Management API MCP reference](https://developers.google.com/android/management/reference/mcp).\n\n## Sample use cases\n\nThe following are sample use cases for the Android Management API MCP server:\n\n-   Natural Language Queries: Ask complex questions about your device fleet\n    without writing code—for example, \"Which of my devices are not compliant\n    with the latest security patch?\"\n-   Automated Audits: Periodically fetch data and compile reports on device\n    status and policy adherence.\n-   Intelligent Alerting: Monitor fleet data to flag anomalies or potential\n    issues based on real-time insights.\n\n### Sample prompts\n\nYou can use the following sample prompts to get information about Android\nManagement API resources:\n\n-   List the devices in enterprise `ENTERPRISE_ID`.\n-   Get details for device `DEVICE_ID` in enterprise `ENTERPRISE_ID`.\n-   Show the policy details for policy `POLICY_NAME`.\n-   Which applications are available in enterprise `ENTERPRISE_ID`?\n\nIn the prompts, replace the following:\n\n-   `ENTERPRISE_ID`: the resource name of the enterprise—for example,\n    enterprises/LC012345.\n-   `DEVICE_ID`: the resource name of the device.\n-   `POLICY_NAME`: the resource name of the policy.\n\n## Optional security and safety configurations\n\nMCP introduces new security risks and considerations due to the wide variety of\nactions that you can take with MCP tools. To minimize and manage these risks,\nGoogle Cloud offers defaults and customizable policies to control the use of MCP\ntools in your Google Cloud organization or project.\n\nFor more information about MCP security and governance, see\n[AI security and safety](https://docs.cloud.google.com/mcp/ai-security-safety).\n\n## Quotas and limits\n\nThe Android Management API MCP server doesn't have its own quotas. There is no\nlimit on the number of call that can be made to the MCP server. You are still\nsubject to the quotas enforced by the APIs called by the MCP server tools.\n\n## Reference and resources\n\n*   Explore the\n    [Android Management API MCP server reference documentation](https://developers.google.com/android/management/reference/mcp),\n    which includes a list of all available tools, and the full input and output\n    schema for each tool.\n*   See the\n    [Android Management API overview](https://developers.google.com/android/management).\n*   Learn about\n    [MCP security and governance](https://docs.cloud.google.com/mcp/ai-security-safety).\n",
  "bytes": 4661,
  "sha": "0768725877daa61d9c2e73954ba9fde91daa21916ee217ad9d94863c550adf6c",
  "repo_slug": "gemini-cli-extensions/android-management-api",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_gemini_cli_extensions_android_management_aad3e98a/readme"
}