1---
2id: mcp-event
3title: "Send message to MCP server"
4description: "Send message to the MCP endoint, for a given session."
5sidebar_label: "Send message to MCP server"
6hide_title: true
7hide_table_of_contents: true
8api: eJydU01v2zAM/SsETxvgOh/rgNW3rtihwLIVTXcqglaTmFiYLKkS7TYL/N8H2h7WNuhlJxuk+PjIx3dAVruM1S02OuKmQENZJxvZBo8VrskbaChntSPgAFwTrC6ugLwJ1nMB25BAwc525CFTzjb4EgsMkZISjEuDlUDfUUeescCokmqIKUnTA3rVEFY4lV4aLNBK44eW0h4LTPTQ2kQGK04t9RuJ5Bh8pozVAZfzpXxekl5NfJXWFJlMCddTDTxa5yBzItVAZxWs119K7As8nZ8e46xHUuADwza03pTwLYDSbDv6O+ywANnKuIL7KXxnzf0IvPhwDHyl9i4oAxwCOJV2VMJKPdmmbUA5Fx7JQLa/CWyG09XnAefjfH6Mc+mZklcOMqWOElBKIZVw7qH19BRJMxmwObcEQes2JTIl9n2BDXEdRJkY8igK11jhrFvMGh1nORMWOIKOMrXJYYU1c6xmMxe0cnXIXH2an83x9c18lTQY6siF2JDniV4JF8Fv7a5NogPXcH9yIoiyqI20022yvB/6qWjvfpH8byRn/TbI+GzZybmk1rNt6Kj1TU2Qo9Vk4N8TZzX5TFI/Xdt5VLqmk2Up5K0hz3ZrKb3M9AXK+CPwojwrlxKShTXKPwN7bRGxxzjwa3oH1MGz2OD/jcX7KE2ZnngWnbJeSA3qHCYVb7FbYDHYuUBRclOgiCWZw+GnyvQjub6X8Ggy2febPN9dTwZ8D291H3R64eBOuVbeDbp2Kln1U2S73Tw/vavv6xvs+z9EHIcw
9sidebar_class_name: "post api-method"
10info_path: docs/api/HTTP/runtime
11custom_edit_url: null
12proxy: http://localhost:8090
13---
14
15import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
16import ParamsDetails from "@theme/ParamsDetails";
17import RequestSchema from "@theme/RequestSchema";
18import StatusCodes from "@theme/StatusCodes";
19import OperationTabs from "@theme/OperationTabs";
20import TabItem from "@theme/TabItem";
21import Heading from "@theme/Heading";
22
23<Heading
24 as={"h1"}
25 className={"openapi__heading"}
26 children={"Send message to MCP server"}
27>
28</Heading>
29
30<MethodEndpoint
31 method={"post"}
32 path={"/v1/mcp/sse"}
33 context={"endpoint"}
34>
35
36</MethodEndpoint>
37
38
39
40Send message to the MCP endoint, for a given session.
41
42<Heading
43 id={"request"}
44 as={"h2"}
45 className={"openapi-tabs__heading"}
46 children={"Request"}
47>
48</Heading>
49
50<ParamsDetails
51 parameters={[{"name":"sessionId","in":"query","required":true}]}
52>
53
54</ParamsDetails>
55
56<RequestSchema
57 title={"Body"}
58 body={undefined}
59>
60
61</RequestSchema>
62
63<StatusCodes
64 id={undefined}
65 label={undefined}
66 responses={{"202":{"description":"Message accepted. Response will stream via SSE."},"404":{"description":"Session not found. No active session for the given `session_id`."},"413":{"description":"Payload too large. Maximum allowed size is 4MB."},"500":{"description":"Internal server error. An unexpected issue occurred."}}}
67>
68
69</StatusCodes>
70
71
72
1---
2id: mcp-event
3title: "Send message to MCP server"
4description: "Send message to the MCP endoint, for a given session."
5sidebar_label: "Send message to MCP server"
6hide_title: true
7hide_table_of_contents: true
8api: eJydU01v2zAM/SsETxvgOh/rgNW3rtihwLIVTXcqglaTmFiYLKkS7TYL/N8H2h7WNuhlJxuk+PjIx3dAVruM1S02OuKmQENZJxvZBo8VrskbaChntSPgAFwTrC6ugLwJ1nMB25BAwc525CFTzjb4EgsMkZISjEuDlUDfUUeescCokmqIKUnTA3rVEFY4lV4aLNBK44eW0h4LTPTQ2kQGK04t9RuJ5Bh8pozVAZfzpXxekl5NfJXWFJlMCddTDTxa5yBzItVAZxWs119K7As8nZ8e46xHUuADwza03pTwLYDSbDv6O+ywANnKuIL7KXxnzf0IvPhwDHyl9i4oAxwCOJV2VMJKPdmmbUA5Fx7JQLa/CWyG09XnAefjfH6Mc+mZklcOMqWOElBKIZVw7qH19BRJMxmwObcEQes2JTIl9n2BDXEdRJkY8igK11jhrFvMGh1nORMWOIKOMrXJYYU1c6xmMxe0cnXIXH2an83x9c18lTQY6siF2JDniV4JF8Fv7a5NogPXcH9yIoiyqI20022yvB/6qWjvfpH8byRn/TbI+GzZybmk1rNt6Kj1TU2Qo9Vk4N8TZzX5TFI/Xdt5VLqmk2Up5K0hz3ZrKb3M9AXK+CPwojwrlxKShTXKPwN7bRGxxzjwa3oH1MGz2OD/jcX7KE2ZnngWnbJeSA3qHCYVb7FbYDHYuUBRclOgiCWZw+GnyvQjub6X8Ggy2febPN9dTwZ8D291H3R64eBOuVbeDbp2Kln1U2S73Tw/vavv6xvs+z9EHIcw
9sidebar_class_name: "post api-method"
10info_path: docs/api/HTTP/runtime
11custom_edit_url: null
12proxy: http://localhost:8090
13---
14
15import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
16import ParamsDetails from "@theme/ParamsDetails";
17import RequestSchema from "@theme/RequestSchema";
18import StatusCodes from "@theme/StatusCodes";
19import OperationTabs from "@theme/OperationTabs";
20import TabItem from "@theme/TabItem";
21import Heading from "@theme/Heading";
22
23<Heading
24 as={"h1"}
25 className={"openapi__heading"}
26 children={"Send message to MCP server"}
27>
28</Heading>
29
30<MethodEndpoint
31 method={"post"}
32 path={"/v1/mcp/sse"}
33 context={"endpoint"}
34>
35
36</MethodEndpoint>
37
38
39
40Send message to the MCP endoint, for a given session.
41
42<Heading
43 id={"request"}
44 as={"h2"}
45 className={"openapi-tabs__heading"}
46 children={"Request"}
47>
48</Heading>
49
50<ParamsDetails
51 parameters={[{"name":"sessionId","in":"query","required":true}]}
52>
53
54</ParamsDetails>
55
56<RequestSchema
57 title={"Body"}
58 body={undefined}
59>
60
61</RequestSchema>
62
63<StatusCodes
64 id={undefined}
65 label={undefined}
66 responses={{"202":{"description":"Message accepted. Response will stream via SSE."},"404":{"description":"Session not found. No active session for the given `session_id`."},"413":{"description":"Payload too large. Maximum allowed size is 4MB."},"500":{"description":"Internal server error. An unexpected issue occurred."}}}
67>
68
69</StatusCodes>
70
71
72