Skip to content

TianshangScribe v0.2.0 — SSE MCP + Zero-Dependency PDF

Choose a tag to compare

@Tianshang301 Tianshang301 released this 29 Jul 16:14
· 117 commits to main since this release

TianshangScribe v0.2.0 — SSE MCP + Zero-Dependency PDF

New Features

SSE MCP Server — Cloud Agent platform ready

  • python -m mcp.server --transport sse --port 8080
  • GET /sse + POST /message — full SSE transport
  • Works with Dify, Coze, FastGPT, Claude Code, Cursor
  • Zero external HTTP deps (pure asyncio + stdlib)
  • 3/3 SSE tests pass

office2pdf PDF Engine — No more LibreOffice dependency

  • Primary engine: office2pdf (~2MB Rust binary, cross-platform)
  • Fallback: LibreOffice headless (high-fidelity)
  • Auto-detection priority chain
  • Covers Word, Excel, PPT — same unified converter
  • Removed docx2pdf (Windows-only, requires MS Word)

Deliverables

File Size Description
tianshang-scribe.exe 34.7 MB Standalone Windows executable
tianshang_scribe-0.2.0-py3-none-any.whl 45 KB Python wheel

Quick Start

# CLI
tianshang-scribe -w --create --math '\frac{a}{b}' -o test.docx

# SSE MCP (cloud Agent platforms)
python -m mcp.server --transport sse --port 8080

# stdio MCP (Claude Code / Cursor)
python -m mcp.server

Quality

  • 160 tests · 3 SSE tests · ruff · mypy · CI (9 matrix)
  • AGENTS.md Phase 2: ~85% complete
  • Apache-2.0 license

Full Changelog

  • SSE HTTP transport for MCP Server (asyncio stdlib, zero deps)
  • office2pdf primary PDF engine (replaces docx2pdf + LibreOffice requirement)
  • --transport sse|stdio with --host/--port for MCP
  • Auto-detection: office2pdf > LibreOffice > error with install instructions
  • CORS support on SSE endpoints
  • Session management with heartbeats
  • Bilingual README updates (Transport Modes section)