Skip to content
Conduit

mcp server

markkit

Agentic-first Markdown processing service. Convert Markdown to HTML, HTML to Markdown, extract plain text, generate table of contents, and get document statistics. Plain text API, agent-driven, single

relentlessworks/markkitcommunitylistedunreviewed

Set up

Runs on your computer. Pick your agent and operating system.

This project does not publish an install method we can turn into a config. Follow the README instead.

README

synced Oct 23, 2026

markkit

Agentic-first Markdown processing service. Convert Markdown to HTML, HTML to Markdown, extract plain text, generate table of contents, and get document statistics. Plain text API, agent-driven, single Go binary.

Quick Start

# Build
make build

# Run
./markkit

# Convert Markdown to HTML
curl -X POST localhost:8470/render -d '# Hello World'

# Extract plain text
curl -X POST localhost:8470/extract -d '**bold** and `code`'

# Generate table of contents
curl -X POST localhost:8470/toc -d '# Title
## Section
### Sub'

# Get document statistics
curl -X POST localhost:8470/stats -d '# Hello

Some text here.'

# Convert HTML to Markdown
curl -X POST localhost:8470/html2md -d '<h1>Title</h1><p>Text</p>'

# Get help
curl localhost:8470/help

API Reference

MethodPathDescription
POST/renderConvert Markdown to HTML
POST/extractExtract plain text from Markdown
POST/tocGenerate table of contents
POST/statsGet document statistics
POST/html2mdConvert HTML to Markdown
POST/mcpMCP (Model Context Protocol) endpoint
GET/helpOperating manual for agents
GET/.well-known/agent.mdSame as /help

Response Formats

  • Plain text by default (one labeled line per record)
  • JSON via Accept: application/json header or ?format=json query param
  • Errors: error: message | hint: what to do next

Configuration

Env VarFlagDefaultDescription
MARKKIT_ADDR-addr:8470Listen address
MARKKIT_SECRET-secretautoToken signing secret

Principles

  • Agent IS the interface — No UI, no SDK. The API is the product.
  • Plain text by default — Token-cheap, grepable, survives context truncation.
  • Instructive errors — Every 4xx includes a hint for self-correction.
  • Self-documenting — GET /help returns the operating manual.
  • Single static binary — Go, CGO_ENABLED=0, zero external dependencies.
  • Zero config — Runs out of the box with sensible defaults.
  • MCP connector — Speaks Model Context Protocol at /mcp.

License

MIT

↑↓ navigate openesc close