Skip to content

add 'http_headers' parameter to FastApiMCP constructor #187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

erpic
Copy link

@erpic erpic commented Jun 29, 2025

add 'http_headers' parameter to FastApiMCP constructor that list all http headers to forward on tool use (eg, X-API-Key)

Describe your changes

added an optional list of headers to forward on tool use

Issue ticket number and link (if applicable)

#186

Screenshots of the feature / bugfix

Checklist before requesting a review

Apologies, did not complete steps below...

  • Added relevant tests
  • Run ruff & mypy
  • All tests pass

…http headers to forward on tool use (eg, X-API-Key)
@erpic
Copy link
Author

erpic commented Jun 29, 2025

please ignore, duplicate of #181

@erpic erpic closed this Jun 29, 2025
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.

1 participant