Skip to main content
Glama
talhaorak

Taiga MCP Bridge

by talhaorak

get_milestone

Retrieve detailed information about a specific milestone using its ID via the Taiga MCP Bridge, enabling AI systems to access and manage Taiga project data.

Instructions

Gets detailed information about a specific milestone by its ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
milestone_idYes
session_idYes

Implementation Reference

  • The MCP tool handler function 'get_milestone' that fetches detailed information about a specific milestone using the TaigaClientWrapper's API.
    @mcp.tool("get_milestone", description="Gets detailed information about a specific milestone by its ID.")
    def get_milestone(session_id: str, milestone_id: int) -> Dict[str, Any]:
        """Retrieves milestone details by ID."""
        logger.info(
            f"Executing get_milestone ID {milestone_id} for session {session_id[:8]}...")
        taiga_client_wrapper = _get_authenticated_client(session_id) # Use wrapper variable name
        try:
            # Milestones expects milestone_id as a positional argument
            milestone = taiga_client_wrapper.api.milestones.get(milestone_id)
            # return milestone.to_dict() # Remove .to_dict()
            return milestone # Return directly
        except TaigaException as e:
            logger.error(
                f"Taiga API error getting milestone {milestone_id}: {e}", exc_info=False)
            raise e
        except Exception as e:
            logger.error(
                f"Unexpected error getting milestone {milestone_id}: {e}", exc_info=True)
            raise RuntimeError(f"Server error getting milestone: {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/talhaorak/pytaiga-mcp'

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