Skip to content

MCP协议兼容性问题 #32

@cool-chill

Description

@cool-chill

当前MCP非标准实现,接入AI客户端工具会报错

2026-04-30T01:30:33.106974Z  INFO ddddocr: ocr enabled successfully
2026-04-30T01:30:33.185164Z  INFO ddddocr: det enabled successfully
2026-04-30T01:30:33.186753Z  INFO ddddocr: slide enabled successfully
2026-04-30T01:30:33.186827Z  INFO ddddocr: mcp enabled successfully
2026-04-30T01:30:33.189419Z  INFO salvo_core::server: listening [HTTP/1.1] on http://127.0.0.1:6686
2026-04-30T01:30:37.967416Z  INFO Request{remote_addr=socket://127.0.0.1:60647 version=HTTP/1.1 method=POST path=http://127.0.0.1:6686/mcp}: salvo_extra::logging: Response status=200 OK duration=81.8µs
2026-04-30T01:30:37.969740Z  INFO Request{remote_addr=socket://127.0.0.1:60647 version=HTTP/1.1 method=POST path=http://127.0.0.1:6686/mcp}: salvo_extra::logging: Response status=400 Bad Request duration=20.9µs error=StatusError { code: 400, name: "Bad Request", brief: "parse http data failed.", detail: None, cause: Some(SerdeJson(Error("missing field `id`", line: 1, column: 54))), origin: None }
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions