• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

peteretelej / md-server / 21011227154
96%

Build:
DEFAULT BRANCH: main
Ran 14 Jan 2026 09:54PM UTC
Jobs 1
Files 28
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Jan 2026 09:53PM UTC coverage: 95.632% (+1.3%) from 94.378%
21011227154

push

github

web-flow
md-server MCP Server Improvements (#10)

* mcp: default to markdown output format

Most AI tools use markdown as the default format. Since md-server
converts everything to markdown it makes zero sense for our mcp to
then return json.
- Adds output_format param to opt-in to json if needed

* mcp: expose max_length,timeout,include_frontmatter options

md-server allows clients to customize behavior but the mcp api only
exposes `render_js`. Allow more options

* mcp: add max_token option to control token usage

Website output can be very large, context is expensive. This adds an
option `max_tokens` that LLMs can use to limit the output autonomously.
Token counts are more conventional vs character counts.
- Uses tiktoken to estimate token count

* mcp: support structural truncation - sections,paragraphs

Allow markdown-aware truncation eg first n paragraphs
- truncate_mode option - chars, tokens, sections, paragraphs
- truncate_limit option

* mcp: markdown aware truncation

* mcp: add trunctation metadata

* mcp: rename content as markdown field

* mcp: cleanup parsed titles

* testing: Use parameterized tests

* docs: document mcp usage

* bump up version

212 of 215 branches covered (98.6%)

Branch coverage included in aggregate %.

1408 of 1479 relevant lines covered (95.2%)

0.95 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
10
86.49
0.77% mcp/server.py
10
88.3
2.05% metadata/extractor.py
28
90.91
3.97% core/converter.py
Jobs
ID Job ID Ran Files Coverage
1 21011227154.1 14 Jan 2026 09:54PM UTC 28
95.63
GitHub Action Run
Source Files on build 21011227154
  • Tree
  • List 28
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #21011227154
  • 4be85531 on github
  • Prev Build on main (#21011127660)
  • Next Build on main (#21071338612)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc