MetorialDocs

Set up Harvest in Metorial for Claude, ChatGPT and Cursor

Share Harvest with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or personal access token sign-in, 24 tools (12 read-only).

To give your team Harvest in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Harvest integration in a Metorial portal, and each person signs in to Harvest with their own account. Agents can track time, manage projects, clients, tasks, users, expenses, invoices, and estimates. The integration has 24 tools, 12 read-only, 3 write and 9 destructive, plus 4 triggers.

What you'll learn

  • How an admin shares Harvest in a portal and how each person connects
  • The 3 OAuth scopes Harvest can request, and what each one allows
  • How to keep the 12 read-only tools and reject the other 12

Before you start

Sign-in methods

MethodTypeWhat a person provides
Personal Access TokenAPI tokentoken
OAuth2 (default)OAuthSigns in to Harvest

The portal and metorial setup use OAuth2 unless someone picks another method.

Personal Access Token

To connect, a person enters:

  • token: Personal Access Token from https://id.getharvest.com/developers

OAuth2

People sign in to Harvest and approve the scopes you allow. The integration can request:

ScopeNameWhat it allows
harvest:allAll Harvest AccountsAccess to all Harvest accounts
forecast:allAll Forecast AccountsAccess to all Forecast accounts
allAll AccountsAccess to all Harvest and Forecast accounts

Setup settings

Whichever method you pick, setup also asks for:

  • accountId: Your Harvest Account ID. Found at https://id.getharvest.com/developers

Use your own Harvest OAuth app

With your own OAuth app, people see your company's name on the Harvest consent screen, and the client ID and secret belong to you.

Start the credentials in Metorial

In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Harvest and copy the Redirect URI.

Register the app with Harvest

Create an OAuth app or client in Harvest and add the redirect URI from Metorial as its redirect or callback URL. The vendor documents this in OAuth documentation.

Finish in Metorial

Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Harvest integration.

Admin: share Harvest in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Harvest. Under Auth Method, keep OAuth2 or pick another. For how members connect, choose Each person connects, so everyone signs in to Harvest as themselves.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Harvest.

Choose who gets it

Add the access groups that should see Harvest. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Harvest integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search harvest

Employee: connect Harvest

In the portal

Open Harvest in the catalog

Sign in to your portal and open Harvest. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. A Harvest sign-in tab opens. Sign in and approve the permissions listed.

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search harvest
metorial setup <catalog-item-id>

catalog search prints the catalog item ID. metorial setup uses OAuth2. To connect with Personal Access Token instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.

Add it to your AI client

metorial install adds your Harvest connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list harvest
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 12 read-only tools, such as list_tasks and list_users, and lose the 3 write tools, such as send_invoice or start_stop_timer, and the 9 destructive tools, such as manage_task or manage_user.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list harvest
metorial tools <integration-id>
metorial call <integration-id> get_company -d '{}'

metorial tools lists the 24 tools, minus any you rejected. get_company takes no input. It retrieves company-level settings from Harvest including timezone, currency, time tracking preferences, and plan details.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (12)

  • list_invoices: Retrieve invoices with optional filtering by client, project, state, and date range.
  • list_users: Retrieve users with optional filtering by active status.
  • list_expenses: Retrieve expenses with optional filtering by user, client, project, billing status, and date range.
  • list_time_entries: Search and retrieve time entries with flexible filtering by user, client, project, task, date range, billing status, and running status.
  • list_clients: Retrieve clients with optional filtering by active status.
  • get_company: Retrieve company-level settings from Harvest including timezone, currency, time tracking preferences, and plan details.
  • generate_report: Generate various Harvest reports: time tracked by project, expenses by project, uninvoiced time and expenses, or project budget consumption. Needs reportType.
  • list_projects: Retrieve projects with optional filtering by active status and client.
  • list_tasks: Retrieve task types with optional filtering by active status.
  • list_estimates: List Harvest estimates to discover estimate IDs, clients, amounts, and states before updating an estimate.
  • get_current_user: Retrieve the currently authenticated user in a Harvest account, including their profile and access roles.
  • list_accounts: List the Harvest accounts authorized by this connection.

Write tools (3)

  • send_invoice: Email an invoice by omitting eventType, or record a lifecycle event (send, close, re-open, draft). Needs invoiceId.
  • record_invoice_payment: Record a payment against an invoice in Harvest. Needs invoiceId and amount.
  • start_stop_timer: Start or stop a running timer on an existing time entry. Needs timeEntryId and action.

Destructive tools (9)

  • manage_user: Create, update, or delete a user in Harvest. Needs action.
  • manage_contact: Create, update, or delete a client contact in Harvest. Needs action.
  • manage_client: Create, update, or delete a client in Harvest. Needs action.
  • manage_task: Create, update, or delete a task type in Harvest. Needs action.
  • manage_estimate: Create, update, or delete an estimate in Harvest. Needs action.
  • manage_invoice: Create, update, or delete an invoice in Harvest. Needs action.
  • manage_expense: Create, update, or delete an expense in Harvest. Needs action.
  • manage_time_entry: Create, update, or delete a time entry in Harvest. Needs action.
  • manage_project: Create, update, or delete a project in Harvest. Needs action.

Triggers

Harvest has 4 triggers, which fire on events in Harvest:

  • invoice_changes: Triggers when invoices are created or updated in Harvest.
  • inbound_webhook
  • time_entry_changes: Triggers when time entries are created or updated in Harvest.
  • project_changes: Triggers when projects are created or updated in Harvest.

Next steps