InkPaw
An MCP server and deterministic DOCX toolkit for AI agents—create, edit, validate, and render reliable Word documents with a local agent playground.
Install / Use
claude mcp add syouro -- npx -y github:syouro/InkPawIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AutomationSupported Platforms
Tags
Our assessment of InkPaw
InkPaw scores 81/100 on our quality scale, 628th of 1,008 Automation skills we index.
Its MCP Server is 6.3 KB long, well organised into 15 sections with 8 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so InkPaw is actively maintained.
- Our last check on 2026-09-16 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 92/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-25. Automated pattern scan on 2026-09-25. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
InkPaw compared with similar skills
All 4 of these similar skills score higher than InkPaw; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| InkPaw (this skill)by syouro | 81 | 3 | 47d ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 85.3k | 9d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 73.7k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 73.2k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.1k | today | CLAUDE.md |
Frequently asked questions
- How do I install InkPaw?
- Run
claude mcp add syouro -- npx -y github:syouro/InkPaw. The install tabs above show the steps for each supported agent. - Which AI agents does InkPaw work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is InkPaw safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 92/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is InkPaw still maintained?
- The repository was last updated about 2 months ago, so InkPaw is actively maintained.
Skill content
View source on GitHubInkPaw 🐾
English | 简体中文
A tiny, meticulous DOCX toolkit for AI agents. Models write; InkPaw keeps the document correct.
InkPaw is a Word document generation, editing, validation, and rendering toolkit for AI agents. It provides an MCP server, a protocol-independent renderer, and a local web Playground for trying the complete agent workflow.
The design principle is simple: the model owns content and structure; deterministic code owns numbering, styles, references, OOXML correctness, and output validation.
Try the Playground
The fastest way to experience InkPaw is the local experimental Playground:
git clone https://github.com/syouro/InkPaw.git
cd InkPaw
npm install
npm run playground
Open http://127.0.0.1:8766, enter an OpenAI-compatible base URL, model name, and API key, then ask the agent to create a document.
The Playground shows streaming reasoning and tool activity, renders page previews, supports follow-up edits and templates, and provides DOCX/PDF downloads. It binds to localhost by default and is intended for local evaluation—not direct public deployment. Full page preview requires LibreOffice and poppler-utils. See Playground guide.
DeepSeek support
InkPaw includes explicit compatibility for DeepSeek thinking-mode Agent Loops: it sends the thinking control, streams reasoning_content into a separate UI panel, and preserves that reasoning across tool-call continuations as required by the DeepSeek API. The recommended starting model for the Playground is deepseek-v4-flash, which is prefilled with the official https://api.deepseek.com endpoint.
See the DeepSeek integration guide for setup, protocol details, and troubleshooting.
Why InkPaw?
LLMs can write strong content, but asking a model to control Word layout details directly often causes broken numbering, drifting styles, invalid references, or documents that fail to open. InkPaw separates those concerns with a persistent structured document model (def JSON):
- Agents create headings, paragraphs, tables, images, equations, footnotes, comments, and sections.
- InkPaw generates numbering, captions, cross-references, tables of contents, styles, and OOXML.
- Stable node IDs allow precise query, update, move, and delete operations across agent turns.
- Structured validation issues include locations, repair guidance, and authoritative examples for self-correction.
Features
- Structured document creation and Markdown import.
- Node-level insert, update, move, and delete with SQLite persistence.
- Automatic numbering, captions, cross-references, and static or native TOCs.
- Three-layer styling: preset → style profile → document overrides.
- Table spans, headers/footers, footnotes, comments, checkboxes, equations, floating images, and multiple sections.
- DOCX, PDF, and per-page PNG output.
- Three validation layers: OPC integrity, ECMA-376 Schema, and Word compatibility checks.
- MCP over stdio or stateless Streamable HTTP.
- HTTP Bearer authentication and optional per-user storage scopes.
- Local BYOK Playground with streaming Agent Loop, MCP tools, previews, and downloads.
Requirements
- Node.js 18+
- npm
- LibreOffice Writer + Math for the complete test suite and PDF/PNG previews
- Optional: poppler-utils for per-page PNG conversion
- Optional: xmllint + xsltproc for complete OOXML Schema validation
Core DOCX generation does not require LibreOffice.
MCP quick start
InkPaw starts with stdio transport by default:
npm start
Example MCP client configuration:
{
"mcpServers": {
"inkpaw": {
"command": "node",
"args": ["/absolute/path/to/InkPaw/src/server.js"]
}
}
}
Streamable HTTP
npm run start:http
The default endpoint is http://127.0.0.1:8765/mcp and requires Bearer authentication. On first start, InkPaw creates data/mcp-token; you may also set DOCX_MCP_TOKEN explicitly.
Do not expose this local compatibility mode directly to the internet. InkPaw also includes OAuth 2.1 authorization code + PKCE, discovery, refresh/revocation, health checks, and reverse-proxy or native TLS support. See the public HTTPS + OAuth deployment guide.
Renderer only
The renderer does not depend on MCP or SQLite:
npm run demo
node src/docxUtil.js render examples/demo-report.js
Validation
npm test
npm run validate -- path/to/file.docx
scripts/docx2png.sh path/to/file.docx
npm run visual
Visual baselines depend on LibreOffice and installed fonts. Update them only after manually reviewing the rendered pages.
Architecture
MCP client or local Playground
│
▼
MCP transport (stdio / HTTP)
│
▼
Service + validator + SQLite store
│
▼
Transform (numbering / refs / captions)
│
▼
Protocol-independent DOCX renderer
│
▼
DOCX / PDF / PNG + validation feedback
See Architecture for the module boundaries and invariants.
Repository layout
src/ core renderer, MCP server, service, storage, and validation
playground/ experimental local web Agent experience
scripts/ launch, validation, rendering, and visual-regression tools
test/ unit and integration tests
presets/ reusable style presets
schemas/ OOXML validation assets
docs/ architecture, specifications, compatibility, and release policy
Documentation
- Playground
- DeepSeek integration
- Architecture
- Document node specification
- Viewer compatibility
- Upstream docx issues
- Source snapshot and sync rules
- Open-source release policy
- Contributing
- Security
Project status
The core DOCX/MCP toolkit is the primary project. The Playground is marked experimental because its API and interface may change and its default security boundary is localhost. It is tested, but it is not a turnkey multi-tenant public SaaS deployment.
License
MIT © 2026 syouro. Third-party notices are listed in THIRD_PARTY_NOTICES.md.
Related Skills
Agent-Reach
85.3kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
73.7kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ruflo
73.2k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
CowAgent
47.1kOpen-source super AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
