Skip to content

Feature/use request context #191

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Edison-A-N
Copy link

Describe your changes

Upgrade the mcp package to version >=1.10.1 to utilize the new mcp_server.request_context.request feature. This will allow us to retrieve request information directly from the context.

Issue ticket number and link (if applicable)

#190

Screenshots of the feature / bugfix

Checklist before requesting a review

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

@Edison-A-N Edison-A-N force-pushed the feature/use-request-context branch from 2546f1d to 80f9b44 Compare July 5, 2025 05:27
Copy link

codecov bot commented Jul 13, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
fastapi_mcp/server.py 66.66% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@shahar4499
Copy link
Contributor

@Edison-A-N Nice one. Thanks! Can you add a test for it?

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.

2 participants