Get Hedhog updates in your inbox
New releases, fresh recipes, and breaking changes — no spam.
Core Submodule
mcp-chat
Manages MCP-backed chat conversations and message execution.
Source path: libraries/core/src/mcp-chat
Module file: mcp-chat.module.ts
Introduction
This page documents the mcp-chat submodule as part of the Core package. Use it as a quick technical reference for implementation scope, exposed APIs and MCP integration points.
HTTP Endpoints
6 endpoints
List chat conversations for the current user.
- Query
- page, pageSize
Create a new chat conversation.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
| title | string | no | — |
Delete one or more chat conversations.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
| ids | number[] | yes | IDs to delete |
Get messages in a conversation.
- Params
- id (int)
- Query
- page, pageSize
Send a message and receive the AI response.
- Params
- id (int)
Body
| Field | Type | Required | Notes |
|---|---|---|---|
| message | string | yes | — |
Send a message and receive the AI response as a server-sent events stream.
- Params
- id (int)
Body
| Field | Type | Required | Notes |
|---|---|---|---|
| message | string | yes | — |
MCP Tools
Named tools callable by AI models via the Model Context Protocol (MCP).
core.mcp-chat.conversations.listList AI conversations for the current user
core.mcp-chat.conversations.createStart a new AI conversation
core.mcp-chat.conversations.deleteDelete one or more conversations
core.mcp-chat.messages.listList messages within a specific conversation
core.mcp-chat.messages.sendSend a message in a conversation and receive an AI response stream