Harvest MCP by usefulapi
Read time entries, projects, clients, tasks and invoices; log and update tracked time.
사용해야 할까요
품질 및 안전성
발견 사항 (1)
- LOWharvest_list_project_assignments에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"harvest": {
"url": "https://harvest.usefulapi.io/mcp"
}
}
}원격 엔드포인트
https://harvest.usefulapi.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (20)
🟢harvest_list_time_entries(user_id, client_id, project_id, task_id, is_running, ...)
List time entries, optionally filtered by user, project, client, task, date range, running/billed status, or updated-since. Paginated. Harvest REST: GET /time_entries.
입력 스키마
{
"type": "object",
"properties": {
"user_id": {
"description": "Filter to a single user id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"client_id": {
"description": "Filter to a single client id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"project_id": {
"description": "Filter to a single project id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"task_id": {
"description": "Filter to a single task id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"is_running": {
"description": "Only running (true) or only stopped (false) entries.",
"type": "boolean"
},
"is_billed": {
"description": "Only billed (true) or unbilled (false) entries.",
"type": "boolean"
},
"from": {
"description": "Only entries on/after this date, yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"to": {
"description": "Only entries on/before this date, yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"updated_since": {
"description": "Only entries updated since this ISO-8601 datetime.",
"type": "string"
},
"page": {
"description": "Page number (1-based) for pagination.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (1–2000, Harvest default 2000).",
"type": "integer",
"minimum": 1,
"maximum": 2000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢harvest_get_time_entry(time_entry_id)
Retrieve a single time entry by id. Harvest REST: GET /time_entries/{id}.
입력 스키마
{
"type": "object",
"properties": {
"time_entry_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The time entry id (required)."
}
},
"required": [
"time_entry_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢harvest_list_projects(is_active, client_id, updated_since, page, per_page)
List projects, optionally filtered by active status or client, or updated-since. Paginated. Harvest REST: GET /projects.
입력 스키마
{
"type": "object",
"properties": {
"is_active": {
"description": "Only active (true) or archived (false) projects.",
"type": "boolean"
},
"client_id": {
"description": "Filter to a single client id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"updated_since": {
"description": "Only projects updated since this ISO-8601 datetime.",
"type": "string"
},
"page": {
"description": "Page number (1-based) for pagination.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (1–2000, Harvest default 2000).",
"type": "integer",
"minimum": 1,
"maximum": 2000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢harvest_get_project(project_id)
Retrieve a single project by id. Harvest REST: GET /projects/{id}.
입력 스키마
{
"type": "object",
"properties": {
"project_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The project id (required)."
}
},
"required": [
"project_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢harvest_list_clients(is_active, updated_since, page, per_page)
List clients, optionally filtered by active status or updated-since. Paginated. Harvest REST: GET /clients.
입력 스키마
{
"type": "object",
"properties": {
"is_active": {
"description": "Only active (true) or archived (false) clients.",
"type": "boolean"
},
"updated_since": {
"description": "Only clients updated since this ISO-8601 datetime.",
"type": "string"
},
"page": {
"description": "Page number (1-based) for pagination.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (1–2000, Harvest default 2000).",
"type": "integer",
"minimum": 1,
"maximum": 2000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢harvest_get_client(client_id)
Retrieve a single client by id. Harvest REST: GET /clients/{id}.
입력 스키마
{
"type": "object",
"properties": {
"client_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The client id (required)."
}
},
"required": [
"client_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢harvest_list_tasks(is_active, updated_since, page, per_page)
List tasks (the billable/non-billable work categories that can be assigned to projects), optionally filtered by active status or updated-since. Paginated. Harvest REST: GET /tasks.
입력 스키마
{
"type": "object",
"properties": {
"is_active": {
"description": "Only active (true) or archived (false) tasks.",
"type": "boolean"
},
"updated_since": {
"description": "Only tasks updated since this ISO-8601 datetime.",
"type": "string"
},
"page": {
"description": "Page number (1-based) for pagination.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (1–2000, Harvest default 2000).",
"type": "integer",
"minimum": 1,
"maximum": 2000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢harvest_list_users(is_active, updated_since, page, per_page)
List users in the account, optionally filtered by active status or updated-since. Paginated. Harvest REST: GET /users.
입력 스키마
{
"type": "object",
"properties": {
"is_active": {
"description": "Only active (true) or archived (false) users.",
"type": "boolean"
},
"updated_since": {
"description": "Only users updated since this ISO-8601 datetime.",
"type": "string"
},
"page": {
"description": "Page number (1-based) for pagination.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (1–2000, Harvest default 2000).",
"type": "integer",
"minimum": 1,
"maximum": 2000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢harvest_get_current_user
Retrieve the currently authenticated user (whom the access token belongs to). Harvest REST: GET /users/me.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢harvest_list_project_assignments(page, per_page)
List the authenticated user's active project assignments — the projects and their assignable tasks the current user can log time against (use this to find the project_id + task_id for harvest_create_time_entry). Paginated. Harvest REST: GET /users/me/project_assignments.
입력 스키마
{
"type": "object",
"properties": {
"page": {
"description": "Page number (1-based) for pagination.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (1–2000, Harvest default 2000).",
"type": "integer",
"minimum": 1,
"maximum": 2000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢harvest_list_invoices(client_id, project_id, state, from, to, ...)
List invoices, optionally filtered by client, project, state, date range, or updated-since. Paginated. Harvest REST: GET /invoices.
입력 스키마
{
"type": "object",
"properties": {
"client_id": {
"description": "Filter to a single client id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"project_id": {
"description": "Filter to a single project id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"state": {
"description": "Filter by invoice state: draft, open, paid or closed.",
"type": "string",
"enum": [
"draft",
"open",
"paid",
"closed"
]
},
"from": {
"description": "Only invoices issued on/after this date, yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"to": {
"description": "Only invoices issued on/before this date, yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"updated_since": {
"description": "Only invoices updated since this ISO-8601 datetime.",
"type": "string"
},
"page": {
"description": "Page number (1-based) for pagination.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (1–2000, Harvest default 2000).",
"type": "integer",
"minimum": 1,
"maximum": 2000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢harvest_get_invoice(invoice_id)
Retrieve a single invoice by id, including its line items. Harvest REST: GET /invoices/{id}.
입력 스키마
{
"type": "object",
"properties": {
"invoice_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The invoice id (required)."
}
},
"required": [
"invoice_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢harvest_list_estimates(client_id, state, from, to, updated_since, ...)
List estimates, optionally filtered by client, state, date range, or updated-since. Paginated. Harvest REST: GET /estimates.
입력 스키마
{
"type": "object",
"properties": {
"client_id": {
"description": "Filter to a single client id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"state": {
"description": "Filter by estimate state: draft, sent, accepted or declined.",
"type": "string",
"enum": [
"draft",
"sent",
"accepted",
"declined"
]
},
"from": {
"description": "Only estimates issued on/after this date, yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"to": {
"description": "Only estimates issued on/before this date, yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"updated_since": {
"description": "Only estimates updated since this ISO-8601 datetime.",
"type": "string"
},
"page": {
"description": "Page number (1-based) for pagination.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (1–2000, Harvest default 2000).",
"type": "integer",
"minimum": 1,
"maximum": 2000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢harvest_list_expenses(user_id, client_id, project_id, is_billed, from, ...)
List expenses, optionally filtered by user, client, project, date range, billed status, or updated-since. Paginated. Harvest REST: GET /expenses.
입력 스키마
{
"type": "object",
"properties": {
"user_id": {
"description": "Filter to a single user id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"client_id": {
"description": "Filter to a single client id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"project_id": {
"description": "Filter to a single project id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"is_billed": {
"description": "Only billed (true) or unbilled (false) expenses.",
"type": "boolean"
},
"from": {
"description": "Only expenses on/after this date, yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"to": {
"description": "Only expenses on/before this date, yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"updated_since": {
"description": "Only expenses updated since this ISO-8601 datetime.",
"type": "string"
},
"page": {
"description": "Page number (1-based) for pagination.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (1–2000, Harvest default 2000).",
"type": "integer",
"minimum": 1,
"maximum": 2000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢harvest_get_company
Retrieve the company/account settings for the authenticated account (name, currency, time/date formats, week start, feature flags). Harvest REST: GET /company.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴harvest_create_time_entry(project_id, task_id, spent_date, user_id, hours, ...)
Create a time entry. Requires project_id, task_id and spent_date. Provide `hours` to log a specific duration; OR provide `started_time` (+ optional `ended_time`) for a timestamped entry; OR omit both to start a running timer (on a timestamp-tracking account). Use harvest_list_project_assignments to find valid project_id + task_id. Harvest REST: POST /time_entries. WRITE — creates data.
입력 스키마
{
"type": "object",
"properties": {
"project_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The project id to log time against (required)."
},
"task_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The task id within the project (required)."
},
"spent_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "The date the time was spent, yyyy-mm-dd (required)."
},
"user_id": {
"description": "Log on behalf of another user (defaults to the authenticated user; requires permission).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"hours": {
"description": "Duration in decimal hours, e.g. 1.5. Omit to start a running timer.",
"type": "number",
"minimum": 0
},
"started_time": {
"description": "Start time for a timestamped entry, e.g. '8:00am'.",
"type": "string"
},
"ended_time": {
"description": "End time for a timestamped entry, e.g. '9:30am'.",
"type": "string"
},
"notes": {
"description": "Notes for the time entry.",
"type": "string"
}
},
"required": [
"project_id",
"task_id",
"spent_date"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴harvest_update_time_entry(time_entry_id, project_id, task_id, spent_date, hours, ...)
Update an existing time entry's hours, notes, spent date, or project/task. Only the fields you provide are changed. Harvest REST: PATCH /time_entries/{id}. WRITE — modifies data.
입력 스키마
{
"type": "object",
"properties": {
"time_entry_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The time entry id to update (required)."
},
"project_id": {
"description": "Reassign to a different project id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"task_id": {
"description": "Reassign to a different task id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"spent_date": {
"description": "Change the date, yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"hours": {
"description": "Change the duration in decimal hours, e.g. 2.25.",
"type": "number",
"minimum": 0
},
"started_time": {
"description": "Change the start time, e.g. '8:00am'.",
"type": "string"
},
"ended_time": {
"description": "Change the end time, e.g. '9:30am'.",
"type": "string"
},
"notes": {
"description": "Change the notes.",
"type": "string"
}
},
"required": [
"time_entry_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴harvest_stop_time_entry(time_entry_id)
Stop a currently running time entry (no-op error if it is already stopped). Harvest REST: PATCH /time_entries/{id}/stop. WRITE — modifies data.
입력 스키마
{
"type": "object",
"properties": {
"time_entry_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The running time entry id to stop (required)."
}
},
"required": [
"time_entry_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴harvest_restart_time_entry(time_entry_id)
Restart a previously stopped time entry, resuming its timer (error if it is already running). Harvest REST: PATCH /time_entries/{id}/restart. WRITE — modifies data.
입력 스키마
{
"type": "object",
"properties": {
"time_entry_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The stopped time entry id to restart (required)."
}
},
"required": [
"time_entry_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴harvest_delete_time_entry(time_entry_id)
Permanently delete a time entry by id. This cannot be undone. Harvest REST: DELETE /time_entries/{id}. WRITE — destroys data.
입력 스키마
{
"type": "object",
"properties": {
"time_entry_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The time entry id to delete (required)."
}
},
"required": [
"time_entry_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}커뮤니티
증거