Skip to content

Conversation

donatoaz
Copy link

Summary

This PR upgrades the fastmcp dependency on openapi-mcp-server and introduces the SERVER_TRANSPORT=streamable-http config option that enables running the mcp server on AgentCore Runtime

Changes

  • Upgraded fastmcp dependency from version 2.10.2 to 2.12.4 in pyproject.toml
  • Added support for streamable-http transport mode in server.py to enable AgentCore Runtime deployment
  • Updated README.md to document the new streamable-http transport option alongside existing stdio option
  • Added comprehensive DEPLOYMENT.md documentation with CDK example for deploying to AWS AgentCore Runtime
  • Updated uv.lock file to reflect new dependency versions

User experience

Before: Users could only run the OpenAPI MCP server with stdio or SSE transport, limiting deployment options to local or basic containerized environments.

After: Users can now deploy the OpenAPI MCP server to AWS AgentCore Runtime using the new streamable-http transport option.

Checklist

If your change doesn't seem to apply, please leave them unchecked.

  • I have reviewed the contributing guidelines
  • I have performed a self-review of this change
  • Changes have been tested
  • Changes are documented

Is this a breaking change? (Y/N) N

RFC issue number: N/A

Checklist:

  • Migration process documented
  • Implement warnings (if it can live side by side)

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.

@scottschreckengaust scottschreckengaust changed the title [openapi-mcp-server] upgrade fastmcp and add support for AgentCore Runtime deployment with streamable-http feat(openapi-mcp-server): upgrade fastmcp and add support for AgentCore Runtime deployment with streamable-http Oct 10, 2025
@krokoko
Copy link
Contributor

krokoko commented Oct 10, 2025

@theagenticguy just to confirm, we still don't approve enabling streamable http for the servers, correct ?

@donatoaz
Copy link
Author

@theagenticguy just to confirm, we still don't approve enabling streamable http for the servers, correct ?

Isn't it supposed to be the opposite? And stop supporting SSE? I'm slightly confused, why wouldn't we want to add streamable-http support to servers?

@donatoaz
Copy link
Author

Btw, I tested the chages locally using mcp inspector

running: uvx --refresh --from . awslabs.openapi-mcp-server --api-url https://petstore3.swagger.io/api/v3 --spec-url https://petstore3.swagger.io/api/v3/openapi.json --log-level DEBUG --transport streamable-http --host 0.0.0.0 --port 8999 --mcp-path "/foo"

Screenshot 2025-10-10 at 20 03 53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hold-merging Signals to hold the PR from merging

Projects

Status: To triage

Development

Successfully merging this pull request may close these issues.

4 participants