Skip to content

Unclear MCP error #4418

@jcubic

Description

@jcubic

Description

When MCP return an error, there is a cryptic error. You have no idea which MCP is throwing an error. And it disappears so fast that you can't even copy the error message to report a bug.

OpenCode version

0.15.31

Steps to reproduce

This is my config:

{
  "$schema": "https://opencode.ai/config.json",
  "keybinds": {
    "session_child_cycle": "none",
    "session_child_cycle_reverse": "none"
  },
  "permission": {
    "bash": {
      "*": "allow",
      "sudo *": "ask",
      "git *": "ask",
      "git checkout *": "allow",
      "git status*": "allow",
      "git diff*": "allow",
      "git log*": "allow",
      "git show*": "allow",
      "git branch*": "allow",
      "git remote -v *": "allow",
      "git ls-files*": "allow"
    }
  },
  "mcp": {
    "context7": {
      "type": "remote",
      "url": "https://mcp.context7.com/mcp",
      "headers": {
        "CONTEXT7_API_KEY": "..."
      },
      "enabled": true
    },
    "DeepWiki": {
      "type": "remote",
      "url": "https://mcp.deepwiki.com/mcp",
      "enabled": true
    },
    "chrome-devtools": {
      "type": "local",
      "command": ["npx", "-y", "chrome-devtools-mcp@latest"],
      "enabled": true
    },
    "Better Auth": {
      "type": "remote",
      "url": "https://mcp.chonkie.ai/better-auth/better-auth-builder/mcp",
      "enabled": true
    },
    "chakra-ui": {
      "type": "local",
      "command": ["npx", "-y", "@chakra-ui/react-mcp"],
      "enabled": true
    },
    "playwright": {
      "type": "local",
      "command": ["npx", "-y", "@playwright/mcp@latest"],
      "enabled": true
    },
    "github": {
      "type": "remote",
      "url": "https://api.githubcopilot.com/mcp/",
      "enabled": true
    }
  }
}

Screenshot and/or share link

I don't have a screenshot, the error appears for a split second. You can't even read the message.

Operating System

Fedora 43

Terminal

xfce terminal (VTE)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions