Find Project Portfolio Streams
Description
Lists the AttackForge Portfolio Streams linked to one project, one row per stream together with the portfolio it belongs to. Linking a stream to a project places the project and its assets in that stream. Use this to read the project's current links before changing them with patch_project_portfolio_streams - call find_portfolio_streams to discover streams that are not linked yet. Streams of archived portfolios are listed too, marked with portfolio_archived.
Requires the Portfolios module to be enabled; otherwise returns the error Portfolios module is not enabled. The caller must have at least View access to the project, and sees only the linked streams whose stream and portfolio they can both view; can_link tells whether the caller may unlink the stream, and link it unless its portfolio is archived. Results are ordered by portfolio id, then stream id, and paginated (default 10 per page, max 50).
How To Enable
Go to
UsersSelect the user you would like to provide access to this tool
Click on
Access > MCPClick on
Add ToolsSelect the tool
find_project_portfolio_streamsand clickAdd
Example Prompts
Which portfolio streams is project X linked to?
Is the ACME project in the EMEA Web Applications stream?
Which of this project's streams am I allowed to unlink?
Parameters
project_id
string
Yes
The id (24-hex) of the project whose linked portfolio streams you want to list. Obtain it from find_projects. The caller must have View access or higher.
limit
integer
No
Maximum records to return in this page. Default 10, max 50.
skip
integer
No
Number of records to skip (offset). Default 0.
Returned fields:
portfolio_id
string
the portfolio id
portfolio_name
string
the portfolio name
stream_id
string
the stream id
stream_name
string
the stream name
can_link
boolean
true when the caller may unlink this stream, and link it to a project unless portfolio_archived (the pair is then listed by find_portfolio_streams)
portfolio_archived
boolean
true when the stream's portfolio is archived. Such a stream cannot be linked to a project, but can be unlinked when can_link is true
portfolio_idandstream_idtogether are the pairpatch_project_portfolio_streamstakes to unlink the stream. Every row carries them,can_linkandportfolio_archived; a name that is empty is left out.
Example Response
Last updated