Skip to main content
Glama
appreply-co

mcp-appstore

by appreply-co

get_android_categories

Retrieve available app categories from the Google Play Store to filter and organize search results within the MCP appstore server.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function for get_android_categories tool. Fetches all Google Play Store categories using gplay.categories() and returns them as JSON.
    server.tool(
      "get_android_categories",
      {},
      async () => {
        try {
          // Retrieve all categories from Google Play Store
          const categories = await gplay.categories();
          
          return {
            content: [{ 
              type: "text", 
              text: JSON.stringify({
                platform: "android",
                count: categories.length,
                categories
              }, null, 2)
            }]
          };
        } catch (error) {
          return {
            content: [{ 
              type: "text", 
              text: JSON.stringify({
                error: error.message,
                platform: "android"
              }, null, 2)
            }],
            isError: true
          };
        }
      }
    );

Latest Blog Posts

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/appreply-co/mcp-appstore'

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