Skip to main content
Glama
Tripletex MCP Server

Tripletex MCP Server

by adriantr

Tripletex MCP Server

An MCP (Model Context Protocol) server for the Tripletex accounting API. Enables AI assistants to log hours, manage timesheets, and handle invoices through natural language.

Features

  • Time tracking — log hours, start/stop timers, search entries

  • Projects & activities — look up projects and activities by name

  • Timesheet approval — complete, approve, and reopen weekly/monthly timesheets

  • Invoices — search outgoing and incoming invoices

  • Supplier invoice approval — approve or reject supplier invoices

Related MCP server: fortnox-mcp-server

Setup

1. Get your Tripletex API tokens

You need two tokens from Tripletex:

  • Consumer token — provided after API 2.0 registration

  • Employee token — created by an admin in Tripletex under user settings > "API access"

The server automatically creates a session token on first use (valid 1 day).

2. Configure your MCP client

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "tripletex": {
      "command": "npx",
      "args": ["-y", "tripletex-mcp"],
      "env": {
        "TRIPLETEX_CONSUMER_TOKEN": "<your-consumer-token>",
        "TRIPLETEX_EMPLOYEE_TOKEN": "<your-employee-token>"
      }
    }
  }
}

Or to install from GitHub directly:

{
  "mcpServers": {
    "tripletex": {
      "command": "npx",
      "args": ["-y", "github:adriantr/tripletex-mcp"],
      "env": {
        "TRIPLETEX_CONSUMER_TOKEN": "<your-consumer-token>",
        "TRIPLETEX_EMPLOYEE_TOKEN": "<your-employee-token>"
      }
    }
  }
}

Environment variables

Variable

Required

Description

TRIPLETEX_CONSUMER_TOKEN

Yes

API consumer token

TRIPLETEX_EMPLOYEE_TOKEN

Yes

Employee token

TRIPLETEX_COMPANY_ID

No

Company ID (default: 0 = own company)

TRIPLETEX_API_URL

No

API base URL (default: https://tripletex.no/v2)

Tools

Authentication

  • whoami — Get information about the currently authenticated user

Projects & Activities

  • search_projects — Search for projects by name or other filters

  • search_activities — Search for activities (e.g. development, meetings, vacation)

Time Tracking

  • search_timesheet_entries — Search timesheet entries for a date range

  • get_timesheet_entry — Get a single timesheet entry by ID

  • create_timesheet_entry — Log hours for a project/activity/date

  • update_timesheet_entry — Update an existing timesheet entry

  • delete_timesheet_entry — Delete a timesheet entry

  • get_total_hours — Get total hours for a date range

  • get_recent_projects — Get recently used projects

  • get_recent_activities — Get recently used activities for a project

Time Clock

  • start_time_clock — Start a real-time timer

  • stop_time_clock — Stop a running timer

  • get_current_time_clock — Get the currently running timer

Timesheet Approval

  • search_timesheet_weeks — Search weekly timesheet status

  • approve_timesheet_week — Approve a timesheet week

  • complete_timesheet_week — Mark a week as complete

  • reopen_timesheet_week — Reopen a completed/approved week

  • get_timesheet_month — Get monthly timesheet status

  • approve_timesheet_month — Approve a timesheet month

  • complete_timesheet_month — Mark a month as complete

  • reopen_timesheet_month — Reopen a completed/approved month

Invoices

  • search_invoices — Search outgoing (customer) invoices

  • get_invoice — Get a single outgoing invoice by ID

  • search_supplier_invoices — Search incoming (supplier) invoices

  • get_supplier_invoice — Get a single supplier invoice by ID

  • get_supplier_invoices_for_approval — Get invoices pending approval

  • approve_supplier_invoice — Approve a supplier invoice

  • approve_supplier_invoices — Approve multiple supplier invoices

  • reject_supplier_invoice — Reject a supplier invoice (comment required)

  • reject_supplier_invoices — Reject multiple supplier invoices (comment required)

Development

npm install
npm run build

License

ISC

Available Tools

31 tools
approve_supplier_invoiceC

Approve a supplier invoice.

Inputs: invoiceId (required), comment.

approve_supplier_invoicesC

Approve multiple supplier invoices at once.

Inputs: invoiceIds (required), comment.

approve_timesheet_monthC

Approve a timesheet month.

Inputs: id, employeeIds, monthYear.

approve_timesheet_weekC

Approve a timesheet week.

Inputs: id, employeeId, weekYear.

complete_timesheet_monthC

Mark a timesheet month as complete.

Inputs: id, employeeIds, monthYear.

complete_timesheet_weekC

Mark a timesheet week as complete.

Inputs: id, employeeId, weekYear.

create_timesheet_entryA

Create a new timesheet entry (log hours). Only one entry per employee/date/activity/project combo.

Inputs: employeeId (required), projectId (required), activityId (required), date (required), +2 more.

delete_timesheet_entryB
Destructive

Delete a timesheet entry.

Inputs: id (required), version.

get_current_time_clockC

Get the currently running time clock for an employee.

Inputs: employeeId.

get_invoiceC

Get a single outgoing invoice by ID.

Inputs: id (required).

get_recent_activitiesC

Get recently used activities for a project.

Inputs: projectId (required), employeeId.

get_recent_projectsC

Get recently used projects for timesheet entries.

Inputs: employeeId.

get_supplier_invoiceB

Get a single supplier invoice by ID.

Inputs: id (required).

get_supplier_invoices_for_approvalC

Get supplier invoices that are pending approval.

Inputs: searchText, showAll, employeeId, from, +1 more.

get_timesheet_entryC

Get a single timesheet entry by ID.

Inputs: id (required).

get_timesheet_monthC

Get monthly timesheet status for employees.

Inputs: employeeIds (required), monthYear (required).

get_total_hoursB

Get total hours registered for an employee in a date range.

Inputs: employeeId, startDate, endDate.

reject_supplier_invoiceB
Destructive

Reject a supplier invoice. A comment is required.

Inputs: invoiceId (required), comment (required).

reject_supplier_invoicesA
Destructive

Reject multiple supplier invoices at once. A comment is required.

Inputs: invoiceIds (required), comment (required).

reopen_timesheet_monthC

Reopen a completed/approved timesheet month.

Inputs: id, employeeIds, monthYear.

reopen_timesheet_weekC

Reopen a completed/approved timesheet week.

Inputs: id, employeeId, weekYear.

search_activitiesB

Search for activities (e.g. development, meetings, vacation). Use this to find activity IDs for logging hours.

Inputs: name, number, isProjectActivity, isGeneral, +3 more.

search_invoicesC

Search outgoing (customer) invoices by date range.

Inputs: invoiceDateFrom (required), invoiceDateTo (required), invoiceNumber, customerId, +2 more.

search_projectsB

Search for projects by name or other filters. Use this to find project IDs for logging hours.

Inputs: name, number, employeeInProjectId, projectManagerId, +3 more.

search_supplier_invoicesB

Search incoming (supplier) invoices by date range.

Inputs: invoiceDateFrom (required), invoiceDateTo (required), invoiceNumber, supplierId, +2 more.

search_timesheet_entriesC

Search timesheet entries for a date range. Returns hours logged by employees.

Inputs: dateFrom (required), dateTo (required), employeeId, projectId, +4 more.

search_timesheet_weeksC

Search weekly timesheet status.

Inputs: employeeIds, weekYear, from, count.

start_time_clockC

Start a time clock (timer) for tracking hours in real-time.

Inputs: activityId (required), projectId, employeeId, date, +1 more.

stop_time_clockC

Stop a running time clock.

Inputs: id (required), comment.

update_timesheet_entryC

Update an existing timesheet entry. Fields not set will be nulled.

Inputs: id (required), version (required), employeeId (required), projectId (required), +4 more.

whoamiB

Get information about the currently authenticated user.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 31 tools

    Disambiguation4/5

    Most tools have distinct purposes, but there is some overlap between approve/reject supplier invoices (single vs. multiple) and timesheet month/week operations, which could cause minor confusion. The descriptions clarify the differences, so misselection is unlikely.

    Naming Consistency5/5

    All tools follow a consistent verb_noun naming pattern (e.g., approve_supplier_invoice, get_timesheet_entry, search_activities). There are no deviations in style or convention, making the set predictable and readable.

    Tool Count3/5

    With 31 tools, the count is borderline high for a timesheet and invoicing server, potentially feeling heavy. However, it covers multiple domains (timesheets, invoices, time clocks), so it's not extreme but may overwhelm agents.

    Completeness5/5

    The toolset provides comprehensive coverage for timesheet management (CRUD, approval, completion, reopening), supplier invoice handling (approval, rejection, search), and time clock operations. No obvious gaps exist for the stated purposes.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      C
      maintenance
      Enables AI assistants to manage invoices, contacts, purchases, journal entries, and other accounting operations via the Fiken API.
      100
      21 npm
      7
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Enables AI agents to manage invoices, customers, suppliers, accounting entries, orders, and more through Fortnox's cloud accounting platform via natural language.
      20
      68 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with the Tripletex accounting system via 56 tools and 18 skills for orders, invoices, bookkeeping, reports, projects, and travel expenses.
      23
      MIT