Skip to main content
Glama

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
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • 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
  • The @mcp.tool() decorator registers the get_user function as an MCP tool.
    @mcp.tool()

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/intruder-io/intruder-mcp'

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