Skip to main content
Glama

get_users

Retrieve a list of users from your Linear workspace using this tool on the Linear MCP Server, enabling efficient user management and collaboration.

Instructions

Get a list of users in the Linear workspace

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handleGetUsers method that executes the get_users tool: fetches all users from the Linear workspace using linearClient.users(), formats them into a list with id, name, email, displayName, and active fields, and returns as JSON text content.
    private async handleGetUsers() { const users = await linearClient.users(); const formattedUsers = users.nodes.map(user => ({ id: user.id, name: user.name, email: user.email, displayName: user.displayName, active: user.active, })); return { content: [ { type: 'text', text: JSON.stringify(formattedUsers, null, 2), }, ], }; }
  • src/index.ts:100-107 (registration)
    Registration of the 'get_users' tool in the ListToolsRequestSchema response: specifies name, description, and inputSchema (empty object, no parameters).
    { name: 'get_users', description: 'Get a list of users in the Linear workspace', inputSchema: { type: 'object', properties: {}, }, },
  • src/index.ts:120-121 (registration)
    Dispatch logic in the CallToolRequestSchema handler: switch case for 'get_users' that invokes the handleGetUsers method.
    case 'get_users': return await this.handleGetUsers();
  • Input schema for get_users tool: an empty object indicating no input parameters are required.
    inputSchema: { type: 'object', properties: {}, },

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/Tyru5/linear-mcp'

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