docker model runner with backlog.md mcp server #3828

Open
opened 2026-02-16 17:41:36 -05:00 by yindo · 3 comments
Owner

Originally created by @remcocats on GitHub (Dec 24, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

Hi related to this issue with docker model runner.
https://github.com/docker/model-runner/issues/534#issuecomment-3689868587

I have tested some things out and the problem is very specific with a local mcp server.
I don't know if it is something for the docker model runner or for opencode.

When I run a mcp server of backlog mcp start I get the return message of the docker model runner "failed grammer".

see configuration:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "backlog": {
      "type": "local",
      "command": [ "backlog",
        "mcp",
        "start"
      ],
      "enabled": true
    }
  }
}

When I run this configuration I get no error:

"playwright": {
      "type": "local",
      "command": ["docker", "run", "-i", "--rm", "mcp/playwright"],
      "enabled": true
    },
    "context7": {
      "type": "local",
      "command": ["npx", "-y", "@upstash/context7-mcp", "--api-key", "xxxx"],
      "enabled": true
    },

I also going to open up a ticket with backlog.md with the same story.

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @remcocats on GitHub (Dec 24, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description Hi related to this issue with docker model runner. https://github.com/docker/model-runner/issues/534#issuecomment-3689868587 I have tested some things out and the problem is very specific with a local mcp server. I don't know if it is something for the docker model runner or for opencode. When I run a mcp server of backlog mcp start I get the return message of the docker model runner "failed grammer". see configuration: ```json { "$schema": "https://opencode.ai/config.json", "mcp": { "backlog": { "type": "local", "command": [ "backlog", "mcp", "start" ], "enabled": true } } } ``` When I run this configuration I get no error: ```json "playwright": { "type": "local", "command": ["docker", "run", "-i", "--rm", "mcp/playwright"], "enabled": true }, "context7": { "type": "local", "command": ["npx", "-y", "@upstash/context7-mcp", "--api-key", "xxxx"], "enabled": true }, ``` I also going to open up a ticket with backlog.md with the same story. ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bug label 2026-02-16 17:41:36 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 24, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #650: bug: MCP - Invalid JSON Schema when using Docker MCP Gateway
  • #1195: Some docker based MCPs prevent opencode shutdown
  • #829: MCP server failed to start (unstable MCP servers)
  • #3273: MCP client failing makes opencode hang

The error message "failed grammar" and the use of Docker-based MCP servers with local configuration appears to be related to MCP server initialization issues. Feel free to ignore if your specific case with the backlog.md MCP server differs from these existing issues.

@github-actions[bot] commented on GitHub (Dec 24, 2025): This issue might be a duplicate of existing issues. Please check: - #650: bug: MCP - Invalid JSON Schema when using Docker MCP Gateway - #1195: Some docker based MCPs prevent opencode shutdown - #829: MCP server failed to start (unstable MCP servers) - #3273: MCP client failing makes `opencode` hang The error message "failed grammar" and the use of Docker-based MCP servers with local configuration appears to be related to MCP server initialization issues. Feel free to ignore if your specific case with the backlog.md MCP server differs from these existing issues.
Author
Owner

@remcocats commented on GitHub (Dec 24, 2025):

this is not a duplication because it has nothing to do with MCP's running on docker.

@remcocats commented on GitHub (Dec 24, 2025): this is not a duplication because it has nothing to do with MCP's running on docker.
Author
Owner

@remcocats commented on GitHub (Dec 24, 2025):

I have created a issue aswel on the backlog.md issue list see: https://github.com/MrLesk/Backlog.md/issues/465

@remcocats commented on GitHub (Dec 24, 2025): I have created a issue aswel on the backlog.md issue list see: https://github.com/MrLesk/Backlog.md/issues/465
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3828