Skip to main content
Glama

yt-mcp

Tests Python License: MIT Release Tools Docker Stars M8ven Score

YouTrack MCP server for Claude Code, GitHub Copilot, Cursor, JetBrains IDEs, n8n, and any MCP-compatible client. Talk to your YouTrack instance in natural language.

Quick start

1. Get a YouTrack permanent token

  1. Open YouTrack → Profile → Account Security → Tokens → New token

  2. Set scope: YouTrack

  3. Grant permissions: Read Issue, Write Issue, Read Project (or just use admin token for full access)

  4. Copy the token — it starts with perm:

2. Install in Claude Code

Option A — via CLI (recommended):

Prerequisite: uv is required. Install with: curl -LsSf https://astral.sh/uv/install.sh | sh

claude mcp add youtrack \
  -e YOUTRACK_URL=https://your-instance.youtrack.cloud \
  -e YOUTRACK_TOKEN=perm:your-token-here \
  -- uvx --from git+https://github.com/velesnitski/yt-mcp yt-mcp

Option B — manually edit settings:

Edit ~/.claude.json (global) or .claude/settings.json in your project root (per-project):

{
  "mcpServers": {
    "youtrack": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/velesnitski/yt-mcp", "yt-mcp"],
      "env": {
        "YOUTRACK_URL": "https://your-instance.youtrack.cloud",
        "YOUTRACK_TOKEN": "perm:your-token-here"
      }
    }
  }
}

Troubleshooting: MCP server not found

If Claude Code can't find uvx at startup (e.g., /mcp doesn't show the server), use the full path instead:

"command": "/full/path/to/uvx"

Find the full path with which uvx (typically ~/.local/bin/uvx or /opt/homebrew/bin/uvx).

3. Restart Claude Code

claude

You should see youtrack listed when Claude starts. Try asking: "List my YouTrack projects"

Install in GitHub Copilot (VS Code)

Add to .vscode/mcp.json in your project (or to VS Code User Settings under mcp.servers):

{
  "servers": {
    "youtrack": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/velesnitski/yt-mcp", "yt-mcp"],
      "env": {
        "YOUTRACK_URL": "https://your-instance.youtrack.cloud",
        "YOUTRACK_TOKEN": "perm:your-token-here"
      }
    }
  }
}

Open Copilot Chat (Agent mode) and ask: "List my YouTrack projects"

Install in Cursor

Add to .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "youtrack": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/velesnitski/yt-mcp", "yt-mcp"],
      "env": {
        "YOUTRACK_URL": "https://your-instance.youtrack.cloud",
        "YOUTRACK_TOKEN": "perm:your-token-here"
      }
    }
  }
}

Install in JetBrains IDEs (IntelliJ, WebStorm, PyCharm, etc.)

Go to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add → As JSON:

{
  "youtrack": {
    "command": "uvx",
    "args": ["--from", "git+https://github.com/velesnitski/yt-mcp", "yt-mcp"],
    "env": {
      "YOUTRACK_URL": "https://your-instance.youtrack.cloud",
      "YOUTRACK_TOKEN": "perm:your-token-here"
    }
  }
}

Note: If uvx is not found, use the full path (find with which uvx).

Related MCP server: YouTrack MCP

Multi-instance setup

Connect multiple YouTrack instances to a single MCP server. Each tool gets an optional instance parameter — the LLM picks the right instance from context, or auto-detects it when you paste a YouTrack URL.

Configuration

Set YOUTRACK_INSTANCES to a comma-separated list of instance names, then provide YOUTRACK_{NAME}_URL and YOUTRACK_{NAME}_TOKEN for each:

YOUTRACK_INSTANCES=main,second
YOUTRACK_MAIN_URL=https://main.youtrack.cloud
YOUTRACK_MAIN_TOKEN=perm:xxx
YOUTRACK_SECOND_URL=https://second.youtrack.cloud
YOUTRACK_SECOND_TOKEN=perm:yyy

Adding more instances follows the same pattern:

YOUTRACK_INSTANCES=main,second,third,fourth
YOUTRACK_MAIN_URL=https://main.youtrack.cloud
YOUTRACK_MAIN_TOKEN=perm:xxx
YOUTRACK_SECOND_URL=https://second.youtrack.cloud
YOUTRACK_SECOND_TOKEN=perm:yyy
YOUTRACK_THIRD_URL=https://third.youtrack.cloud
YOUTRACK_THIRD_TOKEN=perm:zzz
YOUTRACK_FOURTH_URL=https://fourth.youtrack.cloud
YOUTRACK_FOURTH_TOKEN=perm:www

Instance names are arbitrary — use whatever makes sense: prod,staging,dev, team1,team2, etc. The name is uppercased to form the env var prefix (dev → YOUTRACK_DEV_URL).

How it works

  • No YOUTRACK_INSTANCES — single-instance mode, fully backward compatible. Uses YOUTRACK_URL / YOUTRACK_TOKEN as before.

  • First instance falls back to unprefixed YOUTRACK_URL / YOUTRACK_TOKEN if its prefixed vars are not set.

  • URL auto-detection — when you paste a YouTrack URL (e.g., https://second.youtrack.cloud/issue/PROJ-123), the server matches the domain to the right instance automatically.

  • Explicit instance parameter — every tool accepts an optional instance param to target a specific instance.

  • Default — if no instance is specified and no URL is provided, the first configured instance is used.

  • Global settings — YOUTRACK_READ_ONLY, DISABLED_TOOLS, and YOUTRACK_MAX_BULK_RESULTS apply to all instances.

Claude Code example

claude mcp add youtrack \
  -e YOUTRACK_INSTANCES=main,second \
  -e YOUTRACK_MAIN_URL=https://main.youtrack.cloud \
  -e YOUTRACK_MAIN_TOKEN=perm:xxx \
  -e YOUTRACK_SECOND_URL=https://second.youtrack.cloud \
  -e YOUTRACK_SECOND_TOKEN=perm:yyy \
  -- uvx --from git+https://github.com/velesnitski/yt-mcp yt-mcp

What it does

Gives MCP clients live access to your YouTrack instance. Instead of opening the YouTrack UI, just ask:

  • "What open issues does the Android team have?"

  • "Show me OPS-423"

  • "Create a bug in the WordPress project: homepage returns 500"

  • "Set priority to Critical and assign to John"

  • "List all agile boards"

  • "What did the DevOps team close this week?"

  • "Log 2 hours of development on PROJ-1828"

  • "Find articles about deployment"

Available tools (87)

Issues (22)

Tool

Description

search_issues

Search issues using YouTrack query syntax

get_issue

Get full details of a specific issue (description, comments, fields, links)

create_issue

Create a new issue in a project (freeform)

create_issue_from_template

Create an issue using a template (bug, feature, task, daily, spike, release, devops, incident, epic)

update_issue

Update any issue field — summary, state, priority, type, deadline, assignee, custom fields via command syntax

delete_issue

Soft-delete (state → Obsolete) or permanently delete an issue

get_issue_links

Get all linked issues (parent, subtask, depends on, relates to, duplicates)

add_issue_link

Link two issues together (relates, depends on, parent/subtask, duplicates)

remove_issue_link

Remove a link between two issues

add_comment

Add a comment to an issue (markdown supported)

update_comment

Edit an existing comment on an issue

delete_comment

Delete a comment from an issue

get_issue_history

View change history of an issue (who changed what, when)

get_issue_changes_summary

Get a compact summary of issue changes (state transitions, comments, time logged)

rollback_issue

Revert a specific change using its activity ID

poll_changes

Poll for recently changed issues (for automation triggers — Make.com, n8n, cron)

count_issues

Lightweight count of issues matching a query (no full data)

list_templates

List available issue templates

get_issues

Batch-fetch several issues by ID in one request (report enrichment, digests)

transition_issue

Change State gate-aware: set required fields first, then transition, and surface the blocking workflow rule's own text

find_comments

Find issues by what their comments say — phrase search with author and project filters

get_my_mentions

Mentions of you plus likely replies to your comments, within a lookback window

Attachments (3)

Tool

Description

list_attachments

List all attachments on an issue (name, size, type, author, date)

get_attachment_url

Get the download URL for a specific attachment

add_attachment

Attach a file to an issue from inline content, or from disk when the operator allowlists directories

Time tracking (6)

Tool

Description

get_work_items

Get time tracking work items for an issue

add_work_item

Log time to an issue (duration, date, type, description)

update_work_item

Update an existing work item (duration, date, description)

delete_work_item

Delete a work item from an issue

monthly_time_report_by_user

Monthly time report grouped by the user who logged the work (optionally by project)

user_time_summary

One user's logged time for a period, with a per-issue breakdown

Agile boards & sprints (9)

Tool

Description

get_agiles

List all agile boards

get_agile_board

Search for an agile board by name (partial match)

get_sprint_board

Get issues on an agile board grouped by column/state for a sprint

create_agile_board

Create a new agile board for one or more projects

delete_agile_board

Delete an agile board (issues are not affected)

create_sprint

Create a new sprint on an agile board (with optional dates)

update_sprint

Update an existing sprint (rename, reschedule, archive)

add_issues_to_sprint

Assign issues to a sprint via YouTrack commands

get_active_sprint_issues

Issues in a board's currently active sprint

Projects, users & instances (6)

Tool

Description

list_projects

List all accessible projects

get_project_fields

List custom fields with required status and valid values (use before create_issue)

get_current_user

Get the authenticated user's profile

search_users

Search users by name, login, or email

get_instance_url

The configured instance URL, for building issue links

list_instances

Every configured instance with its URL and project keys, for routing ticket numbers

Discovery & cross-issue analysis (9)

Tool

Description

list_tags

List all issue tags with issue counts

list_saved_searches

List all saved searches (queries)

run_saved_search

Execute a saved search by name and return matching issues

audit_issue_list

Get current status/assignee/idle for a list of IDs (validate stale roadmaps)

compare_issue_lists

Diff a known list vs a query — find untracked items or stale entries

get_roadmap

Cross-project unresolved view filtered by type and state (parallel fetch)

track_cross_dept_journey

Follow a request across departments via issue links, with per-stage timings

find_issues_for_text

Tickets that status-check or meeting phrases talk about, ranked with score and why; "no confident match" instead of noise (RU+EN)

resolve_ticket_refs

Spoken refs ("task 4101, queue lag") → the ticket, verified by meaning across instances, not by existence

Knowledge Base (8)

Tool

Description

search_articles

Search Knowledge Base articles

get_article

Get a KB article with full content and comments

create_article

Create a new KB article (with optional nesting)

update_article

Update a KB article (title, content)

delete_article

Delete a KB article

add_article_comment

Add a comment to a KB article

update_article_comment

Edit a comment on a KB article

delete_article_comment

Delete a comment from a KB article

Bulk operations (3)

Tool

Description

bulk_update_preview

Preview which issues a bulk command would affect (dry run)

bulk_update_execute

Apply a command to all issues matching a query (auto-tags for rollback)

bulk_rollback

Undo all changes from a bulk update batch using its tag

Translation (2)

Tool

Description

get_issues_for_translation

Fetch issues with non-English text for LLM-assisted translation

apply_translations

Apply translated text to issues with batch tagging for rollback

Priority dashboard & monitoring (17)

Tool

Description

get_top_active_issues

Get top N active issues ranked by weighted scoring (priority, type, staleness, blockers)

get_top_blocked_issues

Get top N blocked issues ranked by scoring (priority, duration blocked, blockers)

get_team_dashboard

Combined project brief — top active + top blocked + summary stats

get_multi_team_dashboard

Cross-team dashboard for multiple projects in one call (parallel fetch)

get_issues_digest

Digest of recent changes for any issues — state changes, comments, field updates

get_at_risk_issues

Find at-risk issues: stalled (active but silent), forgotten (filed but idle 30d+), overdue, over estimate

check_task_creation

Verify a requested task was created with proper fields (priority, assignee, description) + quality score

get_creation_activity

Report of recently created issues with quality indicators and PM follow-through stats

get_project_health

Project health score (0-100, dedup'd) + state/product distribution, metrics, recently resolved

get_team_pulse

Team flow snapshot for one board: throughput, pipeline, insight flags, ready-to-pull picks

get_multi_team_pulse

The same pulse across several boards, aggregated org-wide

get_stuck_handoffs

Cross-team transitions that stalled after a handoff

get_handoff_snapshot

Current state of issues waiting at each handoff point

audit_deadline_changes

Deadline moves over a period — who changed what, and when

deadline_scorecard

Per-assignee deadline reliability scoring

suggest_managers

Suggest the responsible manager for issues from historical assignment patterns

get_release_calendar

Releases in flight and recently shipped, with cadence-based ETAs and store-queue flags

Impact analysis (2)

Tool

Description

get_impact_map

Build cross-product dependency graph from an issue (links, product overlap, mentions)

get_deadline_impact

Analyze what breaks if an issue slips (blocked, at risk, done)

Environment variables

Variable

Required

Description

YOUTRACK_URL

Yes

Your YouTrack instance URL (e.g., https://company.youtrack.cloud)

YOUTRACK_TOKEN

Yes

Permanent token (starts with perm:)

YOUTRACK_INSTANCES

No

Comma-separated instance names for multi-instance setup (e.g., main,second)

YOUTRACK_READ_ONLY

No

Set to true to disable all write operations

DISABLED_TOOLS

No

Comma-separated list of tools to disable (e.g., delete_issue,bulk_update_execute)

YOUTRACK_MAX_BULK_RESULTS

No

Maximum issues per bulk operation (default: 100)

YOUTRACK_ALLOW_HTTP

No

Set to 1 to allow non-HTTPS URLs (not recommended)

YOUTRACK_OAUTH_URL

No

Public HTTPS URL of this server — enables OAuth for claude.ai connectors

YOUTRACK_ACCESS_CODE

No

Access code for OAuth gate — users must enter this code to connect (requires YOUTRACK_OAUTH_URL)

SENTRY_DSN

No

Sentry DSN for error tracking — just set the env var, SDK is included

YOUTRACK_LOG_FILE

No

Error log path (default: ~/.yt-mcp/yt-mcp.log)

YOUTRACK_ANALYTICS_FILE

No

Analytics log path (default: ~/.yt-mcp/analytics.log)

YOUTRACK_COMPACT

No

Set to 1 to strip markdown from tool responses (~60% token savings)

YOUTRACK_REF_ROUTES

No

Where bare ticket numbers most likely live, for resolve_ticket_refs: word:instance:KEY,… (e.g. ops:main:OPS,web:second:WEB). A route is tried first when its word is said near the number

YOUTRACK_GENERIC_WORDS

No

Extra words, comma-separated, that say little about which ticket is meant (product or protocol names, for example). They weigh less in find_issues_for_text / resolve_ticket_refs and are never the only evidence of a match

YOUTRACK_LOG_LEVEL

No

Headless mode only: stderr log level (default: WARNING)

YOUTRACK_MAX_RESPONSE_CHARS

No

Cut any text reply longer than this at a line break, with a marker saying how to narrow the request (default: 60000; 0 disables). JSON replies are never cut

Verify the server works

Check that uv is installed (required for the uvx command):

uv --version

If not installed, get it with:

curl -LsSf https://astral.sh/uv/install.sh | sh

Test the server starts and responds by sending a JSON-RPC initialize request via stdio:

echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"test","version":"1.0.0"},"protocolVersion":"2024-11-05"}}' \
  | YOUTRACK_URL="https://your-instance.youtrack.cloud" \
    YOUTRACK_TOKEN="perm:your-token-here" \
    uvx --from git+https://github.com/velesnitski/yt-mcp yt-mcp

A successful response looks like:

{"jsonrpc":"2.0","id":1,"result":{"serverInfo":{"name":"youtrack"},"capabilities":{"tools":{}},...}}

If you see command not found: uvx, install uv first (see above).

Test from a local clone:

cd yt-mcp
pip install -e .
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"test","version":"1.0.0"},"protocolVersion":"2024-11-05"}}' \
  | YOUTRACK_URL="https://your-instance.youtrack.cloud" \
    YOUTRACK_TOKEN="perm:your-token-here" \
    yt-mcp

List available tools by sending a tools/list request after initialization:

printf '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"test","version":"1.0.0"},"protocolVersion":"2024-11-05"}}\n{"jsonrpc":"2.0","id":2,"method":"tools/list"}\n' \
  | YOUTRACK_URL="https://your-instance.youtrack.cloud" \
    YOUTRACK_TOKEN="perm:your-token-here" \
    uvx --from git+https://github.com/velesnitski/yt-mcp yt-mcp

You should see all 87 tools listed.

Setup for Windows

1. Install uv (Python package runner):

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Restart your terminal after installation.

2. Get a YouTrack token:

Open YouTrack → Profile → Account Security → Tokens → New token → scope: YouTrack → copy the perm:... token.

3. Add the MCP server to Claude Code:

claude mcp add youtrack `
  -e YOUTRACK_URL=https://your-instance.youtrack.cloud `
  -e YOUTRACK_TOKEN=perm:your-token-here `
  -- uvx --from git+https://github.com/velesnitski/yt-mcp yt-mcp

Note: If Claude Code can't find uvx, use the full path. Find it with where uvx (typically %USERPROFILE%\.local\bin\uvx.exe) and set "command" to that path in your settings.

4. Restart Claude Code and try: "List my YouTrack projects"

Alternative installation methods

From local clone

git clone https://github.com/velesnitski/yt-mcp.git
cd yt-mcp
pip install -e .

Then use in settings:

{
  "mcpServers": {
    "youtrack": {
      "command": "yt-mcp",
      "env": {
        "YOUTRACK_URL": "https://your-instance.youtrack.cloud",
        "YOUTRACK_TOKEN": "perm:your-token-here"
      }
    }
  }
}

Run directly with Python

git clone https://github.com/velesnitski/yt-mcp.git
cd yt-mcp
pip install -e .  # installs mcp and httpx dependencies
yt-mcp

Updating any field

The update_issue tool can update any YouTrack field — not just summary and state. Use the command parameter with YouTrack command syntax:

Priority Critical                          # set priority
Type Bug                                   # set issue type
Deadline 2026-04-01                        # set deadline
Assignee John, Jane                        # multiple assignees
Version 2.5.0                              # set version
Dev Estimate 12                            # set custom numeric field
State In Progress Priority High Type Task  # multiple fields at once
project MOBILE                             # move issue to another project

All changes show a before/after diff and return rollback instructions.

"Set OPS-423 priority to Critical and assign to John" "Move PROJ-100 to the MOBILE project and set deadline to April 1st" "Set dev estimate to 8 and QA estimate to 3 on APP-55"

Query syntax examples

The search_issues tool accepts standard YouTrack search queries:

project: Android state: Open                    # open Android issues
project: DevOps updated: -1w                    # DevOps issues updated in last week
assignee: John priority: Critical               # John's critical issues
#Unresolved project: WordPress                  # unresolved WordPress issues
created: -3d .. today                           # issues created in last 3 days
project: Backend tag: ZTNA                      # Backend issues tagged ZTNA

Issue templates

The server includes built-in templates for creating structured issues. Ask Claude to list them or use them directly:

  • "List available templates"

  • "Create a bug report in the Android project"

Available templates

Template

Sections

bug

Summary, Steps to Reproduce, Expected/Actual Result, Environment, Severity

feature

Problem, Proposed Solution, Alternatives, Acceptance Criteria, Priority

task

Objective, Requirements, Technical Notes, Definition of Done

daily

Done Yesterday, Planned Today, Blockers

spike

Goal, Context, Scope, Timebox, Findings, Recommendation

release

Version, Changes, Pre/Post-release Checklists, Rollback Plan

devops

Description, Requirement, Expected Result, Affected Services, Rollback Plan

incident

Impact, Symptoms, Environment, Steps to Reproduce, Root Cause, Fix Applied, Prevention

epic

Goal, Background, Scope, Success Criteria, Dependencies, Risks, Subtasks

Examples

Bug report — just describe the problem naturally:

"Create a bug in MOBILE: app crashes when switching between servers. Steps: connect to server A, tap server B, app freezes and restarts. Happens on Android 14. Critical severity."

Feature request:

"Create a feature request in WEB: add dark mode toggle to the settings page. Should follow system theme by default. Must have priority."

DevOps task:

"Create a devops task in OPS: Deploy new nodes in two additional regions. Need 2 servers per region with monitoring configured. Affected services: free-tier, premium-tier."

Daily standup:

"Create a daily in OPS: Yesterday — fixed monitoring alerts, deployed config update to staging. Today — production rollout, server audit. No blockers."

Research spike:

"Create a spike in MOBILE: Research crash causes on Android 13+. Timebox: 2 days. Need to determine if the issue is in the native layer or Java bridge."

Release checklist:

"Create a release task in MOBILE: version 2.5.0. Changes: new auth flow, config updates, purchase module. Rollback: revert to 2.4.9 via app store."

Claude will automatically use the matching template and fill in the sections from your description.

Setup for claude.ai (web connector)

Use your YouTrack MCP as a custom connector in claude.ai (requires Pro, Max, Team, or Enterprise plan).

1. Deploy the server with OAuth enabled

Set YOUTRACK_OAUTH_URL to your server's public HTTPS URL. Optionally set YOUTRACK_ACCESS_CODE to require a code before connecting:

docker run -d -p 8000:8000 \
  -e YOUTRACK_URL="https://your-instance.youtrack.cloud" \
  -e YOUTRACK_TOKEN="perm:your-token-here" \
  -e YOUTRACK_OAUTH_URL="https://your-server.example.com" \
  -e YOUTRACK_ACCESS_CODE="your-secret-code" \
  yt-mcp --transport sse

Put it behind a reverse proxy (Caddy, nginx, Cloudflare Tunnel) for HTTPS.

Without YOUTRACK_ACCESS_CODE, OAuth auto-approves (no user interaction). With it, users see a simple form to enter the access code before connecting.

2. Add connector in claude.ai

  1. Go to claude.ai → Settings → Connectors

  2. Click "+ Add custom connector"

  3. Enter a name: YouTrack

  4. Enter your server URL: https://your-server.example.com

  5. Complete the OAuth flow (auto-approved, no user interaction needed)

3. Use it

Start a conversation in claude.ai and ask about your YouTrack issues. All 87 tools are available.

Without YOUTRACK_OAUTH_URL, OAuth is disabled and the server works in standard mode (stdio/SSE without auth) — no changes to existing setups.

Headless mode (scripts and schedulers)

The same command runs any tool once from the command line, for cron, launchd, CI jobs or another bot. It calls the MCP server in-process, so the tools, their output and the YOUTRACK_READ_ONLY / DISABLED_TOOLS / YOUTRACK_TOOLSET gating are exactly what an MCP client gets.

yt-mcp tools                                   # what is available (--json: full schemas)
yt-mcp run get_issue issue_id=DEMO-42
yt-mcp run search_issues query="project: DEMO #Unresolved" max_results=20 --json
yt-mcp run get_team_pulse board_name="Alpha Board" --timeout 2m
echo '{"query": "project: DEMO #Unresolved"}' | yt-mcp run count_issues --args -
  • Arguments are key=value, typed by the tool's schema; unknown keys are refused with the list of valid ones. --args takes a JSON object (or - for stdin); pairs override it. Flags may go anywhere.

  • --json prints one object: tool, args, ok, text.

  • Exit codes: 0 success, 1 the tool reported an error or timed out, 2 a usage or configuration error (unknown tool, bad argument, missing URL or token).

  • Logs go to stderr at WARNING by default (YOUTRACK_LOG_LEVEL=INFO to see more), so stdout carries only the result. --timeout (default 5m) bounds the call.

  • For scheduled reads, set YOUTRACK_READ_ONLY=1: write tools then do not exist at all.

  • yt-mcp eval cases.json [--json] [--verbose] runs a local file of ticket-matching cases (expected top ticket, allowed verdicts, traps) in one process and prints PASS/FAIL per case – a quick check before a release. Keep case files with real tickets out of any repository; the format is documented in src/yt_mcp/evalcases.py.

  • Installed with uvx, prefix the command: uvx --from git+https://github.com/velesnitski/yt-mcp yt-mcp run ….

Using with n8n, Langchain, and other HTTP clients

By default the server uses stdio transport (for Claude Code). For integration with n8n, Langchain, OpenAI Agents SDK, or any HTTP-based MCP client, start the server in SSE or streamable-http mode:

Start the server with SSE transport

YOUTRACK_URL="https://your-instance.youtrack.cloud" \
YOUTRACK_TOKEN="perm:your-token-here" \
uvx --from git+https://github.com/velesnitski/yt-mcp yt-mcp --transport sse --port 8000

The server will be available at http://localhost:8000/sse.

Start with streamable HTTP transport

YOUTRACK_URL="https://your-instance.youtrack.cloud" \
YOUTRACK_TOKEN="perm:your-token-here" \
uvx --from git+https://github.com/velesnitski/yt-mcp yt-mcp --transport streamable-http --port 8000

The server will be available at http://localhost:8000/mcp.

CLI options

Flag

Default

Description

--transport

stdio

Transport protocol: stdio, sse, or streamable-http

--host

0.0.0.0

Host to bind to

--port

8000

Port to bind to

Bound to 127.0.0.1 or localhost, the server accepts only localhost Host headers (DNS-rebinding protection). Bound to any other address, such as 0.0.0.0 in a container, it accepts clients that reach it by any name.

n8n setup

  1. Start the server in SSE mode (see above)

  2. In n8n, add an MCP Client node (or use the HTTP Request node)

  3. Set the MCP server URL to http://localhost:8000/sse

  4. The YouTrack tools will be available as actions in your n8n workflows

Make.com setup

  1. Start the server in SSE mode (see above)

  2. In Make.com, use an HTTP or MCP module to connect to http://localhost:8000/sse

  3. Use the poll_changes tool on a schedule to detect new activity:

    • Set query to filter issues (e.g., project: PROJ)

    • Set since_minutes to match your polling interval (e.g., 5)

  4. Route changed issues to other Make.com modules (Slack, email, Jira, etc.)

Docker (for remote / always-on deployments)

Using Docker Hub (recommended):

docker run -d --name youtrack-mcp \
  -e YOUTRACK_URL="https://your-instance.youtrack.cloud" \
  -e YOUTRACK_TOKEN="perm:your-token-here" \
  -p 8000:8000 \
  velesnitski/yt-mcp

The server will be available at http://localhost:8000/sse.

Using docker-compose:

services:
  youtrack-mcp:
    image: velesnitski/yt-mcp
    ports:
      - "8000:8000"
    environment:
      - YOUTRACK_URL=https://your-instance.youtrack.cloud
      - YOUTRACK_TOKEN=perm:your-token-here
    restart: unless-stopped
docker compose up -d

Connect MCP clients to the Docker container:

Claude Code (~/.claude.json):

{
  "mcpServers": {
    "youtrack": {
      "type": "url",
      "url": "http://localhost:8000/sse"
    }
  }
}

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "youtrack": {
      "url": "http://localhost:8000/sse"
    }
  }
}

Using stdio via Docker (no exposed port):

{
  "mcpServers": {
    "youtrack": {
      "command": "docker",
      "args": ["run", "-i", "--rm",
        "-e", "YOUTRACK_URL=https://your-instance.youtrack.cloud",
        "-e", "YOUTRACK_TOKEN=perm:your-token-here",
        "velesnitski/yt-mcp",
        "--transport", "stdio"
      ]
    }
  }
}

Override transport and port:

docker run -d -p 9000:9000 \
  -e YOUTRACK_URL="..." -e YOUTRACK_TOKEN="..." \
  velesnitski/yt-mcp --transport streamable-http --port 9000

The image's healthcheck probes port 8000. With another port, override it: --health-cmd "python -c \"import socket; socket.create_connection(('127.0.0.1', 9000), 3)\"".

Build from source:

git clone https://github.com/velesnitski/yt-mcp.git
cd yt-mcp
docker build -t yt-mcp .

Security

  • Tokens are passed via environment variables — never hardcoded

  • In stdio mode, the server has no network exposure (local pipes only)

  • In SSE/HTTP mode, the server listens on a network port — bind to 127.0.0.1 if you don't need external access, or use a reverse proxy with authentication for production

  • YouTrack API calls use HTTPS (non-HTTPS URLs are blocked unless YOUTRACK_ALLOW_HTTP=1)

  • Consider using a token with minimal required permissions (read-only if you don't need create_issue)

  • Bulk operations are capped at 100 issues per batch

  • Error messages are truncated to prevent leaking internal API details

Logging and privacy

All logs are stored locally on your machine at ~/.yt-mcp/:

  • yt-mcp.log — errors and warnings (JSON)

  • analytics.log — tool call names, timing, and project codes (JSON)

No data is sent externally unless you explicitly set SENTRY_DSN. Logs never contain tokens, passwords, issue content, or descriptions — only tool names, project codes, and error messages (truncated to 200 chars).

Read-only mode

To disable all write operations (create, update, delete issues/articles, bulk execute, time tracking):

YOUTRACK_READ_ONLY=true

Disable specific tools

Block individual tools by name (comma-separated, case-insensitive):

DISABLED_TOOLS=delete_issue,bulk_update_execute,apply_translations

This removes the specified tools from the MCP server entirely — clients won't see them.

Requirements

Python 3.10+

Check your version:

python3 --version

If not installed or below 3.10:

  • macOS (via Homebrew):

    brew install python@3.12
  • Ubuntu / Debian:

    sudo apt update && sudo apt install python3 python3-pip
  • Windows: download from python.org or use winget install Python.Python.3.12

uv is a fast Python package manager. The uvx command (included with uv) is used to run the MCP server without a manual install.

uv --version   # check if already installed

If not installed:

  • macOS / Linux:

    curl -LsSf https://astral.sh/uv/install.sh | sh

    Then restart your shell or run source $HOME/.local/bin/env.

  • macOS (Homebrew alternative):

    brew install uv
  • Windows:

    powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

If you prefer not to use uv, see Alternative installation methods for pip-based setup.

License

MIT

Available Tools

87 tools
add_article_commentB

Add a comment to a Knowledge Base article.

Args: article_id: Article ID or database ID text: Comment text (markdown) instance: YouTrack instance (optional)

Inputs: text (required), article_id (required), instance. Returns: result

add_attachmentA

Attach a file to a YouTrack issue.

Two input modes:

  • file_path: upload an existing file from disk (report.html, chart.png, data.xlsx). filename overrides the displayed name. SECURITY: this mode reads a local file whose bytes are then uploaded to a remote issue, so it is confined to an allowlist of directories and is DISABLED unless the operator sets YOUTRACK_ATTACHMENT_ROOTS. Prefer the content mode below.

  • content + filename: upload generated/inline content with no temp file. Text is UTF-8 encoded; set content_base64=True to upload binary you already hold as base64 (e.g. a screenshot).

For plain-text or markdown reports, prefer add_comment — it renders inline, is searchable, and notifies watchers. Reach for this when the artifact is binary (HTML/Excel/PDF/image) or a downloadable file is genuinely wanted.

Args: issue_id: Issue ID or URL. file_path: Path to a local file to upload (mode A). content: Inline content to upload (mode B; requires filename). filename: Display name. Required for content; optional override for file_path (defaults to the file's basename). content_base64: Treat content as base64-encoded binary. mime_type: Override the auto-detected MIME type. instance: YouTrack instance (optional).

Inputs: issue_id (required), content, filename, instance, +3 more. Returns: result

add_commentC

Add a comment to a YouTrack issue.

Args: issue_id: Issue ID or URL text: Comment text (markdown) instance: YouTrack instance (optional)

Inputs: text (required), issue_id (required), instance. Returns: result

add_issues_to_sprintA
Idempotent

Add issues to a sprint using YouTrack commands.

Args: board_name: Board name (partial match) sprint_name: Sprint name (partial match) issue_ids: Comma-separated issue IDs (e.g. 'PROJ-1,PROJ-2') instance: YouTrack instance (optional)

Inputs: issue_ids (required), board_name (required), sprint_name (required), instance. Returns: result

add_work_itemB

Log time on a YouTrack issue.

Args: issue_id: Issue ID or URL duration_minutes: Time spent in minutes date: Date YYYY-MM-DD (default: today) description: Work description (optional) work_type: Work type name as shown in YouTrack, e.g. "Development" (a WorkItemType id like 251-9 also works) instance: YouTrack instance (optional)

Inputs: issue_id (required), duration_minutes (required), date, instance, +2 more. Returns: result

apply_translationsA
Idempotent

Apply translated text to YouTrack issues. Tags for rollback. Format: ISSUE/SUMMARY/DESCRIPTION/COMMENT blocks separated by ---.

Args: translations: Structured translation block batch_tag: Batch tag for rollback (auto-generated if empty) preserve_original: If True, append the current original description below a delimiter so both languages remain visible. Summary is still replaced. Comments use the same bilingual format. delimiter: Separator line between English and original (default: '----') instance: YouTrack instance (optional)

Inputs: translations (required), instance, batch_tag, delimiter, +1 more. Returns: result

audit_deadline_changesA
Read-onlyIdempotent

Audit Due-Date shifts in a period; classify each as compliant/unauthorized.

Reads ~/.yt-mcp/managers.json for approver mapping. Each shift is bucketed: compliant_strict, compliant_loose, unauthorized, approver_unknown, pre_policy, or informational (first-time set / earlier date).

Args: period_start: ISO date (YYYY-MM-DD); defaults to current quarter start period_finish: ISO date; defaults to current quarter end projects: Comma-separated project shortnames; empty = all accessible strict: If True, only keyword+date comments count as approval exclude_standups: Skip recurring daily/standup tickets (default: True) instance: YouTrack instance (optional)

Inputs: strict, instance, projects, period_start, +2 more. Returns: result

audit_issue_listA
Read-onlyIdempotent

Get current status, assignee, and last update for a list of issues.

Useful for validating a list (e.g. roadmap, priorities) against current state.

Args: issue_ids: Comma-separated issue IDs or URLs (e.g. 'PROJ-1,PROJ-2,PROJ-3') instance: YouTrack instance (optional)

Inputs: issue_ids (required), instance. Returns: result

bulk_rollbackA
DestructiveIdempotent

Rollback all changes from a bulk update batch.

Args: batch_tag: Batch tag from bulk_update_execute instance: YouTrack instance (optional)

Inputs: batch_tag (required), instance. Returns: result

bulk_update_executeA
DestructiveIdempotent

Execute a bulk update. DESTRUCTIVE -- call bulk_update_preview first. Tags batch for rollback.

Args: query: YouTrack search query command: YouTrack command to apply max_results: Max issues to update (default: 50, max: 100) instance: YouTrack instance (optional)

Inputs: query (required), command (required), instance, max_results. Returns: result

bulk_update_previewA
Read-onlyIdempotent

Preview which issues would be affected by a bulk update (dry run). Call before bulk_update_execute.

Args: query: YouTrack search query command: YouTrack command to apply max_results: Max issues to preview (default: 50, max: 100) instance: YouTrack instance (optional)

Inputs: query (required), command (required), instance, max_results. Returns: result

check_task_creationA
Read-onlyIdempotent

Check if a task matching keywords was created and assess its quality.

Args: keywords: Search keywords project: Project short name (optional) created_since: Duration ('7d', '24h') or date. Default: 7d expected_priority: Priority to verify (optional) instance: YouTrack instance (optional)

Inputs: keywords (required), project, instance, created_since, +1 more. Returns: result

compare_issue_listsA
Read-onlyIdempotent

Diff a known issue list against a YouTrack query.

Returns: matched (in both), missing-from-list (in query, not your list), no-longer-matching (in your list, not in query). Useful for finding tasks you're not tracking, or items in your list that are stale.

Args: known_ids: Comma-separated issue IDs you already know (e.g. 'PROJ-1,PROJ-2') query: YouTrack query to compare against (e.g. 'project: PROJ #Unresolved') instance: YouTrack instance (optional)

Inputs: query (required), known_ids (required), instance. Returns: result

count_issuesA
Read-onlyIdempotent

Count issues matching a YouTrack query.

Args: query: YouTrack search query instance: YouTrack instance (optional)

Inputs: query (required), instance. Returns: result

create_agile_boardC

Create a new agile board.

Args: name: Board name projects: Comma-separated project short names column_field: Column field (default: 'State') instance: YouTrack instance (optional)

Inputs: name (required), projects (required), instance, column_field. Returns: result

create_articleB

Create a new Knowledge Base article.

Args: project: Project short name summary: Article title content: Article body (markdown) parent_article_id: Parent article ID for nesting (optional) instance: YouTrack instance (optional)

Inputs: project (required), summary (required), content, instance, +1 more. Returns: result

create_issueA

Create a new issue in a YouTrack project.

Use command to set required custom fields at creation time.

Args: project: Project short name summary: Issue title description: Issue description (markdown) product: Product custom field (optional) command: YouTrack command for custom fields (e.g. 'Type Task Subsystem {Admin Console}') instance: YouTrack instance (optional)

Inputs: project (required), summary (required), command, product, +2 more. Returns: result

create_issue_from_templateB

Create a YouTrack issue using a predefined template.

Args: project: Project short name template: Template name (bug, feature, task, daily, spike, release, devops) summary: Issue title fields: Section values as 'Section: value' separated by '|||' product: Product field (optional) instance: YouTrack instance (optional)

Inputs: project (required), summary (required), template (required), fields, +2 more. Returns: result

create_sprintB

Create a new sprint on an agile board.

Args: board_name: Board name (partial match) sprint_name: Name for the new sprint start: Start date ISO 8601 (optional, e.g. '2025-01-01') finish: End date ISO 8601 (optional, e.g. '2025-01-14') instance: YouTrack instance (optional)

Inputs: board_name (required), sprint_name (required), start, finish, +1 more. Returns: result

deadline_scorecardA
Read-onlyIdempotent

Per-assignee deadline compliance rollup for a calendar quarter.

Tracks per-issue compliance (not cumulative): a missed deadline is only missed_after_extension if THIS specific issue had an approved shift earlier in the quarter.

Args: quarter: 'YYYYQN' (e.g. '2026Q2'); empty = current calendar quarter user: Filter to a single assignee login; empty = all projects: Comma-separated project shortnames; empty = all accessible strict: If True, only keyword+date comments count as approval exclude_standups: Skip recurring daily/standup tickets instance: YouTrack instance (optional)

Inputs: user, strict, quarter, instance, +2 more. Returns: result

delete_agile_boardA
DestructiveIdempotent

Delete an agile board (issues are not deleted).

Args: board_name: Board name (partial match) instance: YouTrack instance (optional)

Inputs: board_name (required), instance. Returns: result

delete_articleA
DestructiveIdempotent

Delete a Knowledge Base article. Returns details for restoration.

Args: article_id: Article ID or database ID instance: YouTrack instance (optional)

Inputs: article_id (required), instance. Returns: result

delete_article_commentA
DestructiveIdempotent

Delete an article comment. Returns text for restoration.

Args: article_id: Article ID or database ID comment_id: Comment ID instance: YouTrack instance (optional)

Inputs: article_id (required), comment_id (required), instance. Returns: result

delete_commentA
DestructiveIdempotent

Delete a comment from a YouTrack issue. Returns deleted text for restoration.

Args: issue_id: Issue ID or URL comment_id: Comment ID instance: YouTrack instance (optional)

Inputs: issue_id (required), comment_id (required), instance. Returns: result

delete_issueA
DestructiveIdempotent

Delete a YouTrack issue. Default: soft delete (state Obsolete). permanent=True is irreversible.

Args: issue_id: Issue ID or URL permanent: Permanently delete (default: False, soft delete) instance: YouTrack instance (optional)

Inputs: issue_id (required), instance, permanent. Returns: result

delete_work_itemA
DestructiveIdempotent

Delete a work item. Returns deleted details for restoration.

Args: issue_id: Issue ID or URL work_item_id: Work item ID instance: YouTrack instance (optional)

Inputs: issue_id (required), work_item_id (required), instance. Returns: result

find_commentsA
Read-onlyIdempotent

Find issues by what their COMMENTS say.

Answers "the ticket where someone wrote …". Two stages: a YouTrack full-text query narrows candidate issues (pass author — a login — to add the commenter: filter), then comments are matched locally: the whole phrase case-insensitively, falling back to all-words when the phrase doesn't appear verbatim. Workflow-bot nags and service stamps are ignored. Newest matches first.

Args: text: Phrase (or words) to find in comment text — required author: Only comments by this login; also narrows the search project: Limit to one project key (optional) max_results: Max matching comments returned (default: 10) instance: YouTrack instance (optional)

Inputs: text (required), author, project, instance, +1 more. Returns: result

find_issues_for_textA
Read-onlyIdempotent

Find the tickets that phrases from a status check or meeting talk about.

One call for a whole digest: each text gets candidates ranked by the words it shares with the ticket (summary counts most), recency and open state; below a threshold the answer is "no confident match", never the top of a noisy search. Explicit keys (WEB-12) and "task 123" references (tried against projects in order) are resolved directly. Russian and English, inflections included.

Args: texts: Phrases, one per item. since: Only tickets updated since: "30d" (default), "2w", or a date. projects: Comma-separated project keys to search (default: all). max_per_text: Candidates per text (default 3). format: "report" (default) or "json" (id, url, summary, state, assignee, score, why per candidate). instance: YouTrack instance (optional).

Inputs: texts (required), since, format, instance, +2 more. Returns: result

get_active_sprint_issuesA
Read-onlyIdempotent

Collect issue IDs across current sprints of all boards (parallel fetch).

Use for "what's actually in flight" across the org — sprint-based truth, not state guessing. Feeds into translation/audit/digest flows.

Args: boards: Comma-separated board names (partial match). Empty = all boards. exclude_states: Comma-separated states to skip (e.g. 'Closed,Done'). ids_only: If True, return just a comma-separated ID list (for piping into id-based queries like translation). If False, return grouped markdown. instance: YouTrack instance (optional)

Inputs: boards, ids_only, instance, exclude_states. Returns: result

get_agile_boardA
Read-onlyIdempotent

Get agile board details by name, ID, or URL.

Args: name: Board name, ID, or URL instance: YouTrack instance (optional)

Inputs: name (required), instance. Returns: result

get_agilesA
Read-onlyIdempotent

List all agile boards.

Args: instance: YouTrack instance (optional)

Inputs: instance. Returns: result

get_articleA
Read-onlyIdempotent

Get a Knowledge Base article with full content.

Long articles come in parts: the reply says which characters it holds and the offset that continues it. Comments follow the last part.

Args: article_id: Article ID or database ID include_comments: Include comments (default: True) instance: YouTrack instance (optional) offset: Character position in the content to start from (default 0) max_chars: Content characters per part (default 30000; 0 = all)

Inputs: article_id (required), offset, instance, max_chars, +1 more. Returns: result

get_at_risk_issuesA
Read-onlyIdempotent

Find at-risk issues: overdue, qa_skipped, stalled, forgotten, unestimated, over estimate, ancient.

Deadline / estimate / spent-time / QA-required fields are matched by name pattern, so decorated field names (Deadline ⏰, Evaluation time ⏳, Spent time ⌛, Dev Estimate, QA Required) are recognized — not just bare literals.

QA-skip: when a project has a QA-gating field (e.g. QA Required: Yes), an issue that reached a release/done state while QA was required is confirmed against its state history — flagged only if it NEVER passed a QA state (true skip, not merely "QA pending"). Projects without such a field produce no QA-skip candidates (zero added cost). The per-issue history walk runs only when this category is in scope.

Args: project: Project short name stale_days: Days idle for In Progress (default: 7) forgotten_days: Days idle for Submitted/Pause (default: 30) ancient_days: Days open to flag (default: 200) limit_per_category: Max per category in report mode (default: 10). Ignored when format="json" — JSON returns the full set. deadline_warning_days: Days before deadline warning (default: 7) exclude_patterns: Comma-separated regex to exclude category: Restrict to one bucket — overdue, qa_skipped, approaching, stalled, over_estimate, unestimated, ancient, forgotten (aliases accepted). Empty = all categories. format: "report" (default markdown) or "json" (structured payload with per-category counts + full issue lists, for programmatic consumers like a daily deadline bot). instance: YouTrack instance (optional)

Inputs: project (required), format, category, instance, +6 more. Returns: result

get_attachment_urlA
Read-onlyIdempotent

Get the download URL for a specific attachment on an issue.

Args: issue_id: Issue ID or URL attachment_name: Attachment file name (partial match) instance: YouTrack instance (optional)

Inputs: issue_id (required), attachment_name (required), instance. Returns: result

get_creation_activityB
Read-onlyIdempotent

Report of recently created issues with quality indicators.

Args: project: Project short name since: Duration ('7d', '24h') or date. Default: 7d creator: Filter by creator name (optional) limit: Max issues (default: 20) instance: YouTrack instance (optional)

Inputs: project (required), limit, since, creator, +1 more. Returns: result

get_current_userA
Read-onlyIdempotent

Get the currently authenticated YouTrack user.

format="json" returns a structured dict including instance_url for downstream consumers building issue hyperlinks (e.g. email reports). format="report" (default) preserves the chat-friendly markdown view.

Args: format: "report" (default, markdown) or "json" (structured). instance: YouTrack instance (optional)

Inputs: format, instance. Returns: result

get_deadline_impactA
Read-onlyIdempotent

Analyze what breaks if an issue slips past a deadline. Categorizes as BLOCKED, AT RISK, or DONE.

Args: issue_id: Root issue ID or URL deadline: Deadline date for context (optional) instance: YouTrack instance (optional)

Inputs: issue_id (required), deadline, instance. Returns: result

get_handoff_snapshotA
Read-onlyIdempotent

Snapshot of all tickets currently in handoff states (waiting on another team).

Fast single-query view (1 API call) — complements track_cross_dept_journey which is richer but per-issue. Groups results by state (which dept holds it).

Args: projects: Comma-separated project shortnames (empty = all accessible) states: Comma-separated handoff states (empty = use defaults: For Review, Dev QA/Staging QA/Prod QA, Ready for Stage/Prod/Release, Blocked) stale_days: Highlight tickets idle > N days (default: 5) active_within_days: Only show tickets updated in last N days (default: 0 = all). Use 14 for "currently in flight" view. instance: YouTrack instance (optional)

Inputs: states, instance, projects, stale_days, +1 more. Returns: result

get_impact_mapA
Read-onlyIdempotent

Build a cross-product dependency graph from an issue via links, product overlap, and mentions.

Args: issue_id: Root issue ID or URL depth: Link levels to follow (default: 2) instance: YouTrack instance (optional)

Inputs: issue_id (required), depth, instance. Returns: result

get_instance_urlA
Read-onlyIdempotent

Return the base URL of the configured YouTrack instance.

Cheap, no-auth-state probe — useful for downstream renderers (email templates, dashboards) that need <base>/issue/<ID> links without making a who-am-I call.

Args: format: "report" (default plain text) or "json" ({"base_url": "..."}). instance: YouTrack instance (optional).

Inputs: format, instance. Returns: result

get_issueA
Read-onlyIdempotent

Get full details of a YouTrack issue.

Default returns a markdown render (chat-friendly). format="json" returns a normalized JSON dict — flat keys for id/summary/state/ assignee + assignee_login, a tags list, a custom_fields dict (custom field name → value), and a links list. Matches the JSON shape used by pulse and handoffs so consumers see one consistent structure across tools.

Use fields to override the field selector for power callers who need specific YT response fields. When fields is set and format="json", the raw YT response is returned unaltered (no normalization, full control). When fields is set and format="report", the markdown render may be sparse if the selector is narrower than the default.

Args: issue_id: Issue ID or URL. include_comments: Include comments in default selector (default: True). format: "report" (default markdown) or "json" (normalized dict). fields: Override the YT fields selector. Empty uses a richer default with login on assignee, presentation/text on custom-field values, and tags + created. instance: YouTrack instance (optional). include_bots: Also show workflow-automation nags and service stamps in comments (hidden by default; the hidden count is always reported). comment_chars: Per-comment truncation in compact mode (default: 200; 0 = untruncated). description_chars: Description cap in the report format, in characters. 0 = full text; -1 (default) keeps the mode's default (compact mode caps at 500, the full report does not).

Inputs: issue_id (required), fields, format, instance, +4 more. Returns: result

get_issue_changes_summaryA
Read-onlyIdempotent

Get a compact summary of issue changes: state transitions, comments, time logged.

Args: issue_id: Issue ID or URL since: ISO date filter (optional, e.g. '2026-03-01') instance: YouTrack instance (optional)

Inputs: issue_id (required), since, instance. Returns: result

get_issue_historyB
Read-onlyIdempotent

Get the change history of a YouTrack issue.

Args: issue_id: Issue ID or URL max_results: Max activities (default: 20) instance: YouTrack instance (optional)

Inputs: issue_id (required), instance, max_results. Returns: result

get_issuesA
Read-onlyIdempotent

Batch-fetch multiple issues in one round-trip.

Composes a single #A or #B or #C query so a 20-issue enrichment pass takes one HTTP request instead of twenty. Useful when you already have a known ID list (active-focus picks, stuck-handoff IDs, daily-summary references). One unknown or malformed ID never fails the batch: it is reported per item as not found. JSON items carry url, so callers never build links by hand.

Reuses get_issue's default field set + normalize_issue for consistent JSON shape across tools. Default include_comments=False because batch mode usually doesn't need them and they're heavy.

Args: ids: Comma-separated issue IDs or URLs (PROJ-1, PROJ-2, ...). Up to ~100 IDs per call — large lists should be split across multiple calls. fields: Override the YT field selector. Empty uses get_issue's expanded default. format: "report" (default compact list) or "json" (array of normalized issue dicts). include_comments: Include comments in the response (default False — batch mode rarely needs them). instance: YouTrack instance (optional). description_chars: In format="json", cap each description and comment text at this many characters, with a marker giving the dropped length (default 2000; 0 = full text). A batch of long specs otherwise returns tens of thousands of tokens; use get_issue for one issue's full text.

Inputs: ids (required), fields, format, instance, +2 more. Returns: result

get_issues_digestA
Read-onlyIdempotent

Get a digest of recent changes for issues matching a query.

Args: query: YouTrack search query since: Duration ('24h', '7d') or date ('2026-03-18'). Default: 24h limit: Max issues (default: 10) instance: YouTrack instance (optional)

Inputs: query (required), limit, since, instance. Returns: result

get_issues_for_translationA
Read-onlyIdempotent

Fetch issues with non-ASCII text for translation. Call apply_translations with results.

Args: query: YouTrack search query include_comments: Include comments (default: True) max_results: Batch size (default: 10) exclude_translated: Auto-exclude issues already tagged from prior runs (any yt-translate-* tag) and issues whose description already has the EN + delimiter + original-language bilingual structure. Default True. Set False to force re-translation. delimiter: Bilingual delimiter to detect already-translated state (default: '----'). Must match what apply_translations uses. instance: YouTrack instance (optional)

Inputs: query (required), instance, delimiter, max_results, +2 more. Returns: result

get_multi_team_dashboardB
Read-onlyIdempotent

Combined dashboard for multiple projects in one call.

Args: projects: Comma-separated project short names active_limit: Top N active per project (default: 5) blocked_limit: Top N blocked per project (default: 3) group_by_product: Group by Product field (default: false) exclude_patterns: Comma-separated regex to exclude instance: YouTrack instance (optional)

Inputs: projects (required), instance, active_limit, blocked_limit, +2 more. Returns: result

get_multi_team_pulseA
Read-onlyIdempotent

Parallel pulse across multiple boards with aggregated org-wide view.

Same per-board logic as get_team_pulse, fanned out via asyncio.gather so 7 boards take ~one board's worth of time instead of seven. Failed boards (no projects, unresolvable name) are listed in the output but don't kill the rest.

Output adds an org-wide aggregate (summed metrics + pipeline counts + flag counts across boards) above per-board summaries.

Args: boards: Comma-separated board names (partial match each). horizon_days: Forward planning window (default 14). lookback_days: Backward velocity window (default 30). limit: Max items per section per board (default 5 — multi-board view defaults lower than single-board to keep output compact). format: "report" (default, markdown) or "json" (parseable payload with aggregate + boards keys). max_idle_days: Drop pipeline + re_entry items not updated within this many days (default 60). Pass 0 to disable. max_overdue_days: Drop forward items past their deadline by more than this many days (default 30). Pass 0 to disable. instance: YouTrack instance (optional).

Inputs: boards (required), limit, format, instance, +4 more. Returns: result

get_my_mentionsA
Read-onlyIdempotent

What needs my attention in comments: mentions and likely replies.

Two YouTrack queries (mentions: me and commenter: me, both bounded to the window) merged and analyzed locally:

  • Mentions — someone named me in a comment (login and display-name variants, underscore/case-insensitive).

  • Possible replies — a comment by someone else, newer than my latest comment on an issue I commented in (YouTrack comments are flat; this heuristic is how "answered me" is approximated).

Workflow-bot posts, service stamps, and notification-template pings (e.g. "FYI @…" nag reposts) are filtered out; the dropped count is reported so nothing disappears silently.

Args: days: Lookback window (default: 14) max_results: Max items per section (default: 15) instance: YouTrack instance (optional)

Inputs: days, instance, max_results. Returns: result

get_project_fieldsA
Read-onlyIdempotent

List custom fields for a project with required status and available values.

Use this before create_issue to discover required fields and valid values. A conditional field (shown only for some values of another field) is labelled with its condition, e.g. (required when Type = Bug): it cannot be set on an issue that does not meet it.

Args: project: Project short name instance: YouTrack instance (optional) when: Values the new issue will have, e.g. "Type=Tech task" or "Type=Bug; Product=Alpha". Fields whose condition these values do not meet are left out, so the list is exactly what to set.

Inputs: project (required), when, instance. Returns: result

get_project_healthA
Read-onlyIdempotent

Project health report: state distribution, health metrics, and recently resolved issues.

Args: project: Project short name since: Period for resolved issues (default: '24h') exclude_patterns: Comma-separated regex to exclude instance: YouTrack instance (optional)

Inputs: project (required), since, instance, exclude_patterns. Returns: result

get_release_calendarA
Read-onlyIdempotent

Release calendar: in-flight releases, recent ships, cadence ETAs.

Scans release/RC-titled tickets across projects. Per project: in-flight releases ordered closest-to-the-door first, ships within the lookback, the median gap between ships (cadence), and — for projects whose releases carry no deadlines — a cadence-based ETA for the next ship. Flags parked store queues (3+ releases sitting in ready/review states).

Args: projects: Comma-separated project keys to include (all if blank) lookback_days: Shipped-release window for cadence (default: 30) instance: YouTrack instance (optional)

Inputs: instance, projects, lookback_days. Returns: result

get_roadmapA
Read-onlyIdempotent

Cross-project roadmap view filtered by type and state.

Args: projects: Comma-separated project shortnames (empty = all accessible) types: Comma-separated Type values (e.g. 'Epic,Product Task') (empty = all) states: Comma-separated states (empty = all unresolved) max_per_project: Max issues per project (default: 50) instance: YouTrack instance (optional)

Inputs: types, states, instance, projects, +1 more. Returns: result

get_sprint_boardB
Read-onlyIdempotent

Get issues on an agile board grouped by column.

Args: board_name: Board name, ID, or URL sprint: Sprint name or 'current' (default: 'current') instance: YouTrack instance (optional)

Inputs: board_name (required), sprint, instance. Returns: result

get_stuck_handoffsA
Read-onlyIdempotent

Tasks that crossed a team boundary and haven't moved since.

Distinct from get_handoff_snapshot (sorts by updated, polluted by comments) and track_cross_dept_journey (forensic per-issue deep-dive). This walks state-change activities specifically, so an item in Ready for test with fresh comments but no state change in 14 days IS surfaced as stuck.

Algorithm:

  1. Find issues currently in handoff-receiving states (qa, release, rework, dev) on the board.

  2. For each, fetch state-change activities.

  3. Find the latest state change. If it happened ≥ stuck_days ago AND that transition crossed a team-ownership role boundary (dev→qa, qa→release, etc.) → STUCK.

Output is grouped by transition pattern (Dev→QA stalls, QA→Release stalls, etc.) so you see which handoff most often gets dropped.

Args: board_name: Board name (partial match), ID, or URL. stuck_days: Days without a state change to count as stuck (default 4). lookback_days: Velocity-window framing in the header (default 30). limit: Max items shown per transition section (default 10). format: "report" (markdown) or "json" (structured payload). instance: YouTrack instance (optional).

Inputs: board_name (required), limit, format, instance, +2 more. Returns: result

get_team_dashboardB
Read-onlyIdempotent

Combined dashboard: top active, top blocked, and summary stats for a project.

Args: project: Project short name active_limit: Top N active (default: 3) blocked_limit: Top N blocked (default: 3) group_by_product: Group by Product field (default: false) exclude_patterns: Comma-separated regex to exclude instance: YouTrack instance (optional)

Inputs: project (required), instance, active_limit, blocked_limit, +2 more. Returns: result

get_team_pulseA
Read-onlyIdempotent

Team pulse for a board: what shipped in the last {lookback_days}d and what's coming in the next {horizon_days}d, with velocity-aware insight flags and a team-balanced per-dev view.

Reads the board's column structure, classifies columns by role (triaged/incoming/re_entry/in_progress/done), then fetches:

  • Lookback: closed, released, reopened, new incoming

  • Forward: ready-to-pull, pipeline-unblockers, recent incoming

Scope: project + board-column-scoped. Issues are queried by project: <PROJ> State: {<board state>, ...} — so any State enum value on the project that the board does NOT render as a column is invisible. Newly-created tickets in unmapped states won't surface until they're moved to a state that has a column. This is by design (the board defines what "matters" for the team's workflow) but can surprise consumers expecting a full project scan — use search_issues with a project filter if you want everything.

Heuristic flags surface "should I act?" signals: backlog growth, reopen rate, WIP overload (concurrent dev work), pipeline overload (downstream-of-dev clog), bottlenecks, deadline cliff, stale queue.

Args: board_name: Board name (partial match), ID, or URL. horizon_days: Forward planning window (default 14). lookback_days: Backward velocity window (default 30 — smooths weekly variance). limit: Max items per section (default 10). format: "report" (default, markdown) or "json" (JSON-stringified payload for programmatic consumption — board, metrics, pipeline_counts, ranked section lists, team_balanced, insights). max_idle_days: Drop pipeline + re_entry items not updated within this many days (default 60). Pass 0 to disable. Justified by real-data measurement showing 50%+ noise from abandoned tickets that still technically sit in In Progress/For review states. max_overdue_days: Drop forward items whose deadline is past by more than this many days (default 30). Pass 0 to disable. Deeply overdue items need a different conversation than "next up". instance: YouTrack instance (optional).

Inputs: board_name (required), limit, format, instance, +4 more. Returns: result

get_top_active_issuesA
Read-onlyIdempotent

Get top active issues ranked by priority score.

Args: project: Project short name limit: Top N results (default: 3), per product when grouped states: Comma-separated active states group_by_product: Group by Product field (default: false) exclude_patterns: Comma-separated regex to exclude instance: YouTrack instance (optional)

Inputs: project (required), limit, states, instance, +2 more. Returns: result

get_top_blocked_issuesA
Read-onlyIdempotent

Get top blocked issues ranked by priority score.

Args: project: Project short name limit: Top N results (default: 3), per product when grouped group_by_product: Group by Product field (default: false) exclude_patterns: Comma-separated regex to exclude instance: YouTrack instance (optional)

Inputs: project (required), limit, instance, exclude_patterns, +1 more. Returns: result

get_work_itemsA
Read-onlyIdempotent

Get time tracking work items for an issue.

Work-item text is truncated by default — entries often carry multi-paragraph work journals, which once cost ~4K tokens for a single issue. Pass include_text=True for the full notes.

Args: issue_id: Issue ID or URL instance: YouTrack instance (optional) since: Only work items dated on/after this day, YYYY-MM-DD (optional) until: Only work items dated on/before this day, YYYY-MM-DD (optional) include_text: Full work-item notes instead of a 200-char preview

Inputs: issue_id (required), since, until, instance, +1 more. Returns: result

list_attachmentsA
Read-onlyIdempotent

List all attachments on a YouTrack issue.

Args: issue_id: Issue ID or URL instance: YouTrack instance (optional)

Inputs: issue_id (required), instance. Returns: result

list_instancesA
Read-onlyIdempotent

List every configured YouTrack instance with its base URL and project keys.

Use it to learn which instance holds which projects before routing a ticket number, or to build <base_url>/issue/<ID> links.

Args: format: "report" (default) or "json" ([{"name", "base_url", "default", "projects": [...]}]).

Inputs: format. Returns: result

list_projectsB
Read-onlyIdempotent

List all accessible YouTrack projects.

Args: instance: YouTrack instance (optional)

Inputs: instance. Returns: result

list_saved_searchesA
Read-onlyIdempotent

List all saved searches (queries).

Args: instance: YouTrack instance (optional)

Inputs: instance. Returns: result

list_tagsA
Read-onlyIdempotent

List all issue tags with issue counts.

Args: instance: YouTrack instance (optional)

Inputs: instance. Returns: result

list_templatesA
Read-onlyIdempotent

List all available issue templates with their sections.

Inputs: no named parameters. Returns: result

monthly_time_report_by_userA
Read-onlyIdempotent

Monthly time report aggregated by the user who logged the time.

Sums work-item durations for the calendar month, grouped by work-item author — not issue assignee, so time on shared issues is credited to whoever actually logged it. Users are keyed by login (display names can collide or change mid-month).

Args: instance: YouTrack instance name/URL (auto-detected if blank) projects: Comma-separated project keys (all projects if blank) year: Report year (default: current UTC year) month: Report month 1-12 (default: current UTC month) group_by: "user" (default) or "project"

Inputs: year, month, group_by, instance, +1 more. Returns: result

poll_changesB
Read-onlyIdempotent

Poll for recently changed issues within the last N minutes.

Args: query: YouTrack query filter (optional) since_minutes: Minutes to look back (default: 5) max_results: Max results (default: 50) instance: YouTrack instance (optional)

Inputs: query, instance, max_results, since_minutes. Returns: result

resolve_ticket_refsA
Read-onlyIdempotent

Turn spoken ticket references into verified tickets, across instances.

Each ref is a bare number or a key, ideally with the words said around it: "4101 (queue lag alert)", "task 4102", "WEB-12". A bare number is tried in every likely project (YOUTRACK_REF_ROUTES context routes first, else every project of every instance) and each hit is checked against the words: an existing number is NOT a match by itself. Answers per ref: confident (one ticket), weak (top candidates to pick from), candidates (no words given — unverified list), exact (an explicit key that exists), or none.

Args: refs: References, one per item, each with its own nearby words. context: Words shared by all refs (meeting topic, team name). instance_hint: Only this instance (optional). owner: Person the work belongs to; an assignee match adds weight. format: "report" (default) or "json".

Inputs: refs (required), owner, format, context, +1 more. Returns: result

rollback_issueB
DestructiveIdempotent

Rollback a specific change by restoring the previous value.

Args: issue_id: Issue ID or URL activity_id: Activity ID from get_issue_history instance: YouTrack instance (optional)

Inputs: issue_id (required), activity_id (required), instance. Returns: result

search_articlesC
Read-onlyIdempotent

Search Knowledge Base articles.

Args: query: Search string max_results: Max results (default: 20) instance: YouTrack instance (optional)

Inputs: query (required), instance, max_results. Returns: result

search_issuesA
Read-onlyIdempotent

Search YouTrack issues using query syntax. Use named periods in curly braces for relative dates.

Bare words are a FREE-TEXT match across summaries, descriptions and comments, so a multi-word phrase matches any issue containing any of its words. To scope by field, use operators: project: KEY, State: {In Progress}, Assignee: login, #tag, created: {Last week}, resolved date: 2026-01-01 .. 2026-01-31. Combine them with spaces.

Args: query: YouTrack search query max_results: Max results (default: 50) instance: YouTrack instance (optional)

Inputs: query (required), instance, max_results. Returns: result

search_usersA
Read-onlyIdempotent

Search YouTrack users by name or login.

Args: query: Search string max_results: Max results (default: 20) instance: YouTrack instance (optional)

Inputs: query (required), instance, max_results. Returns: result

suggest_managersA
Read-onlyIdempotent

Bootstrap a manager mapping from recent YouTrack activity.

Detects PMs by reporter fan-out (auto-exclude), then scores remaining candidates by who edits non-trivial fields on each user's tasks and who moves their tasks to terminal states. Writes managers.suggested.json.

Args: lookback_days: Activity window (default: 90) projects: Comma-separated project shortnames; empty = all accessible write: If False, just print the suggestion without saving (default: True) instance: YouTrack instance (optional)

Inputs: write, instance, projects, lookback_days. Returns: result

track_cross_dept_journeyA
Read-onlyIdempotent

Track cross-department handoffs: bottlenecks, dept load, avg transit times.

Builds a chronological journey of dept changes (state + project transitions) for each issue. Departments are auto-detected from project shortnames using generic role-based patterns (Backend/Frontend/DevOps/QA/Mobile/etc).

Args: query: YouTrack query selecting issues (e.g. 'project: PROJ #Unresolved') stale_days: Flag current station if held >N days (default: 5) avg_window_days: Rolling window for transit time averages (default: 14) follow_subtasks: Include subtask journeys in parent's chain (default: True) max_issues: Cap on issues fetched (default: 50) instance: YouTrack instance (optional)

Inputs: query (required), instance, max_issues, stale_days, +2 more. Returns: result

transition_issueA
Idempotent

Change an issue's State, gate-aware: set required fields first, then transition, and report the exact workflow rule if it still blocks.

YouTrack workflow scripts often gate transitions ("set Dev Estimation before To Do"). A raw update fails one opaque 400 at a time; this tool applies set_fields field-by-field first (command syntax, e.g. 'Dev Estimation 2d QA Estimation 1d'), then attempts the state change. If a gate still blocks, the blocking rule's own text is returned so the caller knows exactly what to supply — nothing is ever invented.

Args: issue_id: Issue ID or URL state: Target state name (bare, e.g. 'To Do', 'Ready for QA') set_fields: Fields to set before transitioning (command syntax; optional) instance: YouTrack instance (optional)

Inputs: state (required), issue_id (required), instance, set_fields. Returns: result

update_articleA
Idempotent

Update a Knowledge Base article. Returns previous values for rollback.

Args: article_id: Article ID or database ID summary: New title (empty = keep) content: New content (empty = keep) instance: YouTrack instance (optional)

Inputs: article_id (required), content, summary, instance. Returns: result

update_article_commentA
Idempotent

Update an article comment. Returns previous text for rollback.

Args: article_id: Article ID or database ID comment_id: Comment ID text: New comment text (markdown) instance: YouTrack instance (optional)

Inputs: text (required), article_id (required), comment_id (required), instance. Returns: result

update_commentA
Idempotent

Update an existing comment. Returns previous text for rollback.

Args: issue_id: Issue ID or URL comment_id: Comment ID text: New comment text (markdown) instance: YouTrack instance (optional)

Inputs: text (required), issue_id (required), comment_id (required), instance. Returns: result

update_issueA
Idempotent

Update fields of a YouTrack issue. Returns previous values for rollback.

Args: issue_id: Issue ID or URL summary: New title (empty = keep) description: New description (empty = keep) state: New state name (empty = keep) assignee: New assignee (empty = keep) product: Product field (empty = keep) add_tag: Tag to add (empty = skip) remove_tag: Tag to remove (empty = skip) command: YouTrack command for any field (e.g. 'Priority High Type Bug') instance: YouTrack instance (optional)

Inputs: issue_id (required), state, add_tag, command, +6 more. Returns: result

update_sprintA
Idempotent

Update an existing sprint on an agile board.

Args: board_name: Board name (partial match) sprint_name: Current sprint name (partial match) new_name: New sprint name (empty = keep) start: New start date ISO 8601 (empty = keep) finish: New end date ISO 8601 (empty = keep) archived: Set archived status (None = keep) instance: YouTrack instance (optional)

Inputs: board_name (required), sprint_name (required), start, finish, +3 more. Returns: result

update_work_itemA
Idempotent

Update a work item. Returns previous values for rollback.

Args: issue_id: Issue ID or URL work_item_id: Work item ID duration_minutes: New duration in minutes (0 = keep) date: New date YYYY-MM-DD (empty = keep) description: New description (empty = keep) instance: YouTrack instance (optional)

Inputs: issue_id (required), work_item_id (required), date, instance, +2 more. Returns: result

user_time_summaryA
Read-onlyIdempotent

Time summary for one user: total logged plus per-issue breakdown.

Matches by work-item author and work-item date. When neither since nor until is given, defaults to the current calendar month — an unbounded scan of a user's whole history was rarely what callers meant and is capped anyway. Pass an explicit early since (e.g. "1970-01-01") for all-time. Unknown users surface YouTrack's own error message.

Args: user: YouTrack login (or user id) — required instance: YouTrack instance name/URL (auto-detected if blank) since: Start date YYYY-MM-DD (default: 1st of current UTC month) until: End date YYYY-MM-DD (optional) top_issues: How many top issues to list (default: 10)

Inputs: user (required), since, until, instance, +1 more. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 87 tools

    Disambiguation3/5

    Most tools have detailed descriptions that clarify intent, but there are large overlapping clusters: search_issues vs get_issues vs run_saved_search vs find_issues_for_text, several dashboard/pulse variants, and multiple handoff/stuck/deadline analytics tools. An agent can usually pick correctly with careful reading, but boundaries between report and analytics tools are not always obvious.

    Naming Consistency4/5

    Nearly all tools use snake_case with a verb_noun pattern (get_issue, create_sprint, delete_article), which is highly predictable. A few deviations like get_agiles and deadline_scorecard slightly break the pattern but remain readable and do not cause confusion.

    Tool Count1/5

    With 87 tools, the surface is far beyond what an agent can reasonably navigate for a single YouTrack integration. While many tools are useful, the sheer number of overlapping dashboards, analytics, and reporting variants creates an extreme mismatch with the practical scope of the server.

    Completeness4/5

    Coverage is very broad: issues, comments, links, attachments, work items, agile boards, sprints, Knowledge Base articles, saved searches, users, and numerous analytics workflows are present. Minor lifecycle gaps exist, such as deleting attachments or removing issues from sprints, but core CRUD and operational workflows are well covered.

    Maintenance

    ActivityActive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for Yandex Tracker API, enabling AI assistants to search, read, create, and edit issues, as well as manage comments, attachments, and links in Yandex Tracker.
      65 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      MCP server for interacting with YouTrack, enabling issue management, project operations, and search via natural language.
      102 npm
      100
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      A Model Context Protocol (MCP) server for YouTrack integration, providing a standardized interface for LLMs to interact with YouTrack's issue tracking, agile management, and knowledge base features.
      12
      MIT