summaryrefslogtreecommitdiff
path: root/docs/cli
diff options
context:
space:
mode:
authorEddie Santos <[email protected]>2025-06-12 15:23:45 -0700
committerGitHub <[email protected]>2025-06-12 22:23:45 +0000
commit61d0cc39fdf69f5f7be5171c44cee6323303b8fe (patch)
tree15ffeef9fae6025b68c4d94aad31170b17ccbd58 /docs/cli
parent6723c72fa5468be713c05205c75be532729e8f92 (diff)
GitHub MCP warning (#979)
Diffstat (limited to 'docs/cli')
-rw-r--r--docs/cli/tutorials.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/cli/tutorials.md b/docs/cli/tutorials.md
index 518110ad..96c105b4 100644
--- a/docs/cli/tutorials.md
+++ b/docs/cli/tutorials.md
@@ -4,10 +4,14 @@ Master usage of Gemini CLI to automate development tasks.
## Setting up Model Context Protocol (MCP) Servers
-> **A Note on Third-Party MCP Servers:** Before using a third-party MCP server, ensure you trust its source and understand the tools it provides. Your use of third-party servers is at your own risk.
+> [!NOTE]
+> Before using a third-party MCP server, ensure you trust its source and understand the tools it provides. Your use of third-party servers is at your own risk.
### GitHub MCP Server
+> [!WARNING]
+> The GitHub MCP Server has known security vulnerabilities, proceed with caution.
+
The [GitHub MCP server] provides tools for interacting with GitHub repositories, such as creating issues, commenting on pull requests, and more.
[GitHub MCP server]: https://github.com/github/github-mcp-server
@@ -52,6 +56,9 @@ In your project's root directory, create or open the `.gemini/settings.json` fil
##### Set Your GitHub Token
+> [!CAUTION]
+> Using a broadly scoped personal access token that has access to personal and private repositories can lead to information from the private repository leaked into the public repository. We recommend using a fine grained access token that doesn't share access to both public and private repositories.
+
Use an environment variable to store your PAT.
```bash