Skip to content

MCP server should return a more lightweight JSON to reduce LLM tokens consumption #359

@fproulx-boostsecurity

Description

@fproulx-boostsecurity

Right now the MCP server works, but because some tools use the raw JSON formatter output those MCP tools waste a lot of tokens. For instance the github_actions_workflows is pretty much useless for an agent consuming the JSON from the analyze_repo or analyze_org tools. Effectively the PackageInsights simply contains too many fields. Clearly FindingsResults makes sense and maybe some metadata about the repo could be useful, but even then, I'd rather consider adding some back in the future than dumping it all to the coding agent.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions