npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

odoo-timesheet-mcp

v1.1.0

Published

MCP server for managing Odoo 16 timesheets via External API

Readme

Odoo Timesheet MCP Server

An MCP (Model Context Protocol) server for managing Odoo 16 timesheets via the External API.

Features

  • List timesheet entries with filtering
  • Read detailed timesheet information
  • Create new timesheet entries
  • Update existing timesheet entries
  • Delete timesheet entries

Prerequisites

  • Node.js 18 or higher
  • An Odoo 16 instance with External API access
  • Odoo API credentials (username/password or API key)

Installation

npm install
npm run build

Configuration

Copy the example configuration file:

cp config.example.json config.json

Edit config.json with your Odoo instance details:

{
  "odoo_url": "https://your-instance.odoo.com",
  "odoo_db": "your-database-name",
  "odoo_username": "your-username",
  "odoo_password": "your-password-or-api-key"
}

Usage

As MCP Server

Add to your MCP client configuration:

{
  "mcpServers": {
    "odoo-timesheet": {
      "command": "node",
      "args": ["/path/to/odoo-timesheet-mcp/dist/index.js"],
      "env": {
        "ODOO_URL": "https://your-instance.odoo.com",
        "ODOO_DB": "your-database",
        "ODOO_USERNAME": "your-username",
        "ODOO_PASSWORD": "your-password"
      }
    }
  }
}

Available Tools

list_timesheets

List timesheet entries with optional filters.

Parameters:

  • limit (optional): Maximum number of entries to return
  • offset (optional): Number of entries to skip
  • employee_id (optional): Filter by employee ID
  • project_id (optional): Filter by project ID
  • date_from (optional): Filter entries from date (YYYY-MM-DD)
  • date_to (optional): Filter entries to date (YYYY-MM-DD)

read_timesheet

Read detailed information for specific timesheet entries.

Parameters:

  • ids: Array of timesheet entry IDs to read

create_timesheet

Create a new timesheet entry.

Parameters:

  • project_id: Project ID
  • task_id (optional): Task ID
  • name: Description of work
  • unit_amount: Hours worked
  • date: Date (YYYY-MM-DD)
  • employee_id (optional): Employee ID

update_timesheet

Update existing timesheet entries.

Parameters:

  • ids: Array of timesheet entry IDs to update
  • values: Object with fields to update

delete_timesheet

Delete timesheet entries.

Parameters:

  • ids: Array of timesheet entry IDs to delete

Development

npm run watch  # Watch mode for development
npm run dev    # Build and run

API Reference

This server uses the Odoo 16 External API (XML-RPC): https://www.odoo.com/documentation/16.0/developer/reference/external_api.html

The main model used is account.analytic.line which represents timesheet entries in Odoo.