Skip to main content
Glama
crewAIInc

CrewAI Enterprise MCP Server

Official
by crewAIInc

get_crew_status

Check the status of deployed CrewAI workflows by providing a crew task ID to monitor progress and results.

Instructions

Get the status of a crew task

Args: crew_id: The ID of the crew task to check Returns: Dictionary containing the crew task status

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
crew_idYes

Implementation Reference

  • The main handler function for the 'get_crew_status' MCP tool. It is registered via the @mcp.tool() decorator and implements the logic to fetch crew status via HTTP GET request to the CrewAI Enterprise server using the provided crew_id.
    @mcp.tool() async def get_crew_status(crew_id: str) -> dict[str, Any]: """Get the status of a crew task Args: crew_id: The ID of the crew task to check Returns: Dictionary containing the crew task status """ async with httpx.AsyncClient() as client: response = await client.get( f"{CREWAI_ENTERPRISE_SERVER_URL}/status/{crew_id}", headers={ "Authorization": f"Bearer {CREWAI_ENTERPRISE_BEARER_TOKEN}", "Content-Type": "application/json", }, ) return response.json()
Install Server

Other Tools

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/crewAIInc/enterprise-mcp-server'

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