T

Ticket AI MCP

by syrian963 · io.github.syrian963/ticket-ai-mcp

Enables teams to measure their actual ticket-writing style from GitLab, Jira, or GitHub and check new or draft tickets against that learned house profile, with optional model-backed drafting.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-syrian963-ticket-ai-mcp": {
      "command": "uvx",
      "args": [
        "ticket-ai-mcp"
      ],
      "env": {
        "TICKET_AI_TRACKER": "<VALUE>",
        "TICKET_AI_PROJECT": "<VALUE>",
        "TICKET_AI_GITLAB_URL": "<VALUE>",
        "TICKET_AI_GITLAB_TOKEN": "<YOUR_VALUE>",
        "TICKET_AI_JIRA_URL": "<VALUE>",
        "TICKET_AI_JIRA_EMAIL": "<VALUE>",
        "TICKET_AI_JIRA_TOKEN": "<YOUR_VALUE>",
        "TICKET_AI_GITHUB_TOKEN": "<YOUR_VALUE>",
        "TICKET_AI_REPO": "<VALUE>",
        "TICKET_AI_TICKET_LANGUAGE": "<VALUE>",
        "TICKET_AI_CACHE_DIR": "<VALUE>",
        "TICKET_AI_JIRA_API": "auto",
        "TICKET_AI_UI_LANGUAGE": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-syrian963-ticket-ai-mcp": {
      "command": "uvx",
      "args": [
        "ticket-ai-mcp"
      ],
      "env": {
        "TICKET_AI_TRACKER": "<VALUE>",
        "TICKET_AI_PROJECT": "<VALUE>",
        "TICKET_AI_GITLAB_URL": "<VALUE>",
        "TICKET_AI_GITLAB_TOKEN": "<YOUR_VALUE>",
        "TICKET_AI_JIRA_URL": "<VALUE>",
        "TICKET_AI_JIRA_EMAIL": "<VALUE>",
        "TICKET_AI_JIRA_TOKEN": "<YOUR_VALUE>",
        "TICKET_AI_GITHUB_TOKEN": "<YOUR_VALUE>",
        "TICKET_AI_REPO": "<VALUE>",
        "TICKET_AI_TICKET_LANGUAGE": "<VALUE>",
        "TICKET_AI_CACHE_DIR": "<VALUE>",
        "TICKET_AI_JIRA_API": "auto",
        "TICKET_AI_UI_LANGUAGE": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-syrian963-ticket-ai-mcp": {
      "command": "uvx",
      "args": [
        "ticket-ai-mcp"
      ],
      "env": {
        "TICKET_AI_TRACKER": "<VALUE>",
        "TICKET_AI_PROJECT": "<VALUE>",
        "TICKET_AI_GITLAB_URL": "<VALUE>",
        "TICKET_AI_GITLAB_TOKEN": "<YOUR_VALUE>",
        "TICKET_AI_JIRA_URL": "<VALUE>",
        "TICKET_AI_JIRA_EMAIL": "<VALUE>",
        "TICKET_AI_JIRA_TOKEN": "<YOUR_VALUE>",
        "TICKET_AI_GITHUB_TOKEN": "<YOUR_VALUE>",
        "TICKET_AI_REPO": "<VALUE>",
        "TICKET_AI_TICKET_LANGUAGE": "<VALUE>",
        "TICKET_AI_CACHE_DIR": "<VALUE>",
        "TICKET_AI_JIRA_API": "auto",
        "TICKET_AI_UI_LANGUAGE": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-syrian963-ticket-ai-mcp": {
      "command": "uvx",
      "args": [
        "ticket-ai-mcp"
      ],
      "env": {
        "TICKET_AI_TRACKER": "<VALUE>",
        "TICKET_AI_PROJECT": "<VALUE>",
        "TICKET_AI_GITLAB_URL": "<VALUE>",
        "TICKET_AI_GITLAB_TOKEN": "<YOUR_VALUE>",
        "TICKET_AI_JIRA_URL": "<VALUE>",
        "TICKET_AI_JIRA_EMAIL": "<VALUE>",
        "TICKET_AI_JIRA_TOKEN": "<YOUR_VALUE>",
        "TICKET_AI_GITHUB_TOKEN": "<YOUR_VALUE>",
        "TICKET_AI_REPO": "<VALUE>",
        "TICKET_AI_TICKET_LANGUAGE": "<VALUE>",
        "TICKET_AI_CACHE_DIR": "<VALUE>",
        "TICKET_AI_JIRA_API": "auto",
        "TICKET_AI_UI_LANGUAGE": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-syrian963-ticket-ai-mcp": {
      "command": "uvx",
      "args": [
        "ticket-ai-mcp"
      ],
      "env": {
        "TICKET_AI_TRACKER": "<VALUE>",
        "TICKET_AI_PROJECT": "<VALUE>",
        "TICKET_AI_GITLAB_URL": "<VALUE>",
        "TICKET_AI_GITLAB_TOKEN": "<YOUR_VALUE>",
        "TICKET_AI_JIRA_URL": "<VALUE>",
        "TICKET_AI_JIRA_EMAIL": "<VALUE>",
        "TICKET_AI_JIRA_TOKEN": "<YOUR_VALUE>",
        "TICKET_AI_GITHUB_TOKEN": "<YOUR_VALUE>",
        "TICKET_AI_REPO": "<VALUE>",
        "TICKET_AI_TICKET_LANGUAGE": "<VALUE>",
        "TICKET_AI_CACHE_DIR": "<VALUE>",
        "TICKET_AI_JIRA_API": "auto",
        "TICKET_AI_UI_LANGUAGE": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-syrian963-ticket-ai-mcp": {
      "command": "uvx",
      "args": [
        "ticket-ai-mcp"
      ],
      "env": {
        "TICKET_AI_TRACKER": "<VALUE>",
        "TICKET_AI_PROJECT": "<VALUE>",
        "TICKET_AI_GITLAB_URL": "<VALUE>",
        "TICKET_AI_GITLAB_TOKEN": "<YOUR_VALUE>",
        "TICKET_AI_JIRA_URL": "<VALUE>",
        "TICKET_AI_JIRA_EMAIL": "<VALUE>",
        "TICKET_AI_JIRA_TOKEN": "<YOUR_VALUE>",
        "TICKET_AI_GITHUB_TOKEN": "<YOUR_VALUE>",
        "TICKET_AI_REPO": "<VALUE>",
        "TICKET_AI_TICKET_LANGUAGE": "<VALUE>",
        "TICKET_AI_CACHE_DIR": "<VALUE>",
        "TICKET_AI_JIRA_API": "auto",
        "TICKET_AI_UI_LANGUAGE": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
TICKET_AI_TRACKER Yes The tracker to use: gitlab, jira, or github.
TICKET_AI_PROJECT Yes The project identifier (e.g., acme/shop or numeric id).
TICKET_AI_GITLAB_URL No The URL of the GitLab instance (e.g., https://gitlab.example.com).
TICKET_AI_GITLAB_TOKEN secret No GitLab personal access token (read_api scope is enough). Optional on public projects.
TICKET_AI_JIRA_URL No The URL of the Jira instance (e.g., https://acme.atlassian.net).
TICKET_AI_JIRA_EMAIL No Email for Jira Cloud authentication.
TICKET_AI_JIRA_TOKEN secret No Jira API token or personal access token.
TICKET_AI_GITHUB_TOKEN secret No GitHub personal access token.
TICKET_AI_REPO No Path to the repository checkout if not the assistant's working directory.
TICKET_AI_TICKET_LANGUAGE No Language to write tickets in.
TICKET_AI_CACHE_DIR No Directory to cache the learned profile. Defaults to .ticket-ai/.
TICKET_AI_JIRA_API No Jira API type. Only needed if detection gets it wrong. Default: auto
TICKET_AI_UI_LANGUAGE No Language for UI buttons and headings.

Similar servers