yt-mcp
This is a YouTrack MCP server that gives AI clients (Claude Code, Copilot, Cursor, n8n, etc.) natural-language access to a YouTrack instance — ~87 tools covering issues, time tracking, boards, knowledge base, bulk ops, and analytics.
Issue management — search, fetch (single or batched), create (freeform or from templates like bug/feature/task/spike/incident/epic), update any field via command syntax, transition with workflow-gate awareness, delete (soft/permanent), link/unlink issues.
Comments — add, edit, delete, search by comment text, and find your mentions/replies.
History & rollback — view issue history, summarize changes, roll back a specific activity.
Attachments — list, get download URLs, upload files (inline content/base64, or disk with allowlisted roots).
Time tracking — log/update/delete work items, monthly per-user reports, per-user time summaries.
Agile boards & sprints — list/search boards, view sprint boards by column, create/delete boards, create/update sprints, add issues to sprints, get active sprint issues.
Projects, users & instances — list projects, inspect custom fields (incl. conditional/required), current user, user search, instance URL, multi-instance listing and URL-based routing.
Discovery & cross-issue analysis — tags, saved searches, audit/compare issue lists, roadmaps, cross-department journey tracking, text-to-ticket matching, spoken ticket-reference resolution.
Knowledge Base — search, read, create, update, delete articles and their comments.
Bulk operations — preview (dry run), execute (auto-tagged for rollback), and roll back batches.
Translation — fetch non-English issues and apply LLM-assisted translations with bilingual preservation.
Dashboards & monitoring — top active/blocked issues, team/multi-team dashboards, digests, at-risk issue detection, task-creation quality checks, project health, team pulse, stuck handoffs, deadline audits/scorecards, manager suggestions, release calendar.
Impact analysis — dependency maps and deadline-slip impact.
Operational modes — read-only mode, per-tool disabling, headless CLI (
run,tools,eval), stdio/SSE/streamable-HTTP transports, Docker, OAuth for claude.ai connectors, multi-instance support, and compact/token-saving output.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@yt-mcp show my open tasks for this week"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
yt-mcp
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
Open YouTrack → Profile → Account Security → Tokens → New token
Set scope:
YouTrackGrant permissions: Read Issue, Write Issue, Read Project (or just use admin token for full access)
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-mcpOption 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
uvxat startup (e.g.,/mcpdoesn't show the server), use the full path instead:"command": "/full/path/to/uvx"Find the full path with
which uvx(typically~/.local/bin/uvxor/opt/homebrew/bin/uvx).
3. Restart Claude Code
claudeYou 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
uvxis not found, use the full path (find withwhich 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:yyyAdding 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:wwwInstance 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. UsesYOUTRACK_URL/YOUTRACK_TOKENas before.First instance falls back to unprefixed
YOUTRACK_URL/YOUTRACK_TOKENif 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
instanceparameter — every tool accepts an optionalinstanceparam 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, andYOUTRACK_MAX_BULK_RESULTSapply 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-mcpWhat 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 using YouTrack query syntax |
| Get full details of a specific issue (description, comments, fields, links) |
| Create a new issue in a project (freeform) |
| Create an issue using a template (bug, feature, task, daily, spike, release, devops, incident, epic) |
| Update any issue field — summary, state, priority, type, deadline, assignee, custom fields via command syntax |
| Soft-delete (state → Obsolete) or permanently delete an issue |
| Get all linked issues (parent, subtask, depends on, relates to, duplicates) |
| Link two issues together (relates, depends on, parent/subtask, duplicates) |
| Remove a link between two issues |
| Add a comment to an issue (markdown supported) |
| Edit an existing comment on an issue |
| Delete a comment from an issue |
| View change history of an issue (who changed what, when) |
| Get a compact summary of issue changes (state transitions, comments, time logged) |
| Revert a specific change using its activity ID |
| Poll for recently changed issues (for automation triggers — Make.com, n8n, cron) |
| Lightweight count of issues matching a query (no full data) |
| List available issue templates |
| Batch-fetch several issues by ID in one request (report enrichment, digests) |
| Change State gate-aware: set required fields first, then transition, and surface the blocking workflow rule's own text |
| Find issues by what their comments say — phrase search with author and project filters |
| Mentions of you plus likely replies to your comments, within a lookback window |
Attachments (3)
Tool | Description |
| List all attachments on an issue (name, size, type, author, date) |
| Get the download URL for a specific attachment |
| Attach a file to an issue from inline content, or from disk when the operator allowlists directories |
Time tracking (6)
Tool | Description |
| Get time tracking work items for an issue |
| Log time to an issue (duration, date, type, description) |
| Update an existing work item (duration, date, description) |
| Delete a work item from an issue |
| Monthly time report grouped by the user who logged the work (optionally by project) |
| One user's logged time for a period, with a per-issue breakdown |
Agile boards & sprints (9)
Tool | Description |
| List all agile boards |
| Search for an agile board by name (partial match) |
| Get issues on an agile board grouped by column/state for a sprint |
| Create a new agile board for one or more projects |
| Delete an agile board (issues are not affected) |
| Create a new sprint on an agile board (with optional dates) |
| Update an existing sprint (rename, reschedule, archive) |
| Assign issues to a sprint via YouTrack commands |
| Issues in a board's currently active sprint |
Projects, users & instances (6)
Tool | Description |
| List all accessible projects |
| List custom fields with required status and valid values (use before |
| Get the authenticated user's profile |
| Search users by name, login, or email |
| The configured instance URL, for building issue links |
| Every configured instance with its URL and project keys, for routing ticket numbers |
Discovery & cross-issue analysis (9)
Tool | Description |
| List all issue tags with issue counts |
| List all saved searches (queries) |
| Execute a saved search by name and return matching issues |
| Get current status/assignee/idle for a list of IDs (validate stale roadmaps) |
| Diff a known list vs a query — find untracked items or stale entries |
| Cross-project unresolved view filtered by type and state (parallel fetch) |
| Follow a request across departments via issue links, with per-stage timings |
| Tickets that status-check or meeting phrases talk about, ranked with |
| Spoken refs ("task 4101, queue lag") → the ticket, verified by meaning across instances, not by existence |
Knowledge Base (8)
Tool | Description |
| Search Knowledge Base articles |
| Get a KB article with full content and comments |
| Create a new KB article (with optional nesting) |
| Update a KB article (title, content) |
| Delete a KB article |
| Add a comment to a KB article |
| Edit a comment on a KB article |
| Delete a comment from a KB article |
Bulk operations (3)
Tool | Description |
| Preview which issues a bulk command would affect (dry run) |
| Apply a command to all issues matching a query (auto-tags for rollback) |
| Undo all changes from a bulk update batch using its tag |
Translation (2)
Tool | Description |
| Fetch issues with non-English text for LLM-assisted translation |
| Apply translated text to issues with batch tagging for rollback |
Priority dashboard & monitoring (17)
Tool | Description |
| Get top N active issues ranked by weighted scoring (priority, type, staleness, blockers) |
| Get top N blocked issues ranked by scoring (priority, duration blocked, blockers) |
| Combined project brief — top active + top blocked + summary stats |
| Cross-team dashboard for multiple projects in one call (parallel fetch) |
| Digest of recent changes for any issues — state changes, comments, field updates |
| Find at-risk issues: stalled (active but silent), forgotten (filed but idle 30d+), overdue, over estimate |
| Verify a requested task was created with proper fields (priority, assignee, description) + quality score |
| Report of recently created issues with quality indicators and PM follow-through stats |
| Project health score (0-100, dedup'd) + state/product distribution, metrics, recently resolved |
| Team flow snapshot for one board: throughput, pipeline, insight flags, ready-to-pull picks |
| The same pulse across several boards, aggregated org-wide |
| Cross-team transitions that stalled after a handoff |
| Current state of issues waiting at each handoff point |
| Deadline moves over a period — who changed what, and when |
| Per-assignee deadline reliability scoring |
| Suggest the responsible manager for issues from historical assignment patterns |
| Releases in flight and recently shipped, with cadence-based ETAs and store-queue flags |
Impact analysis (2)
Tool | Description |
| Build cross-product dependency graph from an issue (links, product overlap, mentions) |
| Analyze what breaks if an issue slips (blocked, at risk, done) |
Environment variables
Variable | Required | Description |
| Yes | Your YouTrack instance URL (e.g., |
| Yes | Permanent token (starts with |
| No | Comma-separated instance names for multi-instance setup (e.g., |
| No | Set to |
| No | Comma-separated list of tools to disable (e.g., |
| No | Maximum issues per bulk operation (default: |
| No | Set to |
| No | Public HTTPS URL of this server — enables OAuth for claude.ai connectors |
| No | Access code for OAuth gate — users must enter this code to connect (requires |
| No | Sentry DSN for error tracking — just set the env var, SDK is included |
| No | Error log path (default: |
| No | Analytics log path (default: |
| No | Set to |
| No | Where bare ticket numbers most likely live, for |
| No | Extra words, comma-separated, that say little about which ticket is meant (product or protocol names, for example). They weigh less in |
| No | Headless mode only: stderr log level (default: |
| No | Cut any text reply longer than this at a line break, with a marker saying how to narrow the request (default: |
Verify the server works
Check that uv is installed (required for the uvx command):
uv --versionIf not installed, get it with:
curl -LsSf https://astral.sh/uv/install.sh | shTest 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-mcpA 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-mcpList 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-mcpYou 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-mcpNote: If Claude Code can't find
uvx, use the full path. Find it withwhere 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-mcpUpdating 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 projectAll 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 ZTNAIssue 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 |
| Summary, Steps to Reproduce, Expected/Actual Result, Environment, Severity |
| Problem, Proposed Solution, Alternatives, Acceptance Criteria, Priority |
| Objective, Requirements, Technical Notes, Definition of Done |
| Done Yesterday, Planned Today, Blockers |
| Goal, Context, Scope, Timebox, Findings, Recommendation |
| Version, Changes, Pre/Post-release Checklists, Rollback Plan |
| Description, Requirement, Expected Result, Affected Services, Rollback Plan |
| Impact, Symptoms, Environment, Steps to Reproduce, Root Cause, Fix Applied, Prevention |
| 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 ssePut 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
Go to claude.ai → Settings → Connectors
Click "+ Add custom connector"
Enter a name:
YouTrackEnter your server URL:
https://your-server.example.comComplete 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.--argstakes a JSON object (or-for stdin); pairs override it. Flags may go anywhere.--jsonprints one object:tool,args,ok,text.Exit codes:
0success,1the tool reported an error or timed out,2a usage or configuration error (unknown tool, bad argument, missing URL or token).Logs go to stderr at
WARNINGby default (YOUTRACK_LOG_LEVEL=INFOto see more), so stdout carries only the result.--timeout(default5m) 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 insrc/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 8000The 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 8000The server will be available at http://localhost:8000/mcp.
CLI options
Flag | Default | Description |
|
| Transport protocol: |
|
| Host to bind to |
|
| 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
Start the server in SSE mode (see above)
In n8n, add an MCP Client node (or use the HTTP Request node)
Set the MCP server URL to
http://localhost:8000/sseThe YouTrack tools will be available as actions in your n8n workflows
Make.com setup
Start the server in SSE mode (see above)
In Make.com, use an HTTP or MCP module to connect to
http://localhost:8000/sseUse the
poll_changestool on a schedule to detect new activity:Set
queryto filter issues (e.g.,project: PROJ)Set
since_minutesto match your polling interval (e.g.,5)
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-mcpThe 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-stoppeddocker compose up -dConnect 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 9000The 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.1if you don't need external access, or use a reverse proxy with authentication for productionYouTrack 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=trueDisable specific tools
Block individual tools by name (comma-separated, case-insensitive):
DISABLED_TOOLS=delete_issue,bulk_update_execute,apply_translationsThis removes the specified tools from the MCP server entirely — clients won't see them.
Requirements
Python 3.10+
Check your version:
python3 --versionIf not installed or below 3.10:
macOS (via Homebrew):
brew install python@3.12Ubuntu / Debian:
sudo apt update && sudo apt install python3 python3-pipWindows: download from python.org or use
winget install Python.Python.3.12
uv (recommended)
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 installedIf not installed:
macOS / Linux:
curl -LsSf https://astral.sh/uv/install.sh | shThen restart your shell or run
source $HOME/.local/bin/env.macOS (Homebrew alternative):
brew install uvWindows:
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 toolsadd_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).filenameoverrides 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 thecontentmode below.content+filename: upload generated/inline content with no temp file. Text is UTF-8 encoded; setcontent_base64=Trueto 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_issue_linkBIdempotent
Link two issues together.
Args: issue_id: Source issue ID or URL target_id: Target issue ID or URL link_type: Relation type (default: 'Relates') instance: YouTrack instance (optional)
Inputs: issue_id (required), target_id (required), instance, link_type. Returns: result
add_issues_to_sprintAIdempotent
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_translationsAIdempotent
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_changesARead-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_listARead-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_rollbackADestructiveIdempotent
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_executeADestructiveIdempotent
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_previewARead-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_creationARead-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_listsARead-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_issuesARead-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_scorecardARead-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_boardADestructiveIdempotent
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_articleADestructiveIdempotent
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_commentADestructiveIdempotent
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_commentADestructiveIdempotent
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_issueADestructiveIdempotent
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_itemADestructiveIdempotent
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_commentsARead-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_textARead-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_issuesARead-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_boardARead-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_agilesARead-onlyIdempotent
List all agile boards.
Args: instance: YouTrack instance (optional)
Inputs: instance. Returns: result
get_articleARead-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_issuesARead-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_urlARead-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_activityBRead-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_userARead-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_impactARead-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_snapshotARead-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_mapARead-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_urlARead-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_issueARead-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_summaryARead-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_historyBRead-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_issue_linksARead-onlyIdempotent
Get all linked issues for an issue.
Args: issue_id: Issue ID or URL instance: YouTrack instance (optional)
Inputs: issue_id (required), instance. Returns: result
get_issuesARead-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_digestARead-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_translationARead-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_dashboardBRead-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_pulseARead-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_mentionsARead-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_fieldsARead-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_healthARead-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_calendarARead-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_roadmapARead-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_boardBRead-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_handoffsARead-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:
Find issues currently in handoff-receiving states (qa, release, rework, dev) on the board.
For each, fetch state-change activities.
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_dashboardBRead-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_pulseARead-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_issuesARead-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_issuesARead-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_itemsARead-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_attachmentsARead-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_instancesARead-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_projectsBRead-onlyIdempotent
List all accessible YouTrack projects.
Args: instance: YouTrack instance (optional)
Inputs: instance. Returns: result
list_saved_searchesARead-onlyIdempotent
List all saved searches (queries).
Args: instance: YouTrack instance (optional)
Inputs: instance. Returns: result
list_tagsARead-onlyIdempotent
List all issue tags with issue counts.
Args: instance: YouTrack instance (optional)
Inputs: instance. Returns: result
list_templatesARead-onlyIdempotent
List all available issue templates with their sections.
Inputs: no named parameters. Returns: result
monthly_time_report_by_userARead-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_changesBRead-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
remove_issue_linkADestructiveIdempotent
Remove a link between two issues.
Args: issue_id: Source issue ID or URL target_id: Target issue ID or URL link_type: Relation type to remove (default: 'Relates') instance: YouTrack instance (optional)
Inputs: issue_id (required), target_id (required), instance, link_type. Returns: result
resolve_ticket_refsARead-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_issueBDestructiveIdempotent
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
run_saved_searchARead-onlyIdempotent
Run a saved search by name and return matching issues.
Args: name: Saved search name (partial match) max_results: Max results (default: 50) instance: YouTrack instance (optional)
Inputs: name (required), instance, max_results. Returns: result
search_articlesCRead-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_issuesARead-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_usersARead-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_managersARead-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_journeyARead-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_issueAIdempotent
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_articleAIdempotent
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_commentAIdempotent
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_commentAIdempotent
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_issueAIdempotent
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_sprintAIdempotent
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_itemAIdempotent
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_summaryARead-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
Scored across 87 tools
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.
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.
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.
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
Related MCP Connectors
Official Todoist MCP server. Manage tasks and projects. Hosted, no API key needed.
MCP server for generating rough-draft project plans from natural-language prompts.
A MCP server built for developers enabling Git based project management with project and personal…
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP 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 npm1MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for interacting with YouTrack, enabling issue management, project operations, and search via natural language.102 npm100MIT
- AlicenseBqualityDmaintenanceA 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.12MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for comprehensive YouTrack integration, enabling issue management, work tracking, search, and knowledge base operations.319 npm6MIT