Provides comprehensive integration with JetBrains YouTrack 2025.2, enabling AI assistants to manage issues, sprints, dependencies, time tracking, knowledge base articles, agile boards, and analytics including Gantt charts and critical path analysis.
YouTrack MCP Server
Enterpriseβgrade MCP server for JetBrains YouTrack 2025.2 giving AI assistants (Claude, VSCode MCP extensions, Continue.dev, Cline, Zed, custom connectors) safe, tool-based access to issues, sprints, dependencies (Gantt + critical path), time tracking and knowledge base content. Fully validated against official OpenAPI specification.
Table of Contents
Quick Start
Remote (SSE) for hosted usage / ChatGPT custom connector:
Health check:
Highlights
Domain | Capabilities |
Dynamic Configuration | π Auto-loads custom field values (State, Priority, Type) from YOUR YouTrack instance on startup - no more hardcoded examples! |
Issues | CRUD, comments, transitions, dependency links, estimation, count queries |
Issue History | π Activity tracking, audit trail, change history with filtering |
Bulk Operations | π Apply commands to multiple issues, silent execution, auto-completion |
Search Enhancement | π Query auto-completion, context-aware suggestions |
Saved Queries | π Create, manage, and share saved searches |
Agile | Sprint create/manage, issue assignment, progress metrics |
Knowledge Base | Article create/update/search, tagging, linkage |
Projects | Discovery, metadata, field summaries |
Analytics | Gantt generation, dependency routing, critical path |
Time Tracking | Log work, time summaries, reporting hooks |
Performance | TTL caching, structured logging, graceful fallbacks |
Reliability | Consistent response envelope & error normalization |
API Coverage | π ~80% of YouTrack REST API (12 of 15 domain areas) |
Code Quality | π ESLint compliant, TypeScript strict mode, 100% CI passing |
API Validation | π Verified against official YouTrack OpenAPI 3.0.1 spec |
Environment & Configuration
Minimal .env:
Variable | Required | Description | Default |
| β | Base URL without | β |
| β | Permanent token (Profile β Tokens) | β |
| β | Default project shortName | β |
| β | error/warn/info/debug | info |
| β | Enable inβmemory cache | true |
| β | Cache TTL ms | 300000 |
| β | Start webhook listener | false |
| β | Webhook port | 3000 |
| β | HMAC secret | β |
MCP Client Integration
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
VSCode (.vscode/settings.json):
Github Coding Agent:
Continue.dev (continue.json):
Cline / Generic:
Zed:
Local test:
Pitfalls: absolute path, no trailing slash, full token copy, JSON env values are strings.
Tool Catalog Summary
17 MCP Tools covering 12 domain areas:
Category | Tools & Key Actions |
Issues |
|
Issue History π |
|
Bulk Operations π |
|
Search π |
|
Saved Searches π |
|
Agile Boards |
|
Knowledge Base |
|
Projects |
|
Users & Groups |
|
Time Tracking |
|
Analytics |
|
Custom Fields |
|
Comments |
|
Subscriptions |
|
Auth |
|
See Tool Reference for complete documentation.
Architecture
Traits: strong typing, graceful degradation, normalized errors, pluggable caching/logging.
Development
Structure: src/index.ts (entry), src/api/domains (domain clients), src/tools.ts (tool registry), src/utils, src/logger.ts.
Troubleshooting
Quick Fixes
Symptom | Cause | Fix |
401 Unauthorized | Missing scope / expired token | Regenerate token with required permissions |
404 Not Found (double | URL has | Remove |
Project not found | Hidden / archived / wrong ID | Use internal ID or verify access |
Empty analytics | No issues in project | Seed baseline issues |
SSE disconnects | Proxy idle timeout | Enable keep-alive / tune LB |
AI wrong field values | Dynamic config failed | Check token permissions, restart server |
Empty search results |
| Remove or update |
Configuration Checklist:
β Absolute path in MCP client config
β No trailing slash on
YOUTRACK_URLβ No on
YOUTRACK_URL(server adds automatically)β Full token with
perm:prefixβ JSON env values are strings
β Token has required permissions
Debug Mode: Use LOG_LEVEL=debug for detailed inspection.
π Complete Troubleshooting Guide - Comprehensive solutions for all common issues.
Security & Permissions
Recommended token capabilities: Issues (R/W), Projects (Read), Knowledge Base (R/W), Agile/Sprints (R/W), Time Tracking (if applicable). Store tokens as environment secrets; never commit.
Contributing
Fork & branch (
feature/x)Implement + tests
npm run lint && npm run type-checkOpen PR with rationale
License
MIT Β© 2025
Acknowledgements
JetBrains YouTrack β’ MCP community β’ TypeScript ecosystem
Feedback / ideas? Open an issue or discussion.