Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

CU Chat Server

БесплатноНе проверен

Renders Azure Content Understanding field schema as interactive table cards in VS Code Chat, enabling editing and persistence of field descriptions.

GitHubEmbed

Описание

Renders Azure Content Understanding field schema as interactive table cards in VS Code Chat, enabling editing and persistence of field descriptions.

README

A local MCP (Model Context Protocol) server that renders Azure Content Understanding (CU) field schema as an interactive table card directly inside VS Code Chat, using the MCP Apps extension (SEP-1865).

Features

  • Renders CU field schema as a CU Studio–style table: Value Type / Method dropdowns, Source & Confidence checkbox, header info icons, truncated descriptions.
  • Interactive: edit a field's description in the card; the edit is persisted back to the server (via callServerTool) and survives re-renders.
  • Self-contained MCP App HTML bundle (esbuild), served over stdio.

Project structure

  • server.mjs — MCP server: tool + UI resource registration, in-memory persistence.
  • view/main.mjs — View logic: table rendering, editing, pulling latest from server.
  • view/template.html — View HTML skeleton + styles.
  • build.mjs — esbuild script that bundles the View into dist/mcp-app.html.
  • data/sample-field-schema.json — sample CU field schema (13 fields).
  • test-smoke.mjs — smoke test that verifies the MCP protocol without VS Code.

Setup

npm install
npm run build

Register in VS Code

Add to your user mcp.json (Command Palette → "MCP: Open User Configuration"):

{
  "servers": {
    "cu-schema-viewer": {
      "type": "stdio",
      "command": "node",
      "args": ["<absolute-path>/server.mjs"]
    }
  }
}

Restart the server (Command Palette → "MCP: List Servers" → cu-schema-viewer → Restart), then in Agent mode invoke the render_cu_schema tool.

Tools

  • render_cu_schema — render the CU field schema table.
    • schemaPath (optional): absolute path to a JSON file with fieldSchema.fields.
    • fieldSchema (optional): inline fieldSchema object.
  • update_field_description (UI-only) — persists an edited field description.

Gotcha: MCP Apps ui:// authority must equal the server name

VS Code routes UI resource requests by the authority segment of the ui:// URI. It must equal the server name in mcp.json, otherwise VS Code never sends resources/read and the card won't render (you only get text output). This server uses ui://cu-schema-viewer/schema to match the server name cu-schema-viewer.

from github.com/changjian-wang/mcp-cu-chat-server

Установка CU Chat Server

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/changjian-wang/mcp-cu-chat-server

FAQ

CU Chat Server MCP бесплатный?

Да, CU Chat Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для CU Chat Server?

Нет, CU Chat Server работает без API-ключей и переменных окружения.

CU Chat Server — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить CU Chat Server в Claude Desktop, Claude Code или Cursor?

Открой CU Chat Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare CU Chat Server with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории communication