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
feat: gate get_file_blame behind file_blame feature flag
The git blame tool adds a new tool to the inventory, which carries a
context-footprint cost for every client. Gate it behind a new
file_blame feature flag (user opt-in via --features / X-MCP-Features)
that is also auto-enabled in insiders mode, so it is not advertised by
default.
Regenerated README, feature-flags.md and insiders-features.md docs.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: README.md
-11Lines changed: 0 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1229,17 +1229,6 @@ The following sets of tools are available:
1229
1229
-`repo`: Repository name (string, required)
1230
1230
-`sha`: Commit SHA, branch name, or tag name (string, required)
1231
1231
1232
-
-**get_file_blame** - Get file blame information
1233
-
-**Required OAuth Scopes**: `repo`
1234
-
-`after`: Cursor for pagination. Use the cursor from the previous response. (string, optional)
1235
-
-`end_line`: Optional 1-based ending line of the window of interest. Must be >= start_line when both are provided. (number, optional)
1236
-
-`owner`: Repository owner (username or organization) (string, required)
1237
-
-`path`: Path to the file in the repository, relative to the repository root (string, required)
1238
-
-`perPage`: Results per page for pagination (min 1, max 100) (number, optional)
1239
-
-`ref`: Git reference (branch, tag, or commit SHA). Defaults to the repository's default branch (HEAD). (string, optional)
1240
-
-`repo`: Repository name (string, required)
1241
-
-`start_line`: Optional 1-based starting line of the window of interest. Only ranges overlapping [start_line, end_line] are returned, clamped to the window. (number, optional)
1242
-
1243
1232
-**get_file_contents** - Get file or directory contents
1244
1233
-**Required OAuth Scopes**: `repo`
1245
1234
-`owner`: Repository owner (username or organization) (string, required)
-`title`: The new title for the pull request (string, required)
289
289
290
+
### `file_blame`
291
+
292
+
-**get_file_blame** - Get file blame information
293
+
-**Required OAuth Scopes**: `repo`
294
+
-`after`: Cursor for pagination. Use the cursor from the previous response. (string, optional)
295
+
-`end_line`: Optional 1-based ending line of the window of interest. Must be >= start_line when both are provided. (number, optional)
296
+
-`owner`: Repository owner (username or organization) (string, required)
297
+
-`path`: Path to the file in the repository, relative to the repository root (string, required)
298
+
-`perPage`: Results per page for pagination (min 1, max 100) (number, optional)
299
+
-`ref`: Git reference (branch, tag, or commit SHA). Defaults to the repository's default branch (HEAD). (string, optional)
300
+
-`repo`: Repository name (string, required)
301
+
-`start_line`: Optional 1-based starting line of the window of interest. Only ranges overlapping [start_line, end_line] are returned, clamped to the window. (number, optional)
Copy file name to clipboardExpand all lines: docs/insiders-features.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,6 +107,19 @@ The list below is generated from the Go source. It covers tool **inventory and s
107
107
-`since`: Filter by date (ISO 8601 timestamp) (string, optional)
108
108
-`state`: Filter by state, by default both open and closed issues are returned when not provided (string, optional)
109
109
110
+
### `file_blame`
111
+
112
+
-**get_file_blame** - Get file blame information
113
+
-**Required OAuth Scopes**: `repo`
114
+
-`after`: Cursor for pagination. Use the cursor from the previous response. (string, optional)
115
+
-`end_line`: Optional 1-based ending line of the window of interest. Must be >= start_line when both are provided. (number, optional)
116
+
-`owner`: Repository owner (username or organization) (string, required)
117
+
-`path`: Path to the file in the repository, relative to the repository root (string, required)
118
+
-`perPage`: Results per page for pagination (min 1, max 100) (number, optional)
119
+
-`ref`: Git reference (branch, tag, or commit SHA). Defaults to the repository's default branch (HEAD). (string, optional)
120
+
-`repo`: Repository name (string, required)
121
+
-`start_line`: Optional 1-based starting line of the window of interest. Only ranges overlapping [start_line, end_line] are returned, clamped to the window. (number, optional)
0 commit comments