Skip to content

Add MCP server command for poutine analysis tools#314

Closed
fproulx-boostsecurity wants to merge 1 commit into
mainfrom
feature/mcp-server
Closed

Add MCP server command for poutine analysis tools#314
fproulx-boostsecurity wants to merge 1 commit into
mainfrom
feature/mcp-server

Conversation

@fproulx-boostsecurity

Copy link
Copy Markdown
Contributor

Introduce a new command to start the Model Context Protocol (MCP) server, enabling analysis of repositories and organizations for supply chain vulnerabilities and stale branches. Include detailed command usage and configuration examples.

@fproulx-boostsecurity fproulx-boostsecurity requested a review from a team as a code owner June 6, 2025 22:12
@fproulx-boostsecurity fproulx-boostsecurity marked this pull request as draft June 6, 2025 22:13
Comment thread cmd/serveMCP.go
"analyze_org",
mcp.WithDescription("Analyzes all repositories in an organization."),
mcp.WithString("github_org", mcp.Required(), mcp.Description("The slug of the GitHub organization to analyze.")),
mcp.WithString("threads", mcp.Description("Number of concurrent analyzers to run. Defaults to 4.")), // Define as string

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why string can just use an integer?

Comment thread cmd/serveMCP.go
Token = viper.GetString("token")
ctx := cmd.Context()
s := server.NewMCPServer("poutine", Version)
analyzer, err := GetAnalyzer(ctx, "")

@SUSTAPLE117 SUSTAPLE117 Jun 9, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@fproulx-boostsecurity yeah initializing poutine this way won't work properly because it looks for vars already assigned in the root cmd to set scm params and stuff, to make it not be hardcoded to just Github we will have to bring all those root params here and have them exposed in the mcp server

@fproulx-boostsecurity fproulx-boostsecurity deleted the feature/mcp-server branch October 1, 2025 13:54
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