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

YouTrack Cloud 2026.3 Help

MCP Server

Model Context Protocol (MCP) is a standard that lets applications such as chatbots, AI assistants, and coding agents communicate with services like YouTrack in a consistent way. In MCP terminology, these applications are MCP clients, and YouTrack provides the MCP server.

The YouTrack MCP server gives clients access to read and update YouTrack data through predefined MCP tools, subject to the permissions of the authenticated YouTrack account. These tools can search for issues and articles, create and update content, add comments and attachments, manage tags and issue links, and log work.

MCP Endpoint and Authorization

Use the endpoint and authorization details in this section when you add YouTrack to an MCP client.

MCP Endpoint URL

YouTrack exposes its MCP server over the Streamable HTTP transport at https://<instance-name>.youtrack.cloud/mcp. Any MCP client that supports Streamable HTTP can connect directly to this endpoint.

Replace <instance-name> with the name of your YouTrack Cloud site. If the site uses a custom domain or another base URL, append /mcp to that base URL instead.

Choose an Authorization Method

YouTrack supports OAuth authorization and permanent token authorization for MCP connections.

Method

Use case

OAuth

Use OAuth when each user should approve access with their own YouTrack account. The MCP client receives an access token without requiring the user to create and copy a permanent token.

The OAuth client can be registered automatically with CIMD or manually by a YouTrack system administrator. For details, see Set Up OAuth.

Permanent token

Use a permanent token when the MCP client doesn't support OAuth or when an integration must always act as one YouTrack account.

For example, a shared service can use a permanent token that belongs to a dedicated account for all requests. Every request then has the permissions of that account.

Set Up OAuth

After you choose OAuth as the authorization method, determine how to register the OAuth client. Choose the registration method that the MCP client supports, then ask a YouTrack system administrator to complete the required setup.

  • Automatic registration with a Client ID Metadata Document (CIMD). For an MCP client that supports CIMD, ask a system administrator to open Administration > Access Management > OAuth Clients and enable Allow automatic OAuth client registration via CIMD.

    After the administrator enables this setting, connect the MCP client using the YouTrack MCP endpoint URL. For details, see Automatic OAuth Client Registration.

  • Manual registration. If the MCP client doesn't support CIMD, obtain its redirect Uniform Resource Identifier (URI) and other OAuth requirements from the client provider. Ask a system administrator to create an OAuth client, then add the generated client ID to the MCP client. For a confidential client, also add the client secret.

    For instructions, see Create an OAuth Client Manually.

Check the MCP client documentation to confirm its registration method and OAuth requirements. YouTrack supports automatic registration with CIMD but doesn't support OAuth Dynamic Client Registration. For protocol details, see OAuth 2.0 Authorization in the Developer Portal.

Connect an MCP Client

Use these instructions for any MCP client that connects directly to YouTrack over Streamable HTTP. Before you start, confirm that the client accepts an MCP server URL and supports your selected authorization method.

With OAuth, each user approves access using their YouTrack account. Complete the applicable OAuth client registration before you connect.

To connect an MCP client with OAuth:

  1. Add the YouTrack MCP endpoint URL to the MCP client.

  2. If the client requests OAuth credentials, enter the client ID and, for a confidential client, the client secret from the manually registered OAuth client.

  3. Start authorization from the MCP client.

  4. On the YouTrack authorization page, review the requested access and approve the connection.

  5. Return to the MCP client and finish the connection setup.

  6. Confirm that the client lists the YouTrack MCP tools. Test the connection with a read-only request, such as finding issues assigned to you.

A permanent token authorizes every request as the YouTrack account that owns the token. For a shared integration, use a dedicated account with only the required permissions.

To connect an MCP client with a permanent token:

  1. Generate a permanent token for the account and select YouTrack as the scope. For instructions, see Create a Permanent Token.

  2. Add the YouTrack MCP endpoint URL to the MCP client.

  3. Add an HTTP authorization header with the value Bearer <token>, where <token> is the permanent token.

  4. Confirm that the client lists the YouTrack MCP tools. Test the connection with a read-only request.

The following command adds the YouTrack MCP server to Claude Code using a permanent token. Replace the placeholders with the MCP endpoint URL and permanent token for your connection.

claude mcp add --header "Authorization: Bearer <token>" --transport http youtrack <youtrack-mcp-endpoint-url>

Connect ChatGPT and Claude

ChatGPT and Claude provide YouTrack connectors. Connector availability and setup depend on the provider plan, the YouTrack site address, and the YouTrack version.

ChatGPT lists the YouTrack connector as a plugin. The plugin requires YouTrack 2026.2.18687 or later and automatic OAuth client registration through CIMD. The plugin is available for ChatGPT Business and Enterprise plans.

The plugin accepts the YouTrack MCP endpoint URL for any domain. ChatGPT must be able to reach the endpoint over the public internet.

To connect YouTrack using the ChatGPT plugin:

  1. Ask a YouTrack system administrator to enable Allow automatic OAuth client registration via CIMD.

  2. Open the YouTrack plugin in ChatGPT and start the connection.

  3. Enter the YouTrack MCP endpoint URL.

  4. On the YouTrack authorization page, review the requested access and approve the connection.

  5. Enable YouTrack in a conversation and test the connection with a read-only request.

If the YouTrack plugin isn't available for your plan, add YouTrack as a custom plugin when your ChatGPT plan and workspace settings support plugin creation. With CIMD enabled, provide the plugin name and YouTrack MCP endpoint URL. If CIMD isn't enabled, configure a manually registered OAuth client.

For current instructions, see Connect from ChatGPT.

The verified YouTrack connector requires YouTrack 2026.2.18687 or later and automatic OAuth client registration through CIMD.

YouTrack site

Connection method

YouTrack Cloud on a *.youtrack.cloud address

Use the verified connector in the Claude Connector Directory.

YouTrack Cloud with a custom domain

Use the verified connector with the site's original *.youtrack.cloud address followed by /mcp, or add a custom connector.

To connect a YouTrack Cloud site using the verified Claude connector:

  1. Ask a YouTrack system administrator to enable Allow automatic OAuth client registration via CIMD.

  2. Open the YouTrack connector in the Claude Connector Directory and click Connect.

  3. Enter the site's MCP endpoint URL: https://<instance-name>.youtrack.cloud/mcp.

  4. On the YouTrack authorization page, review the requested access and approve the connection.

  5. Enable the connector in a conversation and test it with a read-only request.

To connect using a custom connector, follow the Claude instructions for custom connectors. For a Cloud site with a custom domain, this option lets you use the custom-domain endpoint instead of the site's original *.youtrack.cloud address. The YouTrack site must be reachable from Anthropic's cloud infrastructure.

To add YouTrack as a custom connector for a Claude Team or Enterprise plan:

  1. Ask a Claude Owner or Primary Owner to open Organization settings > Connectors.

  2. Add a custom web connector named YouTrack and provide the YouTrack MCP endpoint URL.

  3. If Claude requests OAuth credentials, enter the client ID and, for a confidential client, the client secret from the manually registered OAuth client.

  4. Complete the setup and approve access in YouTrack.

  5. Confirm that the connector is active and test it with a read-only request.

To add YouTrack as a custom connector for an individual Claude plan:

  1. Open Customize > Connectors, click the plus button, and select Add custom connector.

  2. Enter YouTrack as the connector name and provide the YouTrack MCP endpoint URL.

  3. If Claude requests OAuth credentials, open Advanced settings and enter the client ID and, for a confidential client, the client secret from the manually registered OAuth client.

  4. Complete the setup and approve access in YouTrack.

  5. Confirm that the connector is active and test it with a read-only request.

Optional MCP Endpoint Parameters

Add query parameters to the MCP endpoint URL to control which tools are available to the client and how the server describes their output. The server applies tool filters both when it lists tools and when the client invokes a tool. A tool that a filter excludes can't be invoked through that endpoint URL. For parameters that accept lists, separate multiple values with commas.

Parameter

Description

tools

Make only the listed tool names available. For example, /mcp?tools=search_issues,get_issue.

ignoreTools

Exclude the listed tool names. For example, /mcp?ignoreTools=find_user,manage_issue_tags.

toolSubsets

Make only tools from the listed functional subsets available. Supported predefined subsets are issue, article, project, group, user, and time-tracking.

The add_attachment and search_documentation tools do not belong to a functional subset, so specifying this parameter excludes them.

For example, /mcp?toolSubsets=issue,article.

readOnlyTools

Filter tools by their read-only annotation.

  • true returns only tools whose read-only annotation is set to true.

  • false returns only tools whose read-only annotation is set to false.

Omit the parameter to return tools regardless of their read-only annotation.

customToolPackages

Make custom MCP tools from the listed app packages available to the connection. Specify each package by name. For example, /mcp?customToolPackages=app-name1,app-name2.

enableToolOutputSchema

Set this parameter to true to include each tool's output JavaScript Object Notation (JSON) Schema in the tools/list response. For example, /mcp?enableToolOutputSchema=true.

Output schemas are available to MCP clients that use protocol version 2025-06-18 or later. The server includes a schema only when the tool provides one. The add_attachment tool doesn't currently provide an output schema. Custom MCP tools can also define output schemas.

MCP Tools

YouTrack provides predefined MCP tools for issues, articles, attachments, projects, groups, users, time tracking, and documentation search. The tools become available when the MCP client connects to the YouTrack MCP server.

Issue

Use issue tools to search for issues, create and update issues or drafts, publish drafts, manage comments and tags, and link related 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

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

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

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

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

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

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

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

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

Assign issue DEV-102 to julia.

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

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

List the comments for issue UX-87.

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

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

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.

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.

Article

Use article tools to search, read, create, and update Knowledge Base articles.

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

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

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

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.

Attachment

Use the attachment tool to add files to issues, issue comments, Knowledge Base articles, and article comments.

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.

Project

Use project tools to find projects and retrieve project settings.

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

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.

Group

Use group tools to find user groups or project teams and list their members.

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

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.

User

Use user tools to find a user or retrieve the authenticated account.

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

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

Show my account details.

Time Tracking

Use time tracking tools to list, add, and update work items on issues.

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

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

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".

Documentation

Use the documentation search tool to find official guidance for YouTrack usage, administration, APIs, workflows, and apps.

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.

Custom MCP Tools

Create custom MCP tools when the predefined tools don't cover your use case. Add the scripts to an app package and make them available through the YouTrack MCP server.

For instructions, see Custom MCP Tools in the Developer Portal.

24 November 2026