Skip to content

opencode 调用 mcp Error message: JSON Parse error: Expected '}'] #14999

@qiqingzhixin

Description

@qiqingzhixin

Description

Image 调用空的mcp 接口直接报错。 Image

Plugins

没有

OpenCode version

1.2.11

Steps to reproduce

  1. 让大模型创建一个mcp空接口
  2. 重启opencode
  3. 让大模型调用这个空接口

Screenshot and/or share link

No response

Operating System

ubuntu

Terminal

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions