Skip to main content
Glama
standardbeagle

Harvest MCP Server

harvest_list_task_assignments

Retrieve assigned tasks for a specific project in Harvest, with options to filter by active status and paginate results.

Instructions

List task assignments for a project. Use about {"tool": "harvest_list_task_assignments"} for detailed workflow and examples.

Input Schema

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

Implementation Reference

  • Main handler for the tool in the MCP server switch statement. Calls the HarvestClient method and returns formatted JSON response.
    case 'harvest_list_task_assignments': const taskAssignments = await harvestClient.getTaskAssignments(typedArgs.project_id as string, typedArgs); return { content: [ { type: 'text', text: JSON.stringify(taskAssignments, null, 2), }, ], };
  • Core implementation that performs the HTTP request to the Harvest API endpoint for task assignments of a project.
    async getTaskAssignments(projectId: string, options?: any) { const queryString = this.buildQueryString(options); return this.makeRequest(`/projects/${projectId}/task_assignments${queryString}`); }
  • Input schema definition and tool metadata used for validation and listing.
    { name: 'harvest_list_task_assignments', description: 'List task assignments for a project. Use about {"tool": "harvest_list_task_assignments"} for detailed workflow and examples.', inputSchema: { type: 'object', properties: { project_id: { type: 'string', description: 'Project ID' }, 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)' } }, required: ['project_id'] } }
  • src/index.ts:69-73 (registration)
    Registers the tools list handler which includes this tool via imported tools array from tools.ts.
    server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools: 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/standardbeagle/harvest-mcp'

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