Taxonomy
MCP server

MCP server

Overview of the DTPR MCP server — endpoint, tools, resources, prompts, envelope semantics.

The DTPR MCP server exposes the DTPR schema, datachain validation, datachain rendering, icon URL resolution, and the DTPR Agent Skills as Model Context Protocol tools, resources, and prompts. It is hosted at:

POST https://api.dtpr.io/mcp

It implements a read-only subset of the MCP Streamable HTTP transport (spec version 2025-06-18) plus MCP Apps (SEP-1865) for the render flow.

In this section

  • Connecting — endpoint, mcp-session-id header, wire format, batching.
  • Envelopeok / err payloads, _meta.content_hash, soft-failure semantics.
  • Resources — the ui://dtpr/datachain/view.html MCP App resource.
  • Tools — the 9-tool registry, one page each.
  • Prompts — the seven DTPR Agent Skills plus their reference documents, served as MCP prompts so any MCP-aware harness can load them without a Claude-specific install.

Tools at a glance

ToolPurpose
list_schema_versionsDiscover available schema releases and aliases.
get_schemaManifest for a single schema version.
list_categoriesCategories within a schema version.
list_elementsPaginated element list with filters.
get_elementSingle element with icon variants + symbol.
get_elementsBulk fetch, up to 100 element ids.
validate_datachainValidate a datachain instance; soft-failure.
render_datachainRender a datachain + hand off to an iframe via resources/read.
get_icon_urlResolve a composed-icon SVG URL.

All tools share the same envelope shape.