Add official read-only GitHub MCP

This commit is contained in:
Mikei386
2026-08-23 16:55:40 +02:00
parent 111ccaa543
commit 825f4ed469
12 changed files with 161 additions and 16 deletions
+9
View File
@@ -0,0 +1,9 @@
# Create a dedicated fine-grained GitHub token. Grant repository contents and
# metadata read-only; do not grant write permissions. Keep the real file only
# at /etc/mike-ai/github-mcp.env with mode 0600.
GITHUB_PERSONAL_ACCESS_TOKEN=
# Four deliberately bounded repository-reading tools. Do not replace this
# with the broad default toolsets unless the resulting schemas were reviewed.
GITHUB_TOOLS=search_repositories,get_repository_tree,get_file_contents,search_code
GITHUB_READ_ONLY=1