Skip to content

fix(slackbot): use MCPServerStreamableHTTP for FastMCP.app#1271

Merged
zzstoatzz merged 1 commit intomainfrom
fix/slackbot-mcp-transport
Jan 9, 2026
Merged

fix(slackbot): use MCPServerStreamableHTTP for FastMCP.app#1271
zzstoatzz merged 1 commit intomainfrom
fix/slackbot-mcp-transport

Conversation

@zzstoatzz
Copy link
Copy Markdown
Collaborator

Summary

FastMCP.app uses streamable HTTP transport (POST-based), not SSE (GET-based). The previous MCPServerHTTP was returning 405 Method Not Allowed.

Fix

MCPServerHTTPMCPServerStreamableHTTP

🤖 Generated with Claude Code

FastMCP.app uses streamable HTTP transport (POST-based), not SSE (GET-based).
MCPServerHTTP was returning 405 Method Not Allowed.
Copilot AI review requested due to automatic review settings January 9, 2026 17:39
@zzstoatzz zzstoatzz merged commit 95aeaa8 into main Jan 9, 2026
7 checks passed
@zzstoatzz zzstoatzz deleted the fix/slackbot-mcp-transport branch January 9, 2026 17:41
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a 405 Method Not Allowed error in the slackbot example by switching from MCPServerHTTP to MCPServerStreamableHTTP. FastMCP.app uses POST-based streamable HTTP transport rather than GET-based SSE, requiring the correct transport class.

Key Changes

  • Updated MCP server import to use MCPServerStreamableHTTP
  • Changed the slack_search_mcp instantiation to use the correct transport class

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants