---
title: "Send message to MCP server"
method: POST
path: "/v1/mcp/event"
tags: ["mcp"]
---

# Send message to MCP server

`POST /v1/mcp/event`

Send message to the MCP endoint, for a given session.

## Query parameters

- `sessionId` string, required

## Response `202`

Message accepted. Response will stream via SSE.

## Other responses

- `404` — Session not found. No active session for the given `session_id`.
- `413` — Payload too large. Maximum allowed size is 4MB.
- `500` — Internal server error. An unexpected issue occurred.

## Changes

- **2025-03-18** `dd94571fef79` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/spiceai/apis/runtime/changes/v1/mcp/event/post.md)

---

[API](https://skmtc.dev/spiceai/apis/runtime.md) · [All operations](https://skmtc.dev/spiceai/apis/runtime/llms.txt) · [OpenAPI document](https://skmtc.dev/spiceai/apis/runtime/revisions/dd94571fef79?raw)
