Skip to main content
Glama
sitebay
by sitebay

sitebay_list_ready_made_sites

Browse and select pre-built WordPress sites to deploy quickly for your projects.

Instructions

List available ready-made sites for quick launches.

Returns: List of ready-made sites with descriptions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The primary MCP tool handler for 'sitebay_list_ready_made_sites'. Decorated with @mcp.tool for registration. Initializes the SiteBayClient, calls list_ready_made_sites() on it, formats the results as a markdown list grouped by category, and handles SiteBayError exceptions.
    @mcp.tool
    async def sitebay_list_ready_made_sites() -> str:
        """
        List available ready-made sites for quick launches.
        
        Returns:
            List of ready-made sites with descriptions
        """
        try:
            client = await initialize_client()
            items = await client.list_ready_made_sites()
            
            if not items:
                return "No ready-made sites available."
            
            result = f"**Available Ready-made Sites** ({len(items)}):\n\n"
            
            for item in items:
                result += f"• **{item.get('name', 'Unknown')}**\n"
                result += f"  - ID: {item.get('id', 'Unknown')}\n"
                
                if item.get('description'):
                    result += f"  - Description: {item.get('description')}\n"
                
                if item.get('category'):
                    result += f"  - Category: {item.get('category')}\n"
                
                result += "\n"
            
            return result
            
        except SiteBayError as e:
            return f"Error listing ready-made sites: {str(e)}"
  • Helper method in SiteBayClient class that performs the actual API request to fetch the list of ready-made sites from '/ready_made_site' endpoint and extracts the 'results' array from the response.
    async def list_ready_made_sites(self) -> List[Dict[str, Any]]:
        """List available ready-made sites"""
        response = await self.get("/ready_made_site")
        return response.get("results", [])
  • The @mcp.tool decorator registers the function as an MCP tool.
    @mcp.tool

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/sitebay/sitebay-mcp'

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