llms.txt: machine-readable documentation index. Markdown version of this page is also available.

YouTrack Developer Portal Help

Predefined MCP Tools

YouTrack provides you with a set of predefined MCP tools that you can use when you connect to the YouTrack MCP server from your favorite AI client.

List of Predefined MCP Tools

Here is the list of predefined MCP tools that YouTrack exposes to the YouTrack MCP server users:

search_issues

Name

Description

Sample Prompt

search_issues

Searches for issues using YouTrack query syntax. The query can combine attribute filters, keywords, and free text. Returns a paginated list with basic issue fields and selected custom fields.

Find all unresolved bugs assigned to me in the Mobile App project.

get_issue_fields_schema

Name

Description

Sample Prompt

get_issue_fields_schema

Returns the JSON Schema for custom fields in a project, including permitted values, required fields, and conditional requirements. Requirements describe issue creation and account for project defaults; updates also depend on existing issue values. Use the exact field names and values when creating or updating issues and drafts.

Which fields and values are available for issues in project WEB?

create_issue

Name

Description

Sample Prompt

create_issue

Creates an issue in a project. Project-specific custom fields can be required. The tool can restrict issue visibility to specified users or groups and returns the new issue ID and URL. The returned createdIssue.id value can be passed as the target for add_attachment.

Create an issue in project BACK with the summary "Fix authentication timeout", set Priority to High, assign it to alex, and restrict visibility to the Security Team.

create_draft_issue

Name

Description

Sample Prompt

create_draft_issue

Creates an issue draft in a project. Project workflows can initialize its description from an issue template. The draft is visible only to the current user. Use update_draft_issue to edit the draft and publish_draft_issue to publish it. Returns the draft ID as issueId and a URL that opens the draft. Pass this ID as draftId to the draft update and publication tools.

Create an issue draft in project MKT with the summary "Revise homepage hero section".

update_draft_issue

Name

Description

Sample Prompt

update_draft_issue

Partially updates an issue draft owned by the current user. Requires the internal draft ID as draftId, for example, 3-22. Supports summary, description, and customFields. Omitted fields remain unchanged. Preserve any required structure from the project issue template when updating the description.

Use get_issue_fields_schema to find available custom fields and values. Returns the draft ID as issueId, applied custom field changes, and any custom field errors. To publish the draft, use publish_draft_issue.

Update my issue draft 3-22: set Priority to Major and add reproduction steps to the description, preserving the issue template.

publish_draft_issue

Name

Description

Sample Prompt

publish_draft_issue

Publishes an issue draft owned by the current user and removes it from the user's drafts. Requires the internal draft ID as draftId, for example, 3-22. Preserves the saved content, custom fields, attachments, links, and visibility. Project workflows and required fields are checked during publication. Publication is not supported in Helpdesk projects.

Returns the published issue ID as createdIssue.id and its URL as createdIssue.url.

Publish my issue draft 3-22.

update_issue

Name

Description

Sample Prompt

update_issue

Partially updates a published issue identified by issueId. It can change the summary, description, and custom fields; star or unstar the issue for the current user; and add or remove the current user's vote. Omitted fields remain unchanged. When the current user stars the issue, YouTrack sends notifications according to the subscription settings for the Star tag.

The tool cannot change issue visibility. To edit an issue draft, use update_draft_issue. Returns the issue ID, applied changes, and any custom field errors.

Change the State of WEB-132 to In Progress and set its Priority to Major.

get_issue

Name

Description

Sample Prompt

get_issue

Returns an issue or draft with its summary, description, URL, project, reporter, links, attachments, tags, votes, recent comments, the number of linked VCS commits, and visible custom fields. For a draft, the description includes content added by project workflows. The custom fields contain details such as Type, State, Assignee, Priority, and Subsystem when these fields are available and visible.

Show the details for issue BACK-249.

change_issue_assignee

Name

Description

Sample Prompt

change_issue_assignee

Assigns an issue to the specified user. A null assignee unassigns the issue.

Assign issue DEV-102 to julia.

add_issue_comment

Name

Description

Sample Prompt

add_issue_comment

Adds a Markdown comment to an issue. The tool can restrict comment visibility to specified users or groups. It returns a commentId value that can be passed as the target for add_attachment.

Add a comment to APP-56 that says, "Please include the API documentation before closing", and make it visible to the Feature Development team.

get_issue_comments

Name

Description

Sample Prompt

get_issue_comments

Returns paginated issue comments with their authors, text, timestamps, and attachments.

List the comments for issue UX-87.

get_saved_issue_searches

Name

Description

Sample Prompt

get_saved_issue_searches

Returns the current user's favorite saved issue searches and their query strings. The query strings can be used in issue searches. The response is paginated.

Show my favorite saved issue searches.

find_tags

Name

Description

Sample Prompt

find_tags

Lists existing tags visible to the current user or searches their names. Available to MCP clients and Ask YouTrack.

The tool accepts the following optional parameters:

  • nameContains — A substring to match anywhere in the tag name, without case sensitivity. Omit this parameter or use an empty string to list visible tags.

  • issueId — An issue ID. Restricts results to tags the current user can apply to that issue.

  • offset — The number of matching tags to skip. The default is 0; the value must be a non-negative integer.

  • limit — The maximum number of tags to return. The default is 20; the value must be an integer from 1 to 100. Values above 100 are rejected.

Returns an array of tags with their id and name. Visibility and issue applicability are checked before applying the offset. Results retain the source collection order, without sorting.

Each call stops when the requested page is full or after examining 1000 visible name matches. This count includes tags skipped by the offset and tags rejected for the specified issue. A short or empty page does not guarantee that there are no further matches. The scan limit does not bound hidden records traversed by the underlying visibility filter.

Find tags with "review" anywhere in their names that I can apply to issue API-144.

manage_issue_tags

Name

Description

Sample Prompt

manage_issue_tags

Adds a tag to or removes a tag from an issue. Both operations accept a tag ID or exact name. Use find_tags to find tag IDs and names. If the tag is unknown or inaccessible, the tool returns similar-name suggestions. Returns the issue ID and updated tags.

Add the tag "urgent" to issue API-144.

Name

Description

Sample Prompt

link_issues

Links two issues using the specified inward or outward link type. Returns updated counts for the target issue's link types.

Link DOCS-12 to DEV-99 using the "relates to" link type.

create_article

Name

Description

Sample Prompt

create_article

Creates an article in a project. The article can be a sub-article and can have visibility restricted to specified users or groups. Returns the article ID and URL.

Create an article in project COMP from the previous response and restrict its visibility to the Legal team.

update_article

Name

Description

Sample Prompt

update_article

Updates an article's summary, content, or parent. New content replaces the existing content unless the append option is enabled. Returns the article ID and URL.

Append the previous response to article COMP-A-42.

get_article

Name

Description

Sample Prompt

get_article

Returns an article's summary, content, sub-articles, tags, and visibility settings. Supports line-based pagination for long content.

Show the content of article DOCS-A-17 and list its sub-articles.

search_articles

Name

Description

Sample Prompt

search_articles

Searches Knowledge Base articles using YouTrack query syntax. The query can combine attribute filters, keywords, and free text. Returns paginated basic article details and the content lines that match the query.

Find articles about API authentication in the Developer Docs project that sarah created.

add_attachment

Name

Description

Sample Prompt

add_attachment

Attaches one file to an issue, issue comment, Knowledge Base article, or article comment.

The tool accepts the following parameters:

  • target (required) — The target ID, for example, JT-97704, comment:4-123, JT-A-42, or comment:5-123 for an article comment.

  • filename (required) — The file name with extension and without a path, up to 255 characters.

  • mimeType (optional) — The MIME type, for example, application/pdf or image/png.

  • content (optional) — Standard Base64-encoded content without a data URL prefix or line breaks.

For files up to about 30 KB, pass content to upload the file in one call. For larger files, omit content to receive status: awaiting_upload and a single-use URL, then upload the raw file bytes to this URL with an HTTP PUT request. If the MCP client can't send an HTTP PUT request, it can use Base64-encoded content up to the server limit, but this consumes model tokens. The upload URL expires after 10 minutes or a server restart.

The server applies its attachment size limits. In Markdown content, use [label](file.name) to reference the file or ![alt](file.name){width=400px} to embed an image. Choose an image width from 100 to 800 pixels.

Attach report.pdf to issue DOCS-12.

find_projects

Name

Description

Sample Prompt

find_projects

Finds projects whose names or keys contain a case-insensitive substring. Returns project keys and names in a paginated response.

Find projects with "CRM" in the name or key.

get_project

Name

Description

Sample Prompt

get_project

Returns project details, team information, and time tracking settings. Time tracking settings include available work item types and attribute values.

Show the details and time tracking settings for project CP.

find_user_groups

Name

Description

Sample Prompt

find_user_groups

Finds user groups or project teams whose names contain a case-insensitive substring. The response is paginated.

Find groups and project teams with "Design" in the name.

get_user_group_members

Name

Description

Sample Prompt

get_user_group_members

Lists members of a user group or project team. A project team is a group associated with a specific project. The response is paginated.

List the members of the QA Engineers group.

find_user

Name

Description

Sample Prompt

find_user

Finds a user by exact login or email address. Returns the login, full name, email address, and local time zone. The value me identifies the current user.

Find the user with the email address alex.rocha@company.com.

get_current_user

Name

Description

Sample Prompt

get_current_user

Returns the login, email address, full name, and time zone for the authenticated account.

Show my account details.

get_issue_work_items

Name

Description

Sample Prompt

get_issue_work_items

Returns the work items on an issue that are visible to the current user. Includes IDs, authors, descriptions, dates, durations in minutes, work types, and visible work item attributes. Requires issueId. Time tracking must be enabled in the project.

Results follow collection order. The optional offset skips visible entries and defaults to 0. The optional limit defaults to 10 and accepts integers from 1 to 100. The response includes workItems, hasNextPage, and nextPageOffset when another page is available.

Use a returned work item ID with update_work_item. If several entries match the request, identify the intended entry before updating it.

List the work items on DEV-203, including their IDs, dates, authors, and durations.

update_work_item

Name

Description

Sample Prompt

update_work_item

Updates one existing work item identified by issueId and workItemId. Get the work item ID from log_work or get_issue_work_items. Supply at least one field to update: description, durationMinutes, date, workType, or workItemAttributes. Omitted fields and attributes remain unchanged. Dates use the yyyy-MM-dd format. An empty description or work type clears that value.

The tool requires permission to update the work item and any supplied attributes. Time tracking must be enabled in the project. Use get_project to find available work types and attribute values.

A new duration replaces the entry's total minutes and changes the issue's spent time by the difference. The tool does not create another entry. Returns the issue ID and updated work item details.

Change the duration of the work item I just logged on DEV-203 to 120 minutes and set its description to "Refactored and tested payment module".

log_work

Name

Description

Sample Prompt

log_work

Creates a new work item on an issue and adds its duration to the issue's spent time. Requires issueId and a positive integer durationMinutes. Date, work type, description, and work item attributes are optional. Dates use the yyyy-MM-dd format. Use get_project to find available work types and attribute values. Time tracking must be enabled in the project.

Returns the issue ID and work item details, including workItem.id. Every call creates a separate entry. To correct an existing entry, use update_work_item with the returned ID. Use get_issue_work_items to find existing entries.

Log 90 minutes of work on DEV-203 with the description "Refactored payment module".

search_documentation

Name

Description

Sample Prompt

search_documentation

Searches official YouTrack documentation and returns matching sections with links. Requires query with short English search terms, usually two to four keywords.

The optional source defaults to help for product usage and administration. This source searches Help for the installation's edition and release. If that release is not published, the tool uses the latest public Help and includes a version warning. Preserve the warning when using the results.

Set source to developer for APIs, workflows, and app development in the unversioned Developer Portal. Cite the returned documentation URLs.

Find the official documentation about creating workflow rules in JavaScript.

24 November 2026