This is an automated email from the ASF dual-hosted git repository. gongchao pushed a commit to branch feat-streamable-http in repository https://gitbox.apache.org/repos/asf/hertzbeat.git
commit cede99748334ad95d07e354ad460af83c3ae276b Author: tomsun28 <[email protected]> AuthorDate: Sat Dec 6 23:38:12 2025 +0800 feat: support mcp streamable http protocol and upgrade spring ai version Signed-off-by: tomsun28 <[email protected]> --- home/docs/help/mcp_server.md | 12 ++++++------ .../current/help/mcp_server.md | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/home/docs/help/mcp_server.md b/home/docs/help/mcp_server.md index 82ec71cefa..4b3b83ad95 100644 --- a/home/docs/help/mcp_server.md +++ b/home/docs/help/mcp_server.md @@ -2,21 +2,21 @@ id: mcp_server title: MCP Server sidebar_label: MCP Server -keywords: [MCP, SSE, streaming, server] +keywords: [MCP, StreamableHttp, streaming, server] --- -This page explains how connect to the HertzBeat MCP SSE server. The MCP server auto starts on the default port 1157 when you start the HertzBeat server. +This page explains how connect to the HertzBeat MCP server. The MCP server auto starts on the default port 1157 when you start the HertzBeat server. ### Overview -- Provides a Server‑Sent Events (SSE) stream for tool calling. +- Provides Streamable-Http protocol MCP server. - Intended for MCP integrations and clients that consume streaming events. ### Connect to the MCP server Make sure that hertzbeat server is up and running. If you are using any other port than 1157, replace the following accordingly -- URL: `http://localhost:1157/api/sse` +- URL: `http://localhost:1157/api/mcp` ### Authentication @@ -40,7 +40,7 @@ Basic auth: ```json { "Hertzbeat-MCP": { - "url": "http://localhost:1157/api/sse", + "url": "http://localhost:1157/api/mcp", "headers": { "Authorization": "Basic <base64(username:password)>" } @@ -53,7 +53,7 @@ JWT bearer: ```json { "Hertzbeat-MCP": { - "url": "http://localhost:1157/api/sse", + "url": "http://localhost:1157/api/mcp", "headers": { "Authorization": "Bearer <your-jwt-token>" } diff --git a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/mcp_server.md b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/mcp_server.md index 0e04620e19..829392f915 100644 --- a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/mcp_server.md +++ b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/mcp_server.md @@ -2,21 +2,21 @@ id: mcp_server title: MCP 服务器 sidebar_label: MCP 服务器 -keywords: [MCP, SSE, 流式传输, 服务器] +keywords: [MCP, StreamabelHttp, 流式传输, 服务器] --- -本页面介绍如何连接到 HertzBeat MCP SSE 服务器。当您启动 HertzBeat 服务器时,MCP 服务器会自动在默认端口 1157 上启动。 +本页面介绍如何连接到 HertzBeat MCP 服务器。当您启动 HertzBeat 服务器时,MCP 服务器会自动在默认端口 1157 上启动。 ### 概述 -- 提供用于工具调用的服务器发送事件 (SSE) 流。 +- 提供 StreamabelHttp 协议的 MCP服务器。 - 专为 MCP 集成和消费流式事件的客户端而设计。 ### 连接到 MCP 服务器 确保 HertzBeat 服务器已启动并正在运行。如果您使用的端口不是 1157,请相应地替换以下内容: -- URL: `http://localhost:1157/api/sse` +- URL: `http://localhost:1157/api/mcp` ### 身份验证 @@ -40,7 +40,7 @@ keywords: [MCP, SSE, 流式传输, 服务器] ```json { "Hertzbeat-MCP": { - "url": "http://localhost:1157/api/sse", + "url": "http://localhost:1157/api/mcp", "headers": { "Authorization": "Basic <base64(username:password)>" } @@ -53,7 +53,7 @@ JWT Bearer: ```json { "Hertzbeat-MCP": { - "url": "http://localhost:1157/api/sse", + "url": "http://localhost:1157/api/mcp", "headers": { "Authorization": "Bearer <your-jwt-token>" } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
