JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q44941F
  • License MIT

TiFlux MCP Server - Model Context Protocol integration for Claude Code and other AI clients

Package Exports

  • @tiflux/mcp
  • @tiflux/mcp/server-sdk.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@tiflux/mcp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

TiFlux MCP Server

Model Context Protocol (MCP) server for TiFlux integration with Claude Code and other AI clients.

Features

  • Get Tickets: Search and retrieve specific tickets by ID
  • Create Tickets: Create new tickets with customizable parameters
  • API Integration: Direct integration with TiFlux API
  • Environment Configuration: Secure configuration with environment variables

Installation

npm install -g @tiflux/mcp

Usage

With Claude Code

Add to your MCP configuration:

{
  "tiflux": {
    "command": "npx",
    "args": ["@tiflux/mcp@latest"]
  }
}

With Other MCP Clients

npx @tiflux/mcp@latest

Configuration

Create a .env file with your TiFlux API credentials:

# TiFlux API Configuration
TIFLUX_API_TOKEN=your_api_token_here
TIFLUX_API_URL=https://api.tiflux.com/api/v2

# Default values for ticket creation
TIFLUX_DEFAULT_CLIENT_ID=1
TIFLUX_DEFAULT_DESK_ID=1
TIFLUX_DEFAULT_PRIORITY_ID=1
TIFLUX_DEFAULT_CATALOG_ITEM_ID=1

Available Tools

get_ticket

Retrieve a specific ticket by ID.

Parameters:

  • ticket_id (string, required): ID of the ticket to retrieve

create_ticket

Create a new ticket in TiFlux.

Parameters:

  • title (string, required): Ticket title
  • description (string, required): Ticket description
  • client_id (number, optional): Client ID
  • desk_id (number, optional): Desk ID
  • priority_id (number, optional): Priority ID
  • services_catalogs_item_id (number, optional): Service catalog item ID
  • status_id (number, optional): Status ID
  • requestor_name (string, optional): Requestor name
  • requestor_email (string, optional): Requestor email
  • requestor_telephone (string, optional): Requestor phone
  • responsible_id (number, optional): Responsible user ID
  • followers (string, optional): Comma-separated follower emails

Development

# Clone the repository
git clone https://github.com/tiflux/tiflux-mcp.git
cd tiflux-mcp

# Install dependencies
npm install

# Copy environment configuration
cp .env.example .env

# Edit .env with your credentials
# Run the server
npm start

Requirements

  • Node.js >= 16.0.0
  • Valid TiFlux API credentials

License

MIT

Contributing

Issues and pull requests are welcome on GitHub.

Support

For support, please contact the TiFlux development team or create an issue on GitHub.