get_user
Retrieve the authenticated user identity for the Intruder API to verify current session permissions and access rights.
Instructions
Get the current user of the Intruder API that we are authenticated as
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- intruder_mcp/server.py:17-21 (handler)Handler function for the 'get_user' tool. Decorated with @mcp.tool() which registers it with the MCP server. Retrieves the authenticated user from the Intruder API health check and returns it as a string.@mcp.tool() async def get_user() -> str: """Get the current user of the Intruder API that we are authenticated as""" health = api.get_health() return health.authenticated_as
- intruder_mcp/server.py:17-17 (registration)The @mcp.tool() decorator registers the get_user function as an MCP tool.@mcp.tool()