BM

bestpractical/mcp-server-rt

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

11 stars 4 forks 品質 80 トレンド 26GPL-2.0

AIアシスタントをライブRT(Request Tracker)インスタンスに接続するMCP(Model Context Protocol)サーバー.

概要

AIアシスタントをライブRT(Request Tracker)インスタンスに接続するMCP(Model Context Protocol)サーバー。 自然言語の会話からチケットを検索し、履歴を表示し、チケットを作成および更新します。 - RTのフルチケットSQLクエリ言語を使用して - 完全なトランザクション履歴を含む - 初期コンテンツとすべてのチケットメタデータの設定:ステータス、所有者、リクエスト、期限、カスタムフィールド、カスタムロール、およびリンク - 応答、コメント、および更新チケット、同じフルフィールドサポート付き - リストキュー、カスタムフィールドの定義を調べ、カスタムフィールドの定義を調べ、名前または電子メールでユーザーを調べる - AIは、複雑なクエリを構築する前にフルRT 6.0.3の構文ガイドに相談できます。 - キューの構築と構成 - ライフサイクル、ユーザー定義されたワークフロー、カスタムフィールドの定義、カスタムフィールドの定義、カスタムフィールドの定義、カスタムフィールドのチェック、カスタムフィールドの作成、および作成 - - REST 2.0 API が有効になっている RT 6.0 以降 (デフォルトで含む).

概要(AI 翻訳)

AIアシスタントをライブRT(Request Tracker)インスタンスに接続するMCP(Model Context Protocol)サーバー。 自然言語の会話からチケットを検索し、履歴を表示し、チケットを作成および更新します。

##特徴

-RTのフルチケットSQLクエリ言語を使用した検索チケット

  • チケットの詳細を読む完全な取引履歴を含む -作成チケット初期コンテンツとすべてのチケットメタデータの設定:ステータス、所有者、リクエスト、期限、カスタムフィールド、カスタムロール、リンク -チケットの更新応答、コメント、および更新チケット、同じフルフィールドサポート
  • キューとユーザーディスカバリー — リストキュー、カスタムフィールドの定義を調べ、名前または電子メールでユーザーを調べる
  • TicketSQL文法参照 — 複雑なクエリを構築する前に、AIは完全なRT 6.0.3構文ガイドに相談できます
  • キュー管理 — ライフサイクル、ユーザー定義のグループ、およびそのキューの構築と構成 会員、カスタムフィールド、権利、キュー監視
  • ガイドされたキュー作成 — [create-queue]] ワークフローについてあなたにインタビューするプロンプト、 設定を推薦し、計画を確認し、それを造ります

要件

  • REST 2 で RT 6.0 以降.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

mcp-server-rt

An MCP (Model Context Protocol) server that connects AI assistants to a live RT (Request Tracker) instance. Search tickets, view history, create and update tickets — all from a natural language conversation.

Features

  • Search tickets using RT’s full TicketSQL query language
  • Read ticket details including full transaction history
  • Create tickets setting initial content and all ticket metadata: status, owner, requestors, due dates, custom fields, custom roles, and links
  • Update tickets reply, comment, and update tickets, with the same full field support
  • Queue and user discovery — list queues, inspect custom field definitions, look up users by name or email
  • TicketSQL grammar reference — the AI can consult the full RT 6.0.3 syntax guide before constructing complex queries
  • Queue administration — build and configure queues: lifecycles, user-defined groups and their members, custom fields, rights, and queue watchers
  • Guided queue creation — a create-queue prompt that interviews you about the workflow, recommends a configuration, confirms the plan, then builds it

Requirements

  • RT 6.0 or later with REST 2.0 API enabled (included by default). The lifecycle and rights tools need RT 6.0.3 or later, which is when RT added those REST 2.0 endpoints.
  • Node.js 18 or later
  • An RT authentication token

Installation

npm install -g mcp-server-rt

Or use without installing via npx mcp-server-rt.

Creating an RT Auth Token

In RT: Logged in as → Settings → Auth Tokens → Create

Give the token a name (e.g. “Claude”) and copy the generated token string.

The token is associated with the user account, so all operations in RT from Claude using that token will be logged as performed by that user. So everything you do via Claude still gets logged in RT as you, including emails sent on comments and replies.

Users need to be granted the right ManageAuthTokens to see the Auth Tokens menu.


AI Client Setup

MCP is an open standard — this server works with any MCP-compatible AI client. Configuration varies by client.

Claude Desktop ✓ (tested)

Install the .mcpb extension package from the releases page. In the Claude app, go to Customize → Connectors, find RT, and enter your RT URL and auth token.

Alternatively, add manually to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "rt": {
      "type": "stdio",
      "command": "npx",
      "args": ["mcp-server-rt"],
      "env": {
        "RT_URL": "https://rt.example.com",
        "RT_TOKEN": "your-auth-token"
      }
    }
  }
}

Claude Code ✓ (tested)

Add to .mcp.json in your project root:

{
  "mcpServers": {
    "rt": {
GitHub で README 全文を見る

インストール

npx mcp-server-rt
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "rt": { "type": "stdio", "command": "npx", "args": ["mcp-server-rt"], "env": { "RT_URL": "https://rt.example.com", "RT_TOKEN": "your-auth-token" } } } }