Skip to main content
Glama
standardbeagle

Harvest MCP Server

harvest_list_users

Retrieve and filter user accounts in Harvest to manage team access and permissions for time tracking and project management.

Instructions

List all users in the account with filtering. Use about {"tool": "harvest_list_users"} for detailed parameters and examples.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
is_activeNoFilter by active status
pageNoPage number
per_pageNoResults per page (max 100)

Implementation Reference

  • The handler case in the MCP tool execution switch statement that invokes harvestClient.getUsers with the provided arguments and formats the response as MCP content.
    case 'harvest_list_users': const users = await harvestClient.getUsers(typedArgs); return { content: [ { type: 'text', text: JSON.stringify(users, null, 2), }, ], };
  • Defines the tool metadata including name, description, and input schema for parameter validation.
    { name: 'harvest_list_users', description: 'List all users in the account with filtering. Use about {"tool": "harvest_list_users"} for detailed parameters and examples.', inputSchema: { type: 'object', properties: { is_active: { type: 'boolean', description: 'Filter by active status' }, page: { type: 'number', description: 'Page number' }, per_page: { type: 'number', description: 'Results per page (max 100)' } } } },
  • src/index.ts:68-73 (registration)
    Registers the tools list (including harvest_list_users) with the MCP server for tool discovery via ListToolsRequest.
    // Handle tool listing server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools: tools, }; });
  • The supporting method in HarvestClient that performs the actual API request to /users endpoint with query parameters.
    async getUsers(options?: any) { const queryString = this.buildQueryString(options); return this.makeRequest(`/users${queryString}`); }

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/standardbeagle/harvest-mcp'

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