Logotipo de Harvest MCP Server

Harvest MCP Server

Organización
taiste

MCP Server for Harvest

Editortaiste
Repositorioharvest-mcp-server
IdiomaPython
Forks
26
Estrellas
39
Herramientas disponibles
0
Tipo de transportestdio
Categorías
LicenciaMIT
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    Harvest MCP Server ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 0 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés en el código abierto

    39 estrellas y 26 forks en el repositorio enlazado.

MseeP.ai Security Assessment Badge

Harvest MCP Server

This MCP (Model Context Protocol) server provides integration with the Harvest time tracking and project management API. It allows Claude and other MCP-compatible AI assistants to interact with your Harvest account, helping you manage time entries, projects, clients, and more.

Features

The server provides the following functionality:

Users

  • List users
  • Get user details

Time Entries

  • List time entries with filtering options
  • Create new time entries
  • Start/stop timers
  • Query time entry details
  • Get unsubmitted timesheets (time entries not yet submitted for approval)

Projects

  • List projects with filtering options (by client, is_active, updated_since, page, per_page)
  • Retrieve detailed project information
  • Create new projects
  • Update existing projects (also used to archive: pass is_active=False)
  • Delete projects (destructive — also deletes the project's time entries and expenses, though invoices are retained; archiving is recommended instead)

Task Assignments

  • List task assignments (account-wide or scoped to a project)
  • Retrieve detailed task assignment information
  • Create new task assignments (link a task to a project)
  • Update existing task assignments
  • Delete task assignments (only when no time entries are logged against them)

User Assignments

  • List user assignments (account-wide or scoped to a project)
  • Retrieve detailed user assignment information
  • Create new user assignments (link a user to a project)
  • Update existing user assignments
  • Delete user assignments (only when no time entries or expenses are logged against them)

Clients

  • List clients with filtering options
  • Retrieve detailed client information

Tasks

  • List available tasks with filtering options

Estimates

  • List estimates with filtering options (by client, state, date range, updated_since)
  • Retrieve detailed estimate information
  • Look up an estimate by its user-facing number (e.g. "79")
  • List messages associated with an estimate
  • Create new estimates with line items
  • Update existing estimates (add/update/delete line items via _destroy)
  • Change estimate state (send, accept, decline, re-open) without sending email
  • Send estimate messages (emails the estimate to recipients)
  • Delete estimates

Setup Instructions

Prerequisites

  • Python 3.10 or higher
  • Harvest account with API access
  • Harvest API key and Account ID

Integrating with Claude Desktop

  1. Create or edit your Claude Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows (MSIX installs — the default from claude.ai/download): %LOCALAPPDATA%\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\claude_desktop_config.json
    • Windows (older/non-MSIX installs): %APPDATA%\Claude\claude_desktop_config.json
  2. Add the Harvest MCP server configuration:

    json
     {
         "mcpServers": {
             "harvest": {
                 "command": "uv",
                 "args": [
                   "run",
                   "--directory",
                   "change_directory",
                   "harvest-mcp-server.py"
                 ],
                 "env": {
                     "HARVEST_ACCOUNT_ID": "account_id",
                     "HARVEST_API_KEY": "api_key"
                 }
             }
         }
     }
  3. Restart Claude Desktop.

  4. Verify the integration by looking for the hammer icon in Claude's interface.

Example Queries

Once connected, you can ask Claude about your Harvest data with queries like:

  • "Show me my time entries from last week"
  • "List all my active projects"
  • "Start a timer for project [project_id] and task [task_id]"
  • "Show me all active clients"
  • "List all available tasks"
  • "Get my unsubmitted timesheets from this month"
  • "Show me unsubmitted time entries for user [user_id]"
  • "Show me all accepted estimates from this quarter"
  • "Find the estimate numbered [number]"
  • "Create a draft estimate for client [client_id] with these line items..."
  • "Mark estimate [id] as sent"
  • "Email estimate [id] to client@example.com"
  • "Create a new project called [name] for client [client_id], billed by Project, no budget"
  • "Archive project [project_id]"
  • "Assign task [task_id] to project [project_id] as billable"
  • "Make user [user_id] a project manager on project [project_id]"
  • "List everyone assigned to project [project_id]"

Customization

You can modify the server code to add more functionality or customize the existing tools to better suit your workflow. The server uses FastMCP, which makes it easy to add new tools by simply adding new functions with the @mcp.tool() decorator.

Troubleshooting

  • API Errors: Make sure your Harvest API key and Account ID are correct and have the necessary permissions.
  • Connection Issues: Verify that your Claude Desktop configuration has the correct path to the server script.
  • Missing Dependencies: Ensure you've installed all required packages in your Python environment.

Read-Only Mode

You can run the server in read-only mode by setting the HARVEST_READ_ONLY environment variable to true. This disables all write operations (creating time entries, starting/stopping timers, creating/updating/deleting estimates, changing estimate state, sending estimate messages, and creating/updating/deleting projects, task assignments, and user assignments) while keeping all read operations available.

json
{
    "mcpServers": {
        "harvest": {
            "command": "uv",
            "args": [
              "run",
              "--directory",
              "change_directory",
              "harvest-mcp-server.py"
            ],
            "env": {
                "HARVEST_ACCOUNT_ID": "account_id",
                "HARVEST_API_KEY": "api_key",
                "HARVEST_READ_ONLY": "true"
            }
        }
    }
}

When read-only mode is enabled, any attempt to call a write tool will return an error message explaining that the server is in read-only mode and how to enable write access.

Security Notes

This server requires your Harvest API credentials to function. Make sure to:

  • Keep your API key secure
  • Do not share your claude_desktop_config.json file
  • Consider using a dedicated API key with limited permissions for this integration

Instalación

TypingMind
{
  "mcpServers": {
    "harvest-mcp-server": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "change_directory",
        "harvest-mcp-server.py"
      ]
    }
  }
}

Usa el MCP de Harvest MCP Server con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado Harvest MCP Server, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Esta integración MCP se ejecuta localmente en tu dispositivo a través del conector MCP de TypingMind.

Guía de configuración para usar el conector local

Usa esta opción si el servidor MCP necesita acceder a archivos locales, aplicaciones o recursos privados de tu ordenador.

1

Abre los ajustes de MCP

En TypingMind, ve a Ajustes, luego a Ajustes avanzados y a Model Context Protocol, y elige Configurar conector.

  1. Abre TypingMind en tu navegador.
  2. Haz clic en el icono de Ajustes.
  3. Ve a Ajustes avanzados.
  4. Abre la sección Model Context Protocol.
  5. Haz clic en Configurar conector y elige Este dispositivo.
Pantalla de configuración del conector MCP de TypingMind con «Este dispositivo» seleccionado
2

Ejecuta el comando del conector

Elige Este dispositivo, copia el comando de TypingMind y ejecútalo en Terminal. Mantén el proceso en ejecución mientras uses MCP.

  1. Copia el comando de configuración que muestra TypingMind.
  2. Abre Terminal en macOS o Windows Terminal en Windows.
  3. Pega y ejecuta el comando.
  4. Acepta la instalación del paquete si Terminal te pide confirmación para continuar.
  5. Mantén el proceso en ejecución en la ventana de Terminal mientras uses las herramientas MCP.
3

Añade Harvest MCP Server como servidor

Cuando el estado del conector sea «Listo», haz clic en «Edita servidores» y pega la configuración del servidor MCP.

  1. Espera hasta que el estado del conector indique «Listo».
  2. Haz clic en Edita servidores.
  3. Pega la configuración del servidor MCP de Harvest MCP Server.
  4. Guarda la lista de servidores.
  5. Actualiza para comprobar que el conector sigue listo.
Ajustes de MCP de TypingMind con un servidor activo y el botón «Edita servidores»
{
  "mcpServers": {
    "harvest-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Úsala con distintos modelos

Guarda la lista de servidores, abre Plugins, activa las herramientas MCP de Harvest MCP Server y selecciona cualquier modelo de IA compatible en TypingMind para usar las herramientas en el chat o asignárselas a un agente de IA.

  1. Abre la página Plugins en TypingMind.
  2. Activa las herramientas MCP de Harvest MCP Server.
  3. Inicia un chat y elige el modelo de IA que quieras usar.
  4. Usa las herramientas MCP en el chat o asígnalas a un agente de IA.
  5. Cambia a otro modelo de IA cuando lo necesites sin volver a conectar MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar Harvest MCP Server para ayudarme con esta tarea?
Harvest MCP Server
Claro. Lo he leído.
Esto he encontrado usando Harvest MCP Server.

Preguntas frecuentes

¿Para qué sirve el servidor MCP Harvest MCP Server?

Harvest MCP Server es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas y contexto externos. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP Harvest MCP Server con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar Harvest MCP Server con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el conector MCP de Harvest MCP Server con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves de API y herramientas MCP en un solo espacio de trabajo. Con Harvest MCP Server conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu flujo de trabajo de chat en TypingMind.

¿Cómo conecto el servidor MCP Harvest MCP Server a TypingMind?

Harvest MCP Server funciona a través del conector MCP local de TypingMind. Es la mejor opción cuando el servidor MCP necesita acceder a archivos locales, aplicaciones de escritorio, herramientas de línea de comandos o recursos privados de tu ordenador.

¿Qué herramientas ofrece el servidor MCP Harvest MCP Server en TypingMind?

Harvest MCP Server ofrece funciones MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves de API con TypingMind para usar el servidor MCP Harvest MCP Server?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves de API, prompts y configuración MCP. Si Harvest MCP Server requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇