Skip to content

Commit a74e2b2

Browse files
committed
feat(tools): Hide the list_repo_incidents and prefer the list_repo_occurrences
1 parent af4474d commit a74e2b2

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

packages/developer_mcp_server/src/developer_mcp_server/register_tools.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
from gg_api_core.tools.find_current_source_id import find_current_source_id
33
from gg_api_core.tools.generate_honey_token import generate_honeytoken
44
from gg_api_core.tools.list_honey_tokens import list_honeytokens
5-
from gg_api_core.tools.list_repo_incidents import list_repo_incidents
65
from gg_api_core.tools.list_repo_occurrences import list_repo_occurrences
76
from gg_api_core.tools.list_users import list_users
87
from gg_api_core.tools.remediate_secret_incidents import remediate_secret_incidents
@@ -66,13 +65,13 @@ def register_developer_tools(mcp: FastMCP):
6665
required_scopes=["scan"],
6766
)
6867

69-
mcp.tool(
70-
list_repo_incidents,
71-
description="List secret incidents or occurrences related to a specific repository, and assigned to the current user."
72-
"By default, this tool only shows incidents assigned to the current user. "
73-
"Only pass mine=False to get all incidents related to this repo if the user explicitly asks for all incidents even the ones not assigned to him.",
74-
required_scopes=["incidents:read", "sources:read"],
75-
)
68+
# mcp.tool(
69+
# list_repo_incidents,
70+
# description="List secret incidents or occurrences related to a specific repository, and assigned to the current user."
71+
# "By default, this tool only shows incidents assigned to the current user. "
72+
# "Only pass mine=False to get all incidents related to this repo if the user explicitly asks for all incidents even the ones not assigned to him.",
73+
# required_scopes=["incidents:read", "sources:read"],
74+
# )
7675

7776
mcp.tool(
7877
list_repo_occurrences,

0 commit comments

Comments
 (0)