Skip to content

Streamable HTTP for MCPs#74

Open
ypapadop-amd wants to merge 5 commits intomainfrom
ypapadop-amd/streamable-http
Open

Streamable HTTP for MCPs#74
ypapadop-amd wants to merge 5 commits intomainfrom
ypapadop-amd/streamable-http

Conversation

@ypapadop-amd
Copy link
Collaborator

This PR adds streamable-http to all MCPs. I had to upgrade to FastMCP to support those options (also logging is a bit nicer) and to add ASGI support in the future if needed (mcp does not seem to expose those).

- Replace mcp[cli] dependency with fastmcp>=2.0.0
- Update imports to use fastmcp package directly
- Add CLI arguments for transport selection (stdio/http)
- Support configurable host, port, and path for HTTP transport
@ypapadop-amd ypapadop-amd self-assigned this Mar 16, 2026
Copilot AI review requested due to automatic review settings March 16, 2026 15:50
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR migrates multiple IntelliKit MCP servers from the mcp[cli] FastMCP implementation to the standalone fastmcp package and adds CLI-selectable transports to enable running servers over streamable HTTP.

Changes:

  • Switch MCP dependencies from mcp[cli] to fastmcp>=2.0.0 across several tool packages.
  • Update MCP server entrypoints to import from fastmcp and add --transport/--host/--port/--path CLI options, using streamable-http when --transport http is selected.
  • Refresh the uprof_mcp lockfile and expand repo-level documentation about tools, tests, and MCP transport usage.

Reviewed changes

Copilot reviewed 11 out of 14 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
uprof_mcp/uv.lock Updates locked dependency versions for uprof_mcp.
uprof_mcp/src/uprof_mcp/uprof_profiler_mcp.py Migrates imports to fastmcp and adds CLI transport selection for stdio vs streamable HTTP.
uprof_mcp/pyproject.toml Replaces mcp[cli] with fastmcp>=2.0.0.
rocm_mcp/src/rocm_mcp/compile/hip_compiler_mcp.py Migrates imports to fastmcp and adds CLI transport selection for stdio vs streamable HTTP.
rocm_mcp/pyproject.toml Replaces mcp[cli] with fastmcp>=2.0.0.
nexus/pyproject.toml Replaces mcp[cli] with fastmcp>=2.0.0.
nexus/nexus/mcp/server.py Migrates imports to fastmcp and adds CLI transport selection for stdio vs streamable HTTP.
metrix/src/metrix/mcp/server.py Migrates imports to fastmcp and adds CLI transport selection for stdio vs streamable HTTP.
metrix/pyproject.toml Replaces mcp[cli] with fastmcp>=2.0.0.
linex/src/linex/mcp/server.py Migrates imports to fastmcp and adds CLI transport selection for stdio vs streamable HTTP.
linex/pyproject.toml Replaces mcp[cli] with fastmcp>=2.0.0.
AGENTS.md Updates/expands repository documentation, including MCP transport options and local testing guidance.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Copy link
Member

@mawad-amd mawad-amd left a comment

Choose a reason for hiding this comment

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

Looks great. Thanks, Yiannis!

Copy link
Contributor

Copilot AI commented Mar 18, 2026

@ypapadop-amd I've opened a new pull request, #77, to work on those changes. Once the pull request is ready, I'll request review from you.

…t support (#77)

* Initial plan

* feat: migrate hip_docs_mcp and rocminfo_mcp to fastmcp with HTTP transport support

Co-authored-by: ypapadop-amd <102817138+ypapadop-amd@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ypapadop-amd <102817138+ypapadop-amd@users.noreply.github.com>
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.

4 participants