Skip to main content
Glama
sakce

Monday.com MCP Server

by sakce

monday-move-item-to-group

Move a Monday.com item to a specified group within a board. Use this tool to organize and manage board items efficiently by specifying the item and group IDs.

Instructions

Move an item to a group in a Monday.com board

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupIdYesMonday.com Group ID to move the Item to.
itemIdYesMonday.com Item ID to move.

Implementation Reference

  • The handler function that executes the tool logic by calling monday_client.items.move_item_to_group to move the item to the specified group.
    async def handle_monday_move_item_to_group(
        monday_client: MondayClient, item_id: str, group_id: str
    ) -> list[types.TextContent]:
        """
        Move an item to a group in a Monday.com board.
    
        Args:
            monday_client (MondayClient): The Monday.com client.
            item_id (str): The ID of the item to move.
            group_id (str): The ID of the group to move the item to.
        """
        item = monday_client.items.move_item_to_group(item_id=item_id, group_id=group_id)
        return [
            types.TextContent(
                type="text",
                text=f"Moved item {item_id} to group {group_id}. ID of the moved item: {item['data']['move_item_to_group']['id']}",
            )
        ]
  • Registers the monday_move_item_to_group tool using @mcp.tool decorator, which wraps the core handler and handles client initialization and error wrapping.
    @mcp.tool()
    async def monday_move_item_to_group(itemId: str, groupId: str) -> str:
        """Move an item to a group in a Monday.com board.
    
        Args:
            itemId: Monday.com Item ID to move.
            groupId: Monday.com Group ID to move the Item to.
        """
        try:
            client = get_monday_client()
            result = await handle_monday_move_item_to_group(client, itemId, groupId)
            return result[0].text
        except Exception as e:
            return f"Error moving 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