Logotipo Hedhog

Get Hedhog updates in your inbox

New releases, fresh recipes, and breaking changes — no spam.

Back to Core modulesWired in CoreModule

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

FieldTypeRequiredNotes
titlestringno

Delete one or more chat conversations.

Body

FieldTypeRequiredNotes
idsnumber[]yesIDs 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

FieldTypeRequiredNotes
messagestringyes

Send a message and receive the AI response as a server-sent events stream.

Params
id (int)

Body

FieldTypeRequiredNotes
messagestringyes

MCP Tools

Named tools callable by AI models via the Model Context Protocol (MCP).

  • core.mcp-chat.conversations.list

    List AI conversations for the current user

  • core.mcp-chat.conversations.create

    Start a new AI conversation

  • core.mcp-chat.conversations.delete

    Delete one or more conversations

  • core.mcp-chat.messages.list

    List messages within a specific conversation

  • core.mcp-chat.messages.send

    Send a message in a conversation and receive an AI response stream