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: eJydU8Fu2zAM/RWCpw1wnKTrhs23rtihwLIVzXYqglaVmFiYLKkS7TYL/O8DbQ9rG/Sykw1Reu+Rj++ArHYZq2tsdMRNgYayTjayDR4rXJM30FDOakfAAbgmWJ1fAnkTrOcCtiGBgp3tyEOmnG3wJRYYIiUlGBcGK4G+oY48Y4FRJdUQUxLSA3rVEFY4Pb0wWKAV4vuW0h4LTHTf2kQGK04t9Rs5yTH4TBmrA54sTuTzXPRq0qu0pshkSria3sCDdQ4yJ1INdFbBev2lxL7A08XpMc56FAU+MGxD600J3wIozbajv80OA5CpjCO4nY5vrLkdgZfvjoEv1d4FZYBDAKfSjkpYqUfbtA0o58IDGcj2N4HNcLr6POC8XyyOcS48U/LKQabUUQJKKaQSzjy0nh4jaSYDNueWIGjdpkSmxL4vsCGugzgTQx5N4RornHfLeaPjPGfCAkfQ0aY2OaywZo7VfO6CVq4OmauPi08LfLkzX6UMhjpyITbkeZJXwnnwW7trk/jANdzOZoIog9oInW6T5f3Ap6K9+UXyv5Ga9dsg7bNlJ+uSWs+2oSPqHzVBjlaTgX9XnNXkM8n7advOotI1zU5KEW8NebZbS+l5pS9Q2h+Bl+WHcjFrfWZ150hqMrlG+SeoL7MiORk7f6nzgDp4ljz8f8J4H4WU6ZHn0SnrRdRg02Gy8xq7JRZDrgsUSzcFimtSORzuVKafyfW9HI9pk8G/qvPN1ZTEt/Aa+2DYsyh3yrVybzC4U8kO0xNTn+zg5ff1D+z7P8NmirY=
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: eJydU8Fu2zAM/RWCpw1wnKTrhs23rtihwLIVzXYqglaVmFiYLKkS7TYL/O8DbQ9rG/Sykw1Reu+Rj++ArHYZq2tsdMRNgYayTjayDR4rXJM30FDOakfAAbgmWJ1fAnkTrOcCtiGBgp3tyEOmnG3wJRYYIiUlGBcGK4G+oY48Y4FRJdUQUxLSA3rVEFY4Pb0wWKAV4vuW0h4LTHTf2kQGK04t9Rs5yTH4TBmrA54sTuTzXPRq0qu0pshkSria3sCDdQ4yJ1INdFbBev2lxL7A08XpMc56FAU+MGxD600J3wIozbajv80OA5CpjCO4nY5vrLkdgZfvjoEv1d4FZYBDAKfSjkpYqUfbtA0o58IDGcj2N4HNcLr6POC8XyyOcS48U/LKQabUUQJKKaQSzjy0nh4jaSYDNueWIGjdpkSmxL4vsCGugzgTQx5N4RornHfLeaPjPGfCAkfQ0aY2OaywZo7VfO6CVq4OmauPi08LfLkzX6UMhjpyITbkeZJXwnnwW7trk/jANdzOZoIog9oInW6T5f3Ap6K9+UXyv5Ga9dsg7bNlJ+uSWs+2oSPqHzVBjlaTgX9XnNXkM8n7advOotI1zU5KEW8NebZbS+l5pS9Q2h+Bl+WHcjFrfWZ150hqMrlG+SeoL7MiORk7f6nzgDp4ljz8f8J4H4WU6ZHn0SnrRdRg02Gy8xq7JRZDrgsUSzcFimtSORzuVKafyfW9HI9pk8G/qvPN1ZTEt/Aa+2DYsyh3yrVybzC4U8kO0xNTn+zg5ff1D+z7P8NmirY=
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