Skip to main content
Glama
sakce

Monday.com MCP Server

by sakce

monday-archive-item

Archive specific items from Monday.com boards using the item ID to maintain organized and clutter-free workspaces. Simplify board management with this focused action.

Instructions

Archive an item from a Monday.com board

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemIdYesMonday.com Item ID to archive.

Implementation Reference

  • The handler function that performs the archiving by calling monday_client.items.archive_item_by_id and returns a success message.
    async def handle_monday_archive_item(
        monday_client: MondayClient, item_id: str
    ) -> list[types.TextContent]:
        """
        Archive an item from a Monday.com board.
    
        Args:
            monday_client (MondayClient): The Monday.com client.
            item_id (str): The ID of the item to archive.
        """
        monday_client.items.archive_item_by_id(item_id=item_id)
        return [types.TextContent(type="text", text=f"Archived item {item_id}.")]
  • The tool registration using @mcp.tool() for 'monday_archive_item', which wraps the handler with error handling and client initialization.
    async def monday_archive_item(itemId: str) -> str:
        """Archive an item from a Monday.com board.
    
        Args:
            itemId: Monday.com Item ID to archive.
        """
        try:
            client = get_monday_client()
            result = await handle_monday_archive_item(client, itemId)
            return result[0].text
        except Exception as e:
            return f"Error archiving item: {e}"

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/sakce/mcp-server-monday'

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