Skip to main content
Glama
sakce

Monday.com MCP Server

by sakce

monday-get-board-groups

Retrieve groups from a specific Monday.com board using the board ID. This tool enables efficient management and organization of board data within the Monday.com MCP Server.

Instructions

Get the Groups of a Monday.com Board.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
boardIdYesMonday.com Board ID that the Item or Sub-item is on.

Implementation Reference

  • The handler function that fetches and returns the groups for a given Monday.com board ID using the Monday SDK.
    async def handle_monday_get_board_groups(
        boardId: str, monday_client: MondayClient
    ) -> list[types.TextContent]:
        """Get the Groups of a Monday.com Board."""
        response = monday_client.groups.get_groups_by_board(board_ids=boardId)
        return [
            types.TextContent(
                type="text",
                text=f"Got the groups of a Monday.com board. {json.dumps(response['data'])}",
            )
        ]
  • Registers the MCP tool 'monday_get_board_groups' with @mcp.tool(), handling input validation via type hints and delegating to the core handler.
    @mcp.tool()
    async def monday_get_board_groups(boardId: str) -> str:
        """Get the Groups of a Monday.com Board.
    
        Args:
            boardId: Monday.com Board ID that the Item or Sub-item is on.
        """
        try:
            client = get_monday_client()
            result = await handle_monday_get_board_groups(boardId, client)
            return result[0].text
        except Exception as e:
            return f"Error getting board groups: {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