Skip to main content

Harvest MCP Server for managing Harvest via the Model Context Protocol

Project description

Harvest MCP Server

A Model Context Protocol (MCP) server for interacting with Harvest time tracking and project management APIs.

Installation

After publishing to PyPI, run the installed CLI with uvx (same pattern as other Barie MCP servers):

uvx harvest-mcp-server --help

For a local wheel (absolute path to the built .whl):

uvx --from /absolute/path/to/harvest_mcp-0.1.0-py3-none-any.whl harvest-mcp-server --help

Editable install for development:

pip install -e .

Usage

Recommended (stdio MCP): use uvx so --from applies to the tool environment, not to the python interpreter.

uvx harvest-mcp-server \
  --account-id "<harvest_account_id>" \
  --api-key "<harvest_api_key>" \
  --read-only "false"

If the package is installed in the current environment (pip install -e . or pip install .):

python -m harvest_mcp_server \
  --account-id "<harvest_account_id>" \
  --api-key "<harvest_api_key>" \
  --read-only "false"

Required arguments

  • --account-id: Harvest account ID
  • --api-key: Harvest API key

Optional arguments

  • --read-only: Enable read-only mode (true/false), default false

Features

  • Users (list, detail)
  • Time entries (list, create, start/stop timers, details, unsubmitted)
  • Projects, clients, and tasks lookup
  • Estimates lifecycle (list/detail/lookup/create/update/state-change/send/delete)
  • Optional read-only mode for safe operation

MCP Configuration Example

Using uvx and a local wheel (note: harvest-mcp-server after --from is the console script name, not a python argument):

{
  "mcpServers": {
    "harvest": {
      "command": "uvx",
      "args": [
        "--from",
        "/absolute/path/to/harvest_mcp-0.1.0-py3-none-any.whl",
        "harvest-mcp-server",
        "--account-id",
        "YOUR_HARVEST_ACCOUNT_ID",
        "--api-key",
        "YOUR_HARVEST_API_KEY",
        "--read-only",
        "true"
      ]
    }
  }
}

Using python -m when the package is installed in the interpreter you launch:

{
  "mcpServers": {
    "harvest": {
      "command": "python",
      "args": [
        "-m",
        "harvest_mcp_server",
        "--account-id",
        "YOUR_HARVEST_ACCOUNT_ID",
        "--api-key",
        "YOUR_HARVEST_API_KEY",
        "--read-only",
        "true"
      ]
    }
  }
}

Development

From the harvest-mcp-server directory:

pip install -e .
harvest-mcp-server --help

Build a wheel:

python -m build

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

harvest_mcp-0.1.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

harvest_mcp-0.1.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file harvest_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: harvest_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for harvest_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e19f09ea0c59a5560da9254189e070bd9e665e13dc1ee1e5b23fea0d37cd3379
MD5 954975bf0fedc57414649bb3b9866a71
BLAKE2b-256 4b25d37097824b2f47b2d49f4b47be1f1e91fde92fee785d1a8b8cb575e055ab

See more details on using hashes here.

File details

Details for the file harvest_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: harvest_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for harvest_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c346fdd1598140b8582ce3aa3b4550d3e7df8af0d1448f0e9dcd8d8c557b8cb7
MD5 04f9ad578b5690265ab2c332c912b35d
BLAKE2b-256 553c827ef3ab4810be8cac6f763712be760914027062efc4c0d9a0403a52e3b3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page