Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Bug]:Can't use STREAMABLEHTTPΒ #213

@andreas-ibm

Description

@andreas-ibm

🐞 Bug Summary

Tried connecting to the Everything Example MCP Server in stramableHttp mode and get:

1 validation error for ToolCreate
request_type
Input should be 'GET', 'POST', 'PUT', 'DELETE', 'SSE', 'STDIO' or 'STREAMABLEHTTP' [type=literal_error, input_value='STREAMABLE', input_type=str]
For further information visit https://errors.pydantic.dev/2.11/v/literal_error

it appears it doesn't like STREAMABLE request type. alas I'm running in container so I can't submit a fix... Running from git i got startup errors...


🧩 Affected Component

Select the area of the project impacted:

I'm not sure, sorry!

  • mcpgateway - API
  • mcpgateway - UI (admin panel)
  • mcpgateway.wrapper - stdio wrapper
  • Federation or Transports
  • CLI, Makefiles, or shell scripts
  • Container setup (Docker/Podman/Compose)
  • Other (explain below)

πŸ” Steps to Reproduce

Run Everything server:

npx @modelcontextprotocol/server-everything streamableHttp

Try adding it as a tool in the gateway

  1. Name: Everything
  2. URL: http://localhost:3001/mcp
  3. Description: ``
  4. Integration Type: MCP
  5. Request Type: STREAMABLE
  6. Headers: ``
  7. Input Schema: Left blank
  8. Json Path filter: ``
  9. Authenticatin Type@ Non

Click Add Tool and then get error

πŸ€” Expected Behavior

What should have happened instead?

successful connection


πŸ““ Logs / Error Output

Paste any relevant stack traces or logs here.
⚠️ Do not paste secrets, credentials, or tokens.

ERROR:mcpgateway:Error in admin_add_tool: 1 validation error for ToolCreate
request_type
  Input should be 'GET', 'POST', 'PUT', 'DELETE', 'SSE', 'STDIO' or 'STREAMABLEHTTP' [type=literal_error, input_value='STREAMABLE', input_type=str]
    For further information visit https://errors.pydantic.dev/2.11/v/literal_error
9.38.174.74:55224 - "POST /admin/tools HTTP/1.1" 500

🧠 Environment Info

You can retrieve most of this from the /version endpoint.

Key Value
Version or commit latest container
Runtime gunicorn 23.0.0
Platform / OS RedHat 9.6
Container Podman

🧩 Additional Context (optional)

Add any configuration details, flags, or related issues.

Metadata

Metadata

Assignees

Labels

awaiting-userWaiting for user feedback / retestingbugSomething isn't working

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions