---
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.

## 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-06-02** `0f3e8eee80d3` — 1 info
  - endpoint added
- **2025-05-16** `233f1c3dbf8d` — 1 breaking
  - api path removed without deprecation
- **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/321f6d738545?raw)
