Skip to main content
Glama

get_epic

Retrieve detailed information about a specific epic using its ID through the Taiga MCP Bridge, enabling seamless integration with AI systems for project management.

Instructions

Gets detailed information about a specific epic by its ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
epic_idYes
session_idYes

Implementation Reference

  • The handler function for the 'get_epic' tool. It retrieves the authenticated Taiga client using the provided session_id and calls the Taiga API to get the epic details by its ID.
    @mcp.tool("get_epic", description="Gets detailed information about a specific epic by its ID.") def get_epic(session_id: str, epic_id: int) -> Dict[str, Any]: """Retrieves epic details by ID.""" logger.info( f"Executing get_epic ID {epic_id} for session {session_id[:8]}...") taiga_client_wrapper = _get_authenticated_client(session_id) # Use wrapper variable name try: # Epics expects epic_id as a positional argument epic = taiga_client_wrapper.api.epics.get(epic_id) # return epic.to_dict() # Remove .to_dict() return epic # Return directly except TaigaException as e: logger.error( f"Taiga API error getting epic {epic_id}: {e}", exc_info=False) raise e except Exception as e: logger.error( f"Unexpected error getting epic {epic_id}: {e}", exc_info=True) raise RuntimeError(f"Server error getting epic: {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