Skip to main content
Glama
crewAIInc

CrewAI Enterprise MCP Server

Official
by crewAIInc

get_crew_status

Retrieve the current status of a specific crew task by providing the crew ID, enabling real-time monitoring of CrewAI workflows initiated through Claude Desktop.

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 query the CrewAI Enterprise server for the status of a given crew_id using HTTP GET request.
    @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()

Other Tools

Related 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