FlowTruxFlowTrux/Docs
Docsmcp

YouTrack MCP Server

Create, search, and manage JetBrains YouTrack issues from workflows

The YouTrack MCP server integrates with JetBrains YouTrack for issue tracking. Your workflows can create issues, search for existing ones, update fields, and add comments.

Setup

  1. Get an API token from your YouTrack instance:

    • Go to your YouTrack profile > Authentication > New token.
    • Grant the required scopes (read/write access to issues).
    • Copy the token.
  2. Go to Settings > MCP Servers > Add Server.

  3. Select YouTrack.

  4. Enter the configuration:

FieldRequiredDescription
baseUrlYesYour YouTrack instance URL (e.g., https://mycompany.youtrack.cloud)
apiKeyYesAPI token from step 1
  1. Click Save.

Tools

create_issue

Create a new issue in YouTrack.

ParameterTypeRequiredDescription
projectstringYesProject short name (e.g., PROJ)
summarystringYesIssue title
descriptionstringNoIssue description (supports YouTrack markdown)
typestringNoIssue type (e.g., Bug, Task, Feature)
prioritystringNoPriority level (e.g., Critical, Major, Normal, Minor)

search_issues

Search for issues using YouTrack query syntax.

ParameterTypeRequiredDescription
querystringYesYouTrack search query (e.g., project: PROJ state: Open assignee: me)
topnumberNoMaximum results to return
fieldsstringNoComma-separated list of fields to include

update_issue

Update fields on an existing issue.

ParameterTypeRequiredDescription
issueIdstringYesIssue ID (e.g., PROJ-123)
summarystringNoNew summary
descriptionstringNoNew description
statestringNoNew state (e.g., In Progress, Done)
prioritystringNoNew priority

add_comment

Add a comment to an existing issue.

ParameterTypeRequiredDescription
issueIdstringYesIssue ID (e.g., PROJ-123)
textstringYesComment text (supports YouTrack markdown)

Example Workflow

An automated issue management workflow:

  1. Trigger -- Cron schedule (daily at 9am)
  2. Agent -- Search for overdue issues, tools: youtrack:search_issues with query state: Open due date: {ago 1d}
  3. Logic -- Loop over each overdue issue
  4. Agent -- Add a reminder comment, tools: youtrack:add_comment
  5. Agent -- Send a summary to Slack, tools: slack:send_formatted_report