get_status
Check the operational status of the Intruder API to confirm it is available and responding.
Instructions
Get the status of the Intruder API
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- intruder_mcp/server.py:29-33 (handler)The main handler for the get_status tool. It calls api.get_health() and returns the status string.
@mcp.tool() async def get_status() -> str: """Get the status of the Intruder API""" health = api.get_health() return health.status - intruder_mcp/enums.py:191-193 (schema)The Health model schema that defines the response shape, including the 'status' field returned by get_status.
class Health(BaseModel): status: str = Field(..., description="API health status") authenticated_as: str = Field(..., format="email") - intruder_mcp/api_client.py:25-26 (helper)The API client helper method that actually performs the HTTP GET request to /health/ endpoint and returns a Health object.
def get_health(self) -> Health: return Health(**self.client.get(f"{self.base_url}/health/").json()) - intruder_mcp/server.py:29-30 (registration)The tool is registered via the @mcp.tool() decorator on the get_status function within the FastMCP instance.
@mcp.tool() async def get_status() -> str: