Navigation
Tempo MCP Server: Centralize & Automate Worklogs - MCP Implementation

Tempo MCP Server: Centralize & Automate Worklogs

Simplify Tempo worklog management in Jira with MCP Server – centralize, automate, and gain clarity on your team's time tracking. Smarter workflows, fewer headaches." )

Developer Tools
4.5(43 reviews)
64 saves
30 comments

This tool saved users approximately 9776 hours last month!

About Tempo MCP Server

What is Tempo MCP Server: Centralize & Automate Worklogs?

Tempo MCP Server is a specialized Model Context Protocol (MCP) server designed to streamline time tracking and worklog management within Jira via Tempo's API. It serves as an integration hub, enabling seamless synchronization between MCP-compatible clients like Claude and Cursor, while centralizing workforce data to enhance operational efficiency.

How to Use Tempo MCP Server: Centralize & Automate Worklogs?

Two primary methods are available for deployment:

  • NPX Quickstart: Execute via command line with pre-configured tokens for instant setup. Ideal for users prioritizing simplicity over customization.
  • Local Development: Clone the repository to tailor configurations or extend functionality. Requires manual setup of dependencies and environment variables.

Post-installation, configure client tools like Claude Desktop by modifying their MCP server configurations to point to the Tempo MCP instance.

Tempo MCP Server Features

Key Features of Tempo MCP Server: Centralize & Automate Worklogs?

  • Granular Worklog Control: Retrieve, create, edit, and delete worklogs with precise date and duration parameters.
  • Batch Processing: Streamline workflows by creating multiple worklogs in a single transaction.
  • API-Driven Automation: Leverage Tempo and Jira APIs for programmatic access, reducing manual entry overhead.
  • Client Agnostic: Supports any MCP-compliant platform, ensuring compatibility with evolving tool ecosystems.

Use Cases of Tempo MCP Server: Centralize & Automate Worklogs?

  • Automate time logging for distributed teams to maintain audit trails.
  • Integrate with productivity tools to trigger worklog updates based on task status changes.
  • Generate consolidated reports by aggregating worklogs across projects through API queries.
  • Enable developers to log coding sprints directly from IDEs using MCP client extensions.

Tempo MCP Server FAQ

FAQ from Tempo MCP Server: Centralize & Automate Worklogs?

  • Q: How do I secure my API credentials?
    A: Store tokens in environment variables or wrapper scripts instead of hardcoding them for enhanced security.
  • Q: Can I use this with self-hosted Jira?
    A: Currently supports Jira Cloud instances only; server versions may require additional configuration.
  • Q: What error handling exists?
    A: API validation checks and detailed console outputs assist in diagnosing token permissions or network issues.
  • Q: How do I troubleshoot connection failures?
    A: Verify base URL format, token validity, and firewall rules blocking outgoing requests to Atlassian services.

Content

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

System Requirements

  • Node.js 18+ (LTS recommended)
  • Jira Cloud instance
  • Tempo API token
  • Jira API token

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:

npx tempo-mcp-server --tempo-token=your_tempo_token --jira-token=your_jira_token [[email protected]](/cdn-cgi/l/email-protection) --jira-base-url=https://your-org.atlassian.net

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`
  1. Add the following configuration:
{
  "mcpServers": {
    "Jira_Tempo": {
      "command": "npx",
      "args": [
        "tempo-mcp-server",
        "--tempo-token=your_tempo_token",
        "--jira-token=your_jira_token",
        "[[email protected]](/cdn-cgi/l/email-protection)",
        "--jira-base-url=https://your-org.atlassian.net"
      ]
    }
  }
}
  1. Restart your Claude Desktop client

Option 2: Local Repository Clone

Installation

# 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

Local Configuration

Using the Wrapper Script (Recommended for local usage)

The easiest way to run the server locally is to use the included wrapper script:

  1. Edit the tempo-mcp-wrapper.sh file and update your API tokens and credentials:
# Update these lines with your actual credentials
export TEMPO_API_TOKEN="your_tempo_api_token_here"
export JIRA_API_TOKEN="your_jira_api_token_here"
export JIRA_EMAIL="[[email protected]](/cdn-cgi/l/email-protection)"
export JIRA_BASE_URL="https://your-org.atlassian.net"
  1. Make the script executable:
chmod +x tempo-mcp-wrapper.sh

Connecting to Claude Desktop (Local Method)

  1. Open your MCP client configuration file
  2. Add the following configuration:
{
  "mcpServers": {
    "Jira_Tempo": {
      "command": "/bin/bash",
      "args": [
        "/ABSOLUTE/PATH/TO/tempo-mcp-wrapper.sh"
      ]
    }
  }
}

Replace /ABSOLUTE/PATH/TO/tempo-mcp-wrapper.sh with the actual path to your wrapper script.

  1. Restart your Claude Desktop client

Getting API Tokens

  1. Tempo API Token :
* Go to Tempo > Settings > API Integration
* Create a new API token with appropriate permissions
  1. Jira API Token :
* Go to [Atlassian API tokens](https://id.atlassian.com/manage-profile/security/api-tokens)
* Create a new API token for your account

Command Line Options

When using the server directly (not through the wrapper script), you can provide configuration via command line:

npx tempo-mcp-server --tempo-token=your_tempo_token --jira-token=your_jira_token [[email protected]](/cdn-cgi/l/email-protection) --jira-base-url=https://your-org.atlassian.net

Short form options are also available:

npx tempo-mcp-server -t your_tempo_token -j your_jira_token -e [[email protected]](/cdn-cgi/l/email-protection) -u https://your-org.atlassian.net

Run with --help or -h to see all available options.

Available Tools

retrieveWorklogs

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

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

createWorklog

Creates a new worklog for a specific Jira issue.

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

bulkCreateWorklogs

Creates multiple worklogs in a single operation.

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

editWorklog

Modifies an existing worklog.

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

deleteWorklog

Removes an existing worklog.

Parameters:
- worklogId: String

Project Structure

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

Development

# Run in development mode with auto-reload
npm run dev

# Build TypeScript files
npm run build

# Run the compiled version
npm start

# Run the MCP Inspector for debugging
npm run inspect

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.

Related MCP Servers & Clients