[connectors] feat: add Linear connector for web-security#25
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a Linear MCP connector to the
web-securitycapability so validated findings can be exported as Linear remediation issues.The connector is designed as a portable capability-local GraphQL integration instead of relying on ambient Linear tooling. It keeps issue creation in the post-validation delivery path and updates the web-security agent guidance accordingly.
Changes
capabilities/web-security/mcp/linear.pyas a self-containeduv runFastMCP server.linearMCP server intocapabilities/web-security/capability.yaml.Connector Surface
linear_healthlinear_list_teamslinear_create_issuelinear_get_issuelinear_add_commentAuth supports
LINEAR_API_KEYorLINEAR_ACCESS_TOKEN, with optionalLINEAR_API_URLoverride.Validation
uv run pytest capabilities/web-security/tests/test_linear_mcp.pypassed: 11 tests.mypy capabilities/web-security/mcp/linear.py capabilities/web-security/tests/test_linear_mcp.py --ignore-missing-importspassed.pre-commit run --files capabilities/web-security/capability.yaml capabilities/web-security/agents/web-security.md capabilities/web-security/mcp/linear.py capabilities/web-security/tests/test_linear_mcp.pypassed.just validatecompleted with 0 failures.uv run capabilities/web-security/mcp/linear.py; process stayed running until timeout as expected for stdio MCP.PYTHONPATH=capabilities/web-security/tools uv run pytest capabilities/web-security/testspassed: 147 passed, 7 existing warnings.git diff --checkpassed.Known
just validatewarnings are pre-existing environment warnings unrelated to this change:bloodhound-enterpriseruntime imports, local web-securitycaido-cli/Burp checks, andwindows-reversingJava 17 check.