Skip to content

Conversation

danbarr
Copy link
Collaborator

@danbarr danbarr commented Jul 1, 2025

There's an issue between VS Code and Python-based MCPs built with the FastMCP SDK using Streamable HTTP.

VS Code doesn't handle the 307 redirect from /mcp to /mcp/ like other clients do.

Unfortunately we can't just update ToolHive to add the trailing slash because that breaks other non-FastMCP servers.

Related issues/PRs from the FastMCP/python-sdk repos:

Copy link

vercel bot commented Jul 1, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2025 9:36pm

@danbarr danbarr enabled auto-merge (squash) July 2, 2025 01:16
@danbarr danbarr merged commit 53f3792 into main Jul 2, 2025
5 checks passed
@danbarr danbarr deleted the add-vscode-http-fix branch July 2, 2025 01:45
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