Skip to content

Conversation

@mtodor
Copy link
Collaborator

@mtodor mtodor commented Nov 10, 2025

This PR is adding the following:

  • concept of toolsets and tools
  • toolset/tools registry
  • support for read-only tools
  • support for enabled/disable toolsets
  • MCP server stack (only HTTP for now to keep number of changes low)

Additional tweaks:

  • support for application version change during the build

NOTE: We are using tools mocks for testing. In this PR I will leave it as it is. But I will create a follow-up PR where I will replace mocks with one's generated by mocking framework.

@mtodor mtodor force-pushed the mtodor/ROX-31475-add-mcp-server branch from 80a7f51 to 1ace0ae Compare November 11, 2025 15:26
BINARY_NAME=stackrox-mcp

# Version (can be overridden with VERSION=x.y.z make build)
VERSION?=0.1.0
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe when not provided we should use git describe --tags --abbrev=10 --dirty --long instead? So development builds will have commit information

Copy link
Collaborator Author

@mtodor mtodor Nov 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@janisz This does not work for me:

❯ git describe --tags --abbrev=10 --dirty --long
fatal: No names found, cannot describe anything

For local dev, we could use: git rev-parse --short HEAD - but on tag builds, we could get tag info from CI environment. Any better ideas?

@mtodor mtodor force-pushed the mtodor/ROX-31474-add-config branch from 35e724b to c267e67 Compare November 17, 2025 19:28
@mtodor mtodor force-pushed the mtodor/ROX-31475-add-mcp-server branch 3 times, most recently from 19a0352 to 489ceb5 Compare November 18, 2025 11:27
@mtodor mtodor force-pushed the mtodor/ROX-31474-add-config branch from c267e67 to af7929f Compare November 18, 2025 11:56
@mtodor mtodor force-pushed the mtodor/ROX-31475-add-mcp-server branch from 489ceb5 to b710ab2 Compare November 18, 2025 11:56
@mtodor mtodor force-pushed the mtodor/ROX-31474-add-config branch from af7929f to ea3282b Compare November 18, 2025 11:59
@mtodor mtodor force-pushed the mtodor/ROX-31475-add-mcp-server branch from b710ab2 to 1acf52b Compare November 18, 2025 11:59
@mtodor mtodor force-pushed the mtodor/ROX-31474-add-config branch from ea3282b to baf9de0 Compare November 18, 2025 12:08
@mtodor mtodor force-pushed the mtodor/ROX-31475-add-mcp-server branch from 1acf52b to 5650c9e Compare November 18, 2025 12:08
@mtodor mtodor requested a review from janisz November 21, 2025 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants