Skip to content

Conversation

jvdmr
Copy link

@jvdmr jvdmr commented Sep 9, 2025

Description

Currently, environment variables can be used to configure host, port, etc. But the default transport setting is 'stdio', and this cannot be overridden through environment variables, rendering the other settings useless.

This PR adds the option to set FASTMCP_TRANSPORT=<transport> to take full advantage of this way of configuring FastMCP.

Contributors Checklist

Review Checklist

  • I have self-reviewed my changes
  • My Pull Request is ready for review

…configuration, for example by adding `FASTMCP_TRANSPORT=streamable-http` to environment variables.
@marvin-context-protocol marvin-context-protocol bot added enhancement Improvement to existing functionality. For issues and smaller PR improvements. cli Related to FastMCP CLI commands (run, dev, install) or CLI functionality. labels Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli Related to FastMCP CLI commands (run, dev, install) or CLI functionality. enhancement Improvement to existing functionality. For issues and smaller PR improvements.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant