Reglet.Mcp
1.13.0
{ "servers": { "Reglet.Mcp": { "type": "stdio", "command": "dnx", "args": ["Reglet.Mcp@1.13.0", "--yes"] } } }
.vscode/mcp.json settings file.
dotnet tool install --global Reglet.Mcp --version 1.13.0
dotnet new tool-manifest
dotnet tool install --local Reglet.Mcp --version 1.13.0
#tool dotnet:?package=Reglet.Mcp&version=1.13.0
nuke :add-package Reglet.Mcp --version 1.13.0
Reglet MCP server
reglet-mcp lets AI agents (Claude, Copilot, Cursor and any other MCP client) create, convert, read, fill and validate
office documents: DOCX, ODT, PDF, HTML, and Excel or LibreOffice workbooks. It runs locally over stdio and needs neither Office nor
LibreOffice; it is built on Reglet.
Install
dotnet tool install -g Reglet.Mcp
It needs the .NET 10 runtime. With the .NET 10 SDK it also runs without installing, as nuget.org shows on the package's "MCP Server" tab:
dnx Reglet.Mcp --yes
Configure
The server may read and write files only inside the directories given with --root (several allowed); without one
it uses the directory it is started in. Paths the agent passes are relative to the first root.
Claude Code:
claude mcp add reglet -- reglet-mcp --root ~/Documents/reports
Claude Desktop and other clients (mcpServers in their JSON configuration):
{
"mcpServers": {
"reglet": { "command": "reglet-mcp", "args": ["--root", "/Users/me/Documents/reports"] }
}
}
Tools
| Tool | What it does |
|---|---|
create_document |
Writes DOCX, ODT, PDF or HTML from Markdown (headings, emphasis, lists, tables, page breaks). |
convert_document |
Converts between DOCX, ODT, PDF and HTML. |
read_document |
Returns a document's content as Markdown-like text. |
fill_template |
Fills the {{Name}} placeholders of a DOCX or ODT template; its styles stay. |
validate_file |
Checks DOCX, XLSX, ODT/ODS or PDF against the standards, with part and line of each finding. |
create_workbook |
Writes an Excel (.xlsx) or LibreOffice (.ods) workbook from rows of values; = starts a formula. |
read_workbook |
Returns each sheet of an .xlsx or .ods as rows of the values the spreadsheet shows. |
merge_pdfs |
Merges PDFs into one. |
extract_pdf_pages |
Writes chosen pages of a PDF into a new one. |
Safety
- No path outside the roots is used, also not through
..or a symbolic link. - An existing file is replaced only when the agent passes
overwrite: true, and only after the new file was written completely; a failed write leaves the old file as it was. - In workbooks, values with leading zeros or a leading
+(postcodes, phone numbers) stay text. - The readers are hardened against hostile files (size, depth and decoding budgets); a broken file is a tool error, not a crash.
- Nothing is fetched from the network, and no other program is started.
MIT licensed. The assemblies the tool carries (the MCP C# SDK under Apache 2.0, Microsoft.Extensions under MIT) are
listed in THIRD-PARTY-NOTICES.md in the package.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.13.0 | 63 | 12/4/2026 |
| 1.12.1 | 67 | 12/3/2026 |
| 1.12.0 | 55 | 12/3/2026 |
| 1.11.0 | 59 | 12/2/2026 |
| 1.10.1 | 63 | 12/1/2026 |
| 1.10.0 | 61 | 12/1/2026 |
| 1.9.1 | 56 | 12/1/2026 |
| 1.9.0 | 61 | 12/1/2026 |
| 1.8.0 | 71 | 11/30/2026 |
| 1.7.18 | 108 | 11/29/2026 |
| 1.7.17 | 95 | 11/27/2026 |
| 1.7.16 | 100 | 11/27/2026 |
| 1.7.15 | 99 | 11/27/2026 |
| 1.7.14 | 100 | 11/27/2026 |
| 1.7.13 | 94 | 11/27/2026 |
| 1.7.12 | 88 | 11/27/2026 |
| 1.7.11 | 95 | 11/27/2026 |
| 1.7.10 | 97 | 11/27/2026 |
| 1.7.9 | 95 | 11/27/2026 |
| 1.7.8 | 99 | 11/27/2026 |