Skip to content

Docker - local llm with mcp , mcp tools using https instead of stdio #6943

@rksharma1401

Description

@rksharma1401

Before submitting your bug report

Relevant environment info

- OS: MAC
- Continue version: Latest
- IDE version: latest
- Model:
- config:
  
name: Local Assistant
version: 1.0.0
schema: v1
models:
  - name: llama3.2:1B-Q4_0
    model: ai/llama3.2:1B-Q4_0
    provider: openai
    apiBase: http://localhost:12434/engines/v1
    roles:
      - chat
      - edit
      - apply
      - autocomplete
    capabilities:
      - tool_use
context:
  - provider: code
  - provider: docs
  - provider: diff
  - provider: terminal
  - provider: problems
  - provider: folder
  - provider: codebase
  - provider: mcp
mcpServers:
  - name: mcp_docker
    command: docker
    args:
      - mcp
      - gateway
      - run
    env:
      MONGO_URL: mongodb://localhost:27017
  
  OR link to assistant in Continue hub:

Description

When calling any mcp tools
i am getting below error

Error getting context items from mcp-mcp_docker: McpError: MCP error -32603: MCP error -32603: Failed to read resource: Error: HTTP protocol is not allowed when skipTLSVerify is not set or false

, same mcp tools works fine with github copilot

To reproduce

install docker desktop ,
enable beta features models, mcp toolkit
run any llm and select any mcp servers
use above config file to connect and the call any mcp server

Log output

notificationsAlerts.ts:42 Error getting context items from mcp-mcp_docker: McpError: MCP error -32603: MCP error -32603: Failed to read resource: Error: HTTP protocol is not allowed when skipTLSVerify is not set or false

Metadata

Metadata

Labels

area:mcpRelates to Model Context Protocol (MCP)kind:bugIndicates an unexpected problem or unintended behavioros:macHappening specifically on Mac

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions