Skip to content

Commit 9bcae00

Browse files
Merge pull request #92 from blacklanternsecurity/mcp_additions
MCP Additions
2 parents 21e4552 + 0767d2d commit 9bcae00

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bbot_server/modules/findings/findings_api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class FindingsApplet(BaseApplet):
2525
"/get",
2626
methods=["GET"],
2727
summary="Get a single finding by its ID",
28+
mcp=True,
2829
)
2930
async def get_finding(self, id: str) -> Finding:
3031
finding = await self.root._get_asset(type="Finding", query={"id": id})
@@ -38,6 +39,7 @@ async def get_finding(self, id: str) -> Finding:
3839
type="http_stream",
3940
response_model=Finding,
4041
summary="Simple, easily-curlable endpoint for listing findings, with basic filters",
42+
mcp=True,
4143
)
4244
async def list_findings(
4345
self,

0 commit comments

Comments
 (0)