Merged
Conversation
Moves the CodeQL MCP Server to a streamable transport and adds the required process management code to start and stop local streamable servers on demand.
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds local streamable MCP server support, allowing the framework to start and manage MCP servers locally using HTTP transport instead of only stdio-based communication.
- Implements
StreamableMCPThreadclass for managing local streamable MCP server processes - Updates MCP server configurations to support the streamable transport with local process management
- Migrates existing MCP servers from FastMCP 1.x to FastMCP 2.0 and enables HTTP transport
Reviewed Changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| mcp_utils.py | Adds StreamableMCPThread process management class and extends mcp_client_params to handle streamable transport with local process spawning |
| main.py | Updates deployment logic to start/stop streamable MCP server processes and handle connection waiting |
| toolboxes/codeql.yaml | Configures CodeQL toolbox to use streamable transport with HTTP endpoint |
| mcp_servers/*/*.py | Updates FastMCP imports to version 2.0 and enables HTTP transport for servers |
| mcp_servers/codeql/client.py | Improves error handling and makes query server keep-alive default to true |
| README.md | Updates documentation with configuration examples and clarifies Docker usage |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
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.
No description provided.