Skip to main content
Glama

get-current-user

Retrieve the authenticated user's information from Shortcut project management to personalize workflows and access control.

Instructions

Get the current user

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function that executes the tool logic: retrieves current user from client and formats the result.
    async getCurrentUser() { const user = await this.client.getCurrentUser(); if (!user) throw new Error("Failed to retrieve current user."); return this.toResult(`Current user:`, user); }
  • src/tools/user.ts:9-13 (registration)
    Registers the 'get-current-user' tool with the MCP server, providing description and handler reference.
    server.tool( "get-current-user", "Get the current user", async () => await tools.getCurrentUser(), );

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/ampcome-mcps/shortcut-mcp'

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