Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    Tempo Mcp Server

    MCP server for managing Tempo worklogs in Jira

    23 stars
    TypeScript
    Updated Nov 4, 2025
    automation
    cursor
    jira
    js
    mcp
    mcp-server
    mcp-tools
    npm
    tempo
    ts
    typescript
    vibe-coding
    worklogs

    Table of Contents

    • Features
    • System Requirements
    • Usage Options
    • Option 1: NPX Usage
    • Connecting to Claude Desktop (NPX Method)
    • One-Click Install for Cursor
    • Option 2: Local Repository Clone
    • Installation
    • Running Locally
    • 1. Using the MCP Inspector (for development and debugging)
    • 2. Using Node directly
    • Connecting to Claude Desktop (Local Method)
    • Getting API Tokens
    • Environment Variables
    • Authentication Types
    • Basic Authentication (default)
    • Bearer Token Authentication (OAuth 2.0)
    • OAuth 2.0 PKCE Authentication
    • Tempo Account Configuration
    • Available Tools
    • retrieveWorklogs
    • createWorklog
    • bulkCreateWorklogs
    • editWorklog
    • deleteWorklog
    • getMissingWorklogDays
    • getWorklogAnalytics
    • Project Structure
    • Troubleshooting
    • License
    • Credits

    Table of Contents

    • Features
    • System Requirements
    • Usage Options
    • Option 1: NPX Usage
    • Connecting to Claude Desktop (NPX Method)
    • One-Click Install for Cursor
    • Option 2: Local Repository Clone
    • Installation
    • Running Locally
    • 1. Using the MCP Inspector (for development and debugging)
    • 2. Using Node directly
    • Connecting to Claude Desktop (Local Method)
    • Getting API Tokens
    • Environment Variables
    • Authentication Types
    • Basic Authentication (default)
    • Bearer Token Authentication (OAuth 2.0)
    • OAuth 2.0 PKCE Authentication
    • Tempo Account Configuration
    • Available Tools
    • retrieveWorklogs
    • createWorklog
    • bulkCreateWorklogs
    • editWorklog
    • deleteWorklog
    • getMissingWorklogDays
    • getWorklogAnalytics
    • Project Structure
    • Troubleshooting
    • License
    • Credits

    Documentation

    MseeP.ai Security Assessment Badge

    Tempo MCP Server

    A Model Context Protocol (MCP) server for managing Tempo worklogs in Jira. This server provides tools for tracking time and managing worklogs through Tempo's API, making it accessible through Claude, Cursor and other MCP-compatible clients.

    npm version

    License: MIT

    Features

    • Retrieve Worklogs: Get all worklogs for a specific date range
    • Create Worklog: Log time against Jira issues
    • Bulk Create: Create multiple worklogs in a single operation
    • Edit Worklog: Modify time spent, dates, and descriptions
    • Delete Worklog: Remove existing worklogs
    • Missing Days Report: Find working days where you logged less than expected (uses Tempo's user-schedule, so holidays and non-working days are skipped automatically)
    • Worklog Analytics: Aggregate hours by issue, account, day, week, or month with totals and percentages

    System Requirements

    • Node.js 18+ (LTS recommended)
    • Jira Cloud instance
    • Tempo API token
    • Jira API token (not required when using OAuth 2.0 PKCE authentication)

    Usage Options

    There are two main ways to use this MCP server:

    1. NPX (Recommended for most users): Run directly without installation

    2. Local Clone: Clone the repository for development or customization

    Option 1: NPX Usage

    The easiest way to use this server is via npx without installation:

    Connecting to Claude Desktop (NPX Method)

    1. Open your MCP client configuration file:

    • Claude Desktop (macOS): ~/Library/Application Support/Claude/claude_desktop_config.json
    • Claude Desktop (Windows): %APPDATA%\Claude\claude_desktop_config.json

    2. Add the following configuration:

    json
    {
      "mcpServers": {
        "Jira_Tempo": {
          "command": "npx",
          "args": ["-y", "@ivelin-web/tempo-mcp-server"],
          "env": {
            "TEMPO_API_TOKEN": "your_tempo_api_token_here",
            "JIRA_API_TOKEN": "your_jira_api_token_here",
            "JIRA_EMAIL": "your_email@example.com",
            "JIRA_BASE_URL": "https://your-org.atlassian.net"
          }
        }
      }
    }

    3. Restart your Claude Desktop client

    One-Click Install for Cursor

    Install MCP Server

    Option 2: Local Repository Clone

    Installation

    bash
    # Clone the repository
    git clone https://github.com/ivelin-web/tempo-mcp-server.git
    cd tempo-mcp-server
    
    # Install dependencies
    npm install
    
    # Build TypeScript files
    npm run build

    Running Locally

    There are two ways to run the server locally:

    1. Using the MCP Inspector (for development and debugging)

    bash
    npm run inspect

    2. Using Node directly

    You can run the server directly with Node by pointing to the built JavaScript file:

    Connecting to Claude Desktop (Local Method)

    1. Open your MCP client configuration file

    2. Add the following configuration:

    json
    {
      "mcpServers": {
        "Jira_Tempo": {
          "command": "node",
          "args": ["/ABSOLUTE/PATH/TO/tempo-mcp-server/build/index.js"],
          "env": {
            "TEMPO_API_TOKEN": "your_tempo_api_token_here",
            "JIRA_API_TOKEN": "your_jira_api_token_here",
            "JIRA_EMAIL": "your_email@example.com",
            "JIRA_BASE_URL": "https://your-org.atlassian.net"
          }
        }
      }
    }

    3. Restart your Claude Desktop client

    Getting API Tokens

    1. Tempo API Token:

    • Go to Tempo > Settings > API Integration
    • Create a new API token with Custom access and select at minimum:
    • Worklogs (View + Manage) — for all worklog tools
    • Schemes (View) — required for getMissingWorklogDays (reads the user-schedule)
    • Accounts (View) — only if your worklogs use Tempo accounts
    • Tempo does not allow editing scopes on an existing token; create a new one if you need to add scopes later.

    2. Jira API Token:

    • Go to Atlassian API tokens
    • Click "Create API token" (the classic, unscoped flow). This is what works with basic auth out of the box.
    • Do not use "Create API token with scopes" — those tokens must be sent through Atlassian's gateway URL (https://api.atlassian.com/ex/jira/{cloudId}/...) with the cloud ID, which this server's basic auth path does not currently route to. They will fail with 401 against your site URL. If you only have a scoped token available (e.g. your org disabled classic tokens), use the OAuth 2.0 PKCE flow instead — it routes through the gateway automatically.

    Environment Variables

    The server requires the following environment variables:

    code
    TEMPO_API_TOKEN           # Your Tempo API token
    JIRA_API_TOKEN            # Your Jira API token (required for basic and bearer auth)
    JIRA_EMAIL                # Your Jira account email (required for basic auth)
    JIRA_BASE_URL             # Your Jira instance URL (e.g., https://your-org.atlassian.net)
    JIRA_AUTH_TYPE            # Optional: 'basic' (default), 'bearer', or 'oauth'
    JIRA_OAUTH_CLIENT_ID      # OAuth 2.0 client ID (required for oauth auth)
    JIRA_OAUTH_CLIENT_SECRET  # OAuth 2.0 client secret (required for oauth auth)
    JIRA_TEMPO_ACCOUNT_CUSTOM_FIELD_ID     # Optional: Custom field ID for Tempo accounts

    You can set these in your environment or provide them in the MCP client configuration.

    Authentication Types

    The server supports three authentication methods for the Jira API:

    Basic Authentication (default)

    Uses email and API token. This is the traditional method:

    json
    {
      "env": {
        "JIRA_API_TOKEN": "your_api_token",
        "JIRA_EMAIL": "your_email@example.com",
        "JIRA_AUTH_TYPE": "basic"
      }
    }

    Bearer Token Authentication (OAuth 2.0)

    For users who want to use OAuth 2.0 scoped tokens for enhanced security:

    json
    {
      "env": {
        "JIRA_API_TOKEN": "your_oauth_access_token",
        "JIRA_AUTH_TYPE": "bearer"
      }
    }

    Note: When using bearer auth, JIRA_EMAIL is not required as the user is identified from the token.

    OAuth 2.0 PKCE Authentication

    Some Atlassian organizations restrict API token access via admin policy, which causes basic and bearer authentication to fail. The oauth type implements the full OAuth 2.0 authorization code flow with PKCE and works regardless of API token restrictions — tokens are short-lived and refreshed automatically without any manual management.

    On first use, a browser window opens for you to authorize access. Tokens are stored locally at ~/.tempo-mcp-server/tokens.json and refreshed automatically.

    1. Create an OAuth 2.0 app in Atlassian Developer Console with the read:jira-user and read:jira-work scopes and http://localhost:7788/callback as the callback URL.

    2. Configure the server:

    json
    {
      "env": {
        "JIRA_BASE_URL": "https://your-org.atlassian.net",
        "JIRA_AUTH_TYPE": "oauth",
        "JIRA_OAUTH_CLIENT_ID": "your_client_id",
        "JIRA_OAUTH_CLIENT_SECRET": "your_client_secret"
      }
    }

    Note: JIRA_API_TOKEN and JIRA_EMAIL are not required when using oauth auth.

    Tempo Account Configuration

    If your Tempo instance requires worklogs to be linked to accounts, set the custom field ID that contains the account information:

    bash
    JIRA_TEMPO_ACCOUNT_CUSTOM_FIELD_ID=10234

    To find your custom field ID:

    1. Go to Jira Settings → Issues → Custom Fields

    2. Find your Tempo account field and note the ID from the URL or field configuration

    Available Tools

    retrieveWorklogs

    Fetches worklogs for the configured user between start and end dates.

    code
    Parameters:
    - startDate: String (YYYY-MM-DD)
    - endDate: String (YYYY-MM-DD)

    createWorklog

    Creates a new worklog for a specific Jira issue.

    code
    Parameters:
    - issueKey: String (e.g., "PROJECT-123")
    - timeSpentHours: Number (positive)
    - date: String (YYYY-MM-DD)
    - description: String (optional)
    - startTime: String (HH:MM format, optional)

    bulkCreateWorklogs

    Creates multiple worklogs in a single operation.

    code
    Parameters:
    - worklogEntries: Array of {
        issueKey: String
        timeSpentHours: Number
        date: String (YYYY-MM-DD)
        description: String (optional)
        startTime: String (HH:MM format, optional)
      }

    editWorklog

    Modifies an existing worklog.

    code
    Parameters:
    - worklogId: String
    - timeSpentHours: Number (positive)
    - description: String (optional)
    - date: String (YYYY-MM-DD, optional)
    - startTime: String (HH:MM format, optional)

    deleteWorklog

    Removes an existing worklog.

    code
    Parameters:
    - worklogId: String

    getMissingWorklogDays

    Reports working days in a date range where the user has logged less time than expected. Expected hours per day come from the user's Tempo schedule, so holidays, non-working days, and part-time schedules are honoured automatically.

    code
    Parameters:
    - startDate: String (YYYY-MM-DD)
    - endDate: String (YYYY-MM-DD)
    - minHoursPerDay: Number (optional) — override the per-day threshold;
                                          non-working days are still skipped

    Required Tempo scope: the TEMPO_API_TOKEN must include the Schemes scope (covers Workload Schemes, Holiday Schemes, User Schedule) in addition to Worklogs. Tempo does not allow modifying scopes on an existing token — if your current token only has Worklogs, create a new one at Tempo > Settings > API Integration.

    getWorklogAnalytics

    Aggregates worklogs in a date range and returns hours, worklog count, and percentage per group, sorted by hours descending.

    code
    Parameters:
    - startDate: String (YYYY-MM-DD)
    - endDate: String (YYYY-MM-DD)
    - groupBy: "issue" | "account" | "day" | "week" | "month" (optional, default "issue")

    Project Structure

    code
    tempo-mcp-server/
    ├── src/                  # Source code
    │   ├── config.ts         # Configuration management
    │   ├── index.ts          # MCP server implementation
    │   ├── jira.ts           # Jira API integration
    │   ├── oauth.ts          # OAuth 2.0 PKCE flow and token management
    │   ├── tools.ts          # Tool implementations
    │   ├── types.ts          # TypeScript types and schemas
    │   └── utils.ts          # Utility functions
    ├── build/                # Compiled JavaScript (generated)
    ├── tsconfig.json         # TypeScript configuration
    └── package.json          # Project metadata and scripts

    Troubleshooting

    If you encounter issues:

    1. Check that all environment variables are properly set

    2. Verify your Jira and Tempo API tokens have the correct permissions

    3. Check the console output for error messages

    4. Try running with the inspector: npm run inspect

    License

    MIT

    Credits

    This server implements the Model Context Protocol specification created by Anthropic.

    Similar MCP

    Based on tags & features

    • MC

      Mcpjungle

      Go·
      617
    • MC

      Mcp Open Library

      TypeScript·
      42
    • MC

      Mcp Ipfs

      TypeScript·
      11
    • LI

      Liveblocks Mcp Server

      TypeScript·
      11

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • MC

      Mcpjungle

      Go·
      617
    • MC

      Mcp Open Library

      TypeScript·
      42
    • MC

      Mcp Ipfs

      TypeScript·
      11
    • LI

      Liveblocks Mcp Server

      TypeScript·
      11

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k