You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/copilot/concepts/chat.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,16 @@ For more information, see [AUTOTITLE](/copilot/customizing-copilot/adding-reposi
43
43
44
44
{% data reusables.copilot.change-the-ai-model %}
45
45
46
-
## Extending {% data variables.copilot.copilot_chat_dotcom_short %}
46
+
## Extending {% data variables.copilot.copilot_chat_short %}
47
+
48
+
{% data variables.copilot.copilot_chat_short %} can be extended in a variety of ways to enhance its functionality and integrate it with other tools and services. This can include using the Model Context Protocol (MCP) to provide context-aware AI assistance, or connecting third-party tools to leverage {% data variables.product.github %}’s AI capabilities.
49
+
50
+
### Extending {% data variables.copilot.copilot_chat_short %} with MCP
51
+
52
+
MCP is an open standard that defines how applications share context with large language models (LLMs). MCP provides a standardized way to connect AI models to different data sources and tools, enabling them to work together more effectively.
53
+
54
+
You can configure MCP servers to provide context to {% data variables.copilot.copilot_chat_short %} in various IDEs, such as {% data variables.product.prodname_vscode %} and JetBrains IDEs. For {% data variables.copilot.copilot_chat_dotcom_short %}, the {% data variables.product.github %} MCP server is automatically configured, enabling {% data variables.copilot.copilot_chat_short %} to perform a limited set of tasks, at your request, such as creating branches or merging pull requests. For more information, see [AUTOTITLE](/copilot/how-tos/context/model-context-protocol/extending-copilot-chat-with-mcp) and [AUTOTITLE](/copilot/how-tos/context/model-context-protocol/using-the-github-mcp-server).
55
+
56
+
### Extending {% data variables.copilot.copilot_chat_short %} with external tools
47
57
48
58
{% data reusables.copilot.copilot-extensions.extending-copilot-chat %}
Copy file name to clipboardExpand all lines: content/copilot/how-tos/provide-context/use-mcp/use-the-github-mcp-server.md
+48-1Lines changed: 48 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,8 @@ contentType: how-tos
23
23
24
24
{% vscode %}
25
25
26
+
{% data reusables.copilot.mcp.mcp-ide-preview-note %}
27
+
26
28
{% data reusables.copilot.mcp.about-github-mcp-server %}
27
29
28
30
## Prerequisites
@@ -209,10 +211,14 @@ The {% data variables.product.github %} MCP server enables you to perform a wide
209
211
* In the {% data variables.copilot.copilot_chat_short %} box, you may be asked to give additional permissions or provide more information to complete the action.
210
212
1. Follow the prompts to complete the action.
211
213
214
+
{% data reusables.copilot.mcp.troubleshooting-mcp-server %}
215
+
212
216
{% endvscode %}
213
217
214
218
{% jetbrains %}
215
219
220
+
{% data reusables.copilot.mcp.mcp-ide-preview-note %}
221
+
216
222
{% data reusables.copilot.mcp.about-github-mcp-server %}
217
223
218
224
## Prerequisites
@@ -285,10 +291,14 @@ The {% data variables.product.github %} MCP server enables you to perform a wide
285
291
* In the {% data variables.copilot.copilot_chat_short %} box, you may be asked to give additional permissions or provide more information to complete the action.
286
292
1. Follow the prompts to complete the action.
287
293
294
+
{% data reusables.copilot.mcp.troubleshooting-mcp-server %}
295
+
288
296
{% endjetbrains %}
289
297
290
298
{% xcode %}
291
299
300
+
{% data reusables.copilot.mcp.mcp-ide-preview-note %}
301
+
292
302
{% data reusables.copilot.mcp.about-github-mcp-server %}
293
303
294
304
## Prerequisites
@@ -356,10 +366,14 @@ The {% data variables.product.github %} MCP server enables you to perform a wide
356
366
* In the {% data variables.copilot.copilot_chat_short %} box, you may be asked to give additional permissions or provide more information to complete the action.
357
367
1. Follow the prompts to complete the action.
358
368
369
+
{% data reusables.copilot.mcp.troubleshooting-mcp-server %}
370
+
359
371
{% endxcode %}
360
372
361
373
{% eclipse %}
362
374
375
+
{% data reusables.copilot.mcp.mcp-ide-preview-note %}
376
+
363
377
{% data reusables.copilot.mcp.about-github-mcp-server %}
364
378
365
379
## Prerequisites
@@ -428,9 +442,42 @@ The {% data variables.product.github %} MCP server enables you to perform a wide
428
442
* In the {% data variables.copilot.copilot_chat_short %} box, you may be asked to give additional permissions or provide more information to complete the action.
429
443
1. Follow the prompts to complete the action.
430
444
445
+
{% data reusables.copilot.mcp.troubleshooting-mcp-server %}
446
+
431
447
{% endeclipse %}
432
448
433
-
{% data reusables.copilot.mcp.troubleshooting-mcp-server %}
449
+
{% webui %}
450
+
451
+
>[!NOTE] MCP in {% data variables.copilot.copilot_chat_dotcom_short %} is currently in {% data variables.release-phases.public_preview %} and subject to change.
452
+
453
+
## About MCP in {% data variables.copilot.copilot_chat_dotcom_short %}
454
+
455
+
The {% data variables.product.github %} MCP server is a Model Context Protocol (MCP) server provided and maintained by {% data variables.product.github %}. MCP allows you to integrate AI capabilities with other tools and services, enhancing your development experience by providing context-aware AI assistance.
456
+
457
+
For more information on MCP, see [the official MCP documentation](https://modelcontextprotocol.io/introduction).
458
+
459
+
Within {% data variables.copilot.copilot_chat_dotcom_short %}, the {% data variables.product.github %} MCP server is automatically configured, with a limited set of skills available. This allows you to instruct {% data variables.copilot.copilot_chat_short %} to perform tasks such as creating branches or merging pull requests on your behalf. For a full list of available skills, see [AUTOTITLE](/copilot/reference/github-copilot-chat-cheat-sheet#mcp-skills).
460
+
461
+
## Using the {% data variables.product.github %} MCP server in {% data variables.copilot.copilot_chat_dotcom_short %}
462
+
463
+
The {% data variables.product.github %} MCP server is automatically configured in {% data variables.copilot.copilot_chat_dotcom_short %}. You can start using it immediately without any additional setup.
464
+
465
+
{% data reusables.copilot.immersive-mode-instructions %}
466
+
1. In the prompt box, type a request related to the skill you want {% data variables.copilot.copilot_chat_short %} to perform, and press **Enter**.
467
+
468
+
Some examples of requests you can make are:
469
+
*`Create a new branch called [BRANCH-NAME] in the repository [USERNAME/REPO-NAME].`
470
+
*`Create a new branch called [BRANCH-NAME] in the repository [USERNAME/REPO-NAME].`
471
+
*`Merge the pull request [PULL-REQUEST-NUMBER] in the repository [USERNAME/REPO-NAME].`
472
+
473
+
1. {% data variables.copilot.copilot_chat_short %} will ask you to confirm that you want to proceed with the action. Click **Allow** to confirm.
474
+
1. {% data variables.copilot.copilot_chat_short %} will use the relevant skill from the {% data variables.product.github %} MCP server to perform the action you requested. {% data variables.copilot.copilot_chat_short %} will show you the result of the action in the chat interface.
475
+
476
+
## Limitations
477
+
478
+
The {% data variables.product.github %} MCP server in {% data variables.copilot.copilot_chat_dotcom_short %} is currently limited to a set of predefined skills. If you ask {% data variables.copilot.copilot_chat_short %} to perform an action that is not supported by the MCP server, it will still attempt to provide a helpful response, but it may not be able to perform the action as expected. For example, if you ask {% data variables.copilot.copilot_chat_short %} to create a new issue, it may provide you with a draft issue template, but you will still need to manually create the issue.
Copy file name to clipboardExpand all lines: content/copilot/how-tos/use-chat/use-chat-in-github.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,10 @@ redirect_from:
20
20
contentType: how-tos
21
21
---
22
22
23
+
## Introduction
24
+
25
+
This guide describes how to use {% data variables.copilot.copilot_chat_short %} to ask questions about software development in {% data variables.product.github %}. You can ask general questions about software development, or specific questions about the issues or code in a repository. For more information, see [AUTOTITLE](/copilot/concepts/about-github-copilot-chat).
26
+
23
27
## Submitting a question to {% data variables.copilot.copilot_chat_short %}
24
28
25
29
You can open {% data variables.copilot.copilot_chat_short %} from any page on {% data variables.product.github %}. Certain questions may require you to be in a specific context, such as a repository, issue, or pull request. The following procedure describes how to ask a general software related question, and demonstrates the core functionality of {% data variables.copilot.copilot_chat_short %} on {% data variables.product.github %}. For more information on other scenarios, see [Asking {% data variables.copilot.copilot_chat_short %} questions in different contexts](/copilot/using-github-copilot/asking-github-copilot-questions-in-github#asking-copilot-chat-questions-in-different-contexts).
Copy file name to clipboardExpand all lines: content/copilot/how-tos/use-chat/use-chat-in-ide.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,10 @@ shortTitle: Use Chat in IDE
19
19
contentType: how-tos
20
20
---
21
21
22
+
## Introduction
23
+
24
+
This guide describes how to use {% data variables.copilot.copilot_chat_short %} to ask questions about software development in your IDE. You can ask general questions about software development, or specific questions about the code in your project. For more information, see [AUTOTITLE](/copilot/concepts/about-github-copilot-chat).
Copy file name to clipboardExpand all lines: content/copilot/how-tos/use-chat/use-chat-in-mobile.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ contentType: how-tos
20
20
21
21
## Overview
22
22
23
-
{% data variables.copilot.copilot_chat %} is a chat interface that lets you ask and receive answers to coding-related questions in {% data variables.product.prodname_mobile %}. You can also use {% data variables.copilot.copilot_chat %} on either {% data variables.product.github %} or within a supported IDE. For information on using {% data variables.copilot.copilot_chat %} in an IDE, see [AUTOTITLE](/copilot/github-copilot-chat/copilot-chat-in-ides/using-github-copilot-chat-in-your-ide).
23
+
{% data variables.copilot.copilot_chat %} is a chat interface that lets you ask and receive answers to coding-related questions in {% data variables.product.prodname_mobile %}. You can also use {% data variables.copilot.copilot_chat %} on either {% data variables.product.github %} or within a supported IDE. For information about {% data variables.copilot.copilot_chat %}, see [AUTOTITLE](/copilot/concepts/about-github-copilot-chat).
24
24
25
25
{% data variables.copilot.copilot_mobile_short %} can help you with a variety of coding-related tasks, like offering you code suggestions, providing natural language descriptions of a piece of code's functionality and purpose, generating unit tests for your code, and proposing fixes for bugs in your code. For more information, see [AUTOTITLE](/copilot/github-copilot-chat/copilot-chat-in-github-mobile/about-github-copilot-chat-in-github-mobile).
Copy file name to clipboardExpand all lines: content/copilot/reference/cheat-sheet.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,22 @@ Available slash commands may vary, depending on your environment and the context
44
44
|`/new`| Start a new conversation |
45
45
|`/rename`| Rename a conversation. |
46
46
47
+
## MCP skills
48
+
49
+
Below is a list of the MCP skills that are currently available in {% data variables.copilot.copilot_chat_dotcom_short %}, and example prompts you can use to invoke them. You do not need to use the MCP skill name in your prompt; you can simply ask {% data variables.copilot.copilot_chat_short %} to perform the task.
50
+
51
+
| Skill | Example prompt |
52
+
| --- | --- |
53
+
|`create_branch`| Create a new branch called [BRANCH-NAME] in the repository [USERNAME/REPO-NAME]. |
54
+
|`create_or_update_file`| Add a new file named `hello-world.md` to my [BRANCH-NAME] of [USERNAME/REPO-NAME] with the content: "Hello, world! This file was created from {% data variables.copilot.copilot_chat_dotcom_short %}!" |
55
+
|`push_files`| Push the files `test.md` with the content "This is a test file" and `test-again.md` with the content "This is another test file" to the [BRANCH-NAME] in [USERNAME/REPO-NAME]|
56
+
|`update_pull_request_branch`| Update the branch for pull request [PR-number] in [USERNAME/REPO-NAME] with the latest changes from the base branch. |
57
+
|`merge_pull_request`| Merge pull request [PR-Number] in [USERNAME/REPO-NAME]|
58
+
|`get_me`| Tell me about myself. |
59
+
|`search_users`| Search for users with the name "Mona Octocat" |
60
+
61
+
For more information about using MCP skills in {% data variables.copilot.copilot_chat_short %}, see [AUTOTITLE](/copilot/how-tos/context/model-context-protocol/using-the-github-mcp-server).
> The remote {% data variables.product.github %} MCP server is currently in {% data variables.release-phases.public_preview %} and subject to change; use of the {% data variables.product.github %} MCP server locally is generally available (GA).
3
+
>
4
+
> While in {% data variables.release-phases.public_preview %}, access to the remote {% data variables.product.github %} MCP server through OAuth in {% data variables.product.prodname_copilot_short %} is governed by the {% data variables.product.prodname_copilot_short %} **Editor preview features** policy at the organization or enterprise level. PAT access to the server is managed by PAT policies.
0 commit comments