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 |
|---|---|---|
| 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 |
|---|---|---|
| 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 |
|---|---|---|
| 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 | 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 |
|---|---|---|
| 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 | Create an issue draft in project MKT with the summary "Revise homepage hero section". |
update_draft_issue
Name | Description | Sample Prompt |
|---|---|---|
| Partially updates an issue draft owned by the current user. Requires the internal draft ID as Use | 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 |
|---|---|---|
| Publishes an issue draft owned by the current user and removes it from the user's drafts. Requires the internal draft ID as Returns the published issue ID as | Publish my issue draft 3-22. |
update_issue
Name | Description | Sample Prompt |
|---|---|---|
| Partially updates a published issue identified by The tool cannot change issue visibility. To edit an issue draft, use | Change the State of WEB-132 to In Progress and set its Priority to Major. |
get_issue
Name | Description | Sample Prompt |
|---|---|---|
| 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 |
|---|---|---|
| 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 |
|---|---|---|
| Adds a Markdown comment to an issue. The tool can restrict comment visibility to specified users or groups. It returns a | 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 |
|---|---|---|
| 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 |
|---|---|---|
| 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 |
|---|---|---|
| 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:
Returns an array of tags with their 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 |
|---|---|---|
| Adds a tag to or removes a tag from an issue. Both operations accept a tag ID or exact name. Use | Add the tag "urgent" to issue API-144. |
link_issues
Name | Description | Sample Prompt |
|---|---|---|
| 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 |
|---|---|---|
| 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 |
|---|---|---|
| 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 |
|---|---|---|
| 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 |
|---|---|---|
| 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 |
|---|---|---|
| Attaches one file to an issue, issue comment, Knowledge Base article, or article comment. The tool accepts the following parameters:
For files up to about 30 KB, pass The server applies its attachment size limits. In Markdown content, use | Attach report.pdf to issue DOCS-12. |
find_projects
Name | Description | Sample Prompt |
|---|---|---|
| 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 |
|---|---|---|
| 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 |
|---|---|---|
| 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 |
|---|---|---|
| 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 |
|---|---|---|
| Finds a user by exact login or email address. Returns the login, full name, email address, and local time zone. The value | Find the user with the email address alex.rocha@company.com. |
get_current_user
Name | Description | Sample Prompt |
|---|---|---|
| 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 |
|---|---|---|
| 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 Results follow collection order. The optional Use a returned work item ID with | List the work items on DEV-203, including their IDs, dates, authors, and durations. |
update_work_item
Name | Description | Sample Prompt |
|---|---|---|
| Updates one existing work item identified by The tool requires permission to update the work item and any supplied attributes. Time tracking must be enabled in the project. Use 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 |
|---|---|---|
| Creates a new work item on an issue and adds its duration to the issue's spent time. Requires Returns the issue ID and work item details, including | Log 90 minutes of work on DEV-203 with the description "Refactored payment module". |
search_documentation
Name | Description | Sample Prompt |
|---|---|---|
| Searches official YouTrack documentation and returns matching sections with links. Requires The optional Set | Find the official documentation about creating workflow rules in JavaScript. |