Skip to content

MCP tools from Z.ai give an error #318

@Zriel88

Description

@Zriel88

Summary

MCP tools from Z.ai give an error.
Same settings work on MCP Inspector online (I'm able to connect and browse the tools)
https://mcp.ziziyi.com/inspector

[[defaults.mcp]]
name = "web-search-prime"
transport = "http"
url = "https://api.z.ai/api/mcp/web_search_prime/mcp"
headers = { "Authorization" = "Bearer XXXXX.XXXXX" }

https://docs.z.ai/devpack/mcp/search-mcp-server

2026-03-04T16:03:10.400310Z ERROR rmcp::transport::common::reqwest::streamable_http_client: message=unexpected content type: None
2026-03-04T16:03:10.400349Z ERROR rmcp::transport::worker: message=worker quit with fatal: Unexpected content type: None, when send initialized notification
2026-03-04T16:03:10.400372Z WARN spacebot::mcp: message=failed to reconnect mcp server after config reloadserver=web-search-primeerror=failed to initialize mcp server 'web-search-prime'
2026-03-04T16:03:12.258130Z ERROR rmcp::transport::common::reqwest::streamable_http_client: message=unexpected content type: None
2026-03-04T16:03:12.258175Z ERROR rmcp::transport::worker: message=worker quit with fatal: Unexpected content type: None, when send initialized notification
2026-03-04T16:03:12.258201Z WARN spacebot::mcp: message=mcp connection failed, retryingserver=web-search-primeattempt=1max_attempts=12error=failed to initialize mcp server 'web-search-prime'retry_in_secs=5
2026-03-04T16:03:12.268595Z ERROR rmcp::transport::common::reqwest::streamable_http_client: message=unexpected content type: None
2026-03-04T16:03:12.268630Z ERROR rmcp::transport::worker: message=worker quit with fatal: Unexpected content type: None, when send initialized notification
2026-03-04T16:03:12.268779Z WARN spacebot::mcp: message=failed to connect unchanged mcp serverserver=web-search-primeerror=failed to initialize mcp server 'web-search-prime'
2026-03-04T16:03:12.278817Z ERROR rmcp::transport::common::reqwest::streamable_http_client: message=unexpected content type: None
2026-03-04T16:03:12.278849Z ERROR rmcp::transport::worker: message=worker quit with fatal: Unexpected content type: None, when send initialized notification
2026-03-04T16:03:12.278876Z WARN spacebot::mcp: message=failed to reconnect mcp server after config reloadserver=web-search-primeerror=failed to initialize mcp server 'web-search-prime'
2026-03-04T16:03:14.674518Z ERROR rmcp::transport::common::reqwest::streamable_http_client: message=unexpected content type: None
2026-03-04T16:03:14.674518Z ERROR rmcp::transport::common::reqwest::streamable_http_client: message=unexpected content type: None
2026-03-04T16:03:14.674575Z ERROR rmcp::transport::worker: message=worker quit with fatal: Unexpected content type: None, when send initialized notification
2026-03-04T16:03:14.674600Z ERROR rmcp::transport::worker: message=worker quit with fatal: Unexpected content type: None, when send initialized notification

Metadata

Metadata

Assignees

No one assigned

    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