Skip to content

[BUG] "Hosted mode requires HTTPS" error when using local MCP server with custom provider #2292

@reBirthLab

Description

@reBirthLab

Issue

When using a any model provider, any prompt in the playground chat throws "An error occurred: Hosted mode requires HTTPS server URLs"

How to reproduce

  1. Run MCPJam Inspector locally using npx -y @mcpjam/inspector@latest (currently v2.6.1)
  2. Configure a provider in Settings > Organisation Models
  3. Configure connection to a local MCP server on e.g. http://localhost:8080/mcp
  4. Connect to the local MCP server
  5. Go to Playground
  6. Select a model from Your providers section
  7. Send any prompt
  8. See "An error occurred: Hosted mode requires HTTPS server URLs"

Expected Behaviour

MCP server replies

Platform

  • npx

Additional Context

Everything works fine with free models though.
I fell back to version 2.5.0 because of the issue where the exact same custom provider configuration still works correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions