Skip to content

[Bug] MCP Server RangeError: Maximum call stack size exceeded #2984

@TraceIvan

Description

@TraceIvan

Contact Information

No response

MaxKB Version

v1.10.6

Problem Description

AI对话组件调用MCP时,报错:RangeError: Maximum call stack size exceeded

Steps to Reproduce

启动HowToCook-MCP Server

npm i -g howtocook-mcp
npx -y supergateway --stdio 'npx -y howtocook-mcp' --port 10833

新建工作流,添加AI对话组件,启用MCP服务:

{
	"mcp-server-cook": 
  {
		"url": "http://host.docker.internal:10833/sse",
		"transport": "sse"
	}
}

选择智谱glm-4-flash模型,调试报错:

Image

The expected correct result

No response

Related log output

Additional Information

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions