Agent-Native Calendar
Agent-Native Google Calendar - manage events, sync, and public booking
作者提供的说明(英文原文)
Resource-only MCP server with docs and templates for the boxpdf TypeScript PDF layout library.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"boxpdf": {
"command": "npx",
"args": [
"-y",
"boxpdf",
"mcp"
]
}
}
}在终端中运行这条命令
claude mcp add boxpdf -- npx -y boxpdf mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"boxpdf": {
"command": "npx",
"args": [
"-y",
"boxpdf",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"boxpdf": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"boxpdf",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 earonesty 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.0.3)于6个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Agent-Native Google Calendar - manage events, sync, and public booking
Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.
Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A box-layout DSL over pdf-lib. Implemented in portable JavaScript, it runs in Node 20+, Cloudflare Workers, Deno, and browsers.
Live gallery: https://earonesty.github.io/boxpdf/
Related repos: boxpdf-html (HTML → BoxPDF) and streaming-pdf-reader (PDF → document model, HTML, and structured data).
import { cleanTheme, flowToPdf, hline, hstack, standardFonts, text, vstack } from "@boxpdf/writer";
const bytes = await flowToPdf(async (pdf) => { const { font, bold } = await standardFonts(pdf); const theme = cleanTheme({ font, bold });
return [ vstack({ gap: 8 }, text("Receipt #18472", theme.type.h1), text("May 14, 2026", theme.type.caption) ), hline(theme.hr), hstack({ gap: 16, justify: "between", width: 515 }, text("Wool socks", theme.type.body), text("$28.00", { ...theme.type.body, font: bold, align: "right", width: 80 }) ) ]; });
flowToPdf owns the document lifecycle and returns the saved bytes. standardFonts embeds the built-in Helvetica family (regular, bold, italic, bold-italic) in one call.
Prefer to manage the document yourself? The explicit path still works.
import { PDFDocument, StandardFonts } from "pdf-lib";
import { cleanTheme, renderFlow, text, vstack } from "@boxpdf/writer";
const pdf = await PDFDocument.create(); const font = await pdf.embedFont(StandardFonts.Helvetica); const bold = await pdf.embedFont(StandardFonts.HelveticaBold); const theme = cleanTheme(font, bold);
await renderFlow(pdf, [ vstack({ gap: 8 }, text("Receipt #18472", theme.type.h1), text("May 14, 2026", theme.type.caption) ) ]);
const bytes = await pdf.save();
renderFlow(pdf, nodes, options) paginates into a document you own and returns { pages } — reach for it when you need multiple render passes, the page objects, or custom save() options. boxpdf re-exports PDFDocument and StandardFonts for this explicit lifecycle.
npm install @boxpdf/writer pdf-lib
pdf-lib is a peer dependency.
The original boxpdf package remains supported and is published from the same build at the same version. Existing imports and the boxpdf CLI continue to work unchanged:
npm install boxpdf pdf-lib
New projects should use @boxpdf/writer. Both package names expose the same API, and both provide the boxpdf command.
vstack, hstack, text, image, hline, vline, spacer, flex, keepTogether, link, svgPath, table.maxLines truncation, optional breakWords, and no-wrap control.cleanTheme, stripeTheme, editorialTheme, brutalistTheme.@pdf-lib/fontkit only when you call loadFont or embedInter.Files in templates/ cover receipts, boarding passes, resumes, order confirmations, and certificates. Each is a single file.
Scaffold one into your app with the CLI:
npx boxpdf init receipt --out src/pdf/receipt.ts
npx boxpdf list
The CLI also ships a resource-only MCP server for agents:
claude mcp add boxpdf -- npx -y boxpdf mcp
import { cleanTheme, editorialTheme, standardFonts } from "@boxpdf/writer";
const theme = cleanTheme(await standardFonts(pdf)); // Helvetica const serif = editorialTheme(await standardFonts(pdf, "times")); // serif + italic slot
Every theme factory accepts either a { font, bold, italic? } object — which is exactly what standardFonts(pdf) and embedInter(pdf) return — or the legacy positional fonts:
cleanTheme({ font, bold }) // or cleanTheme(font, bold)
stripeTheme({ font, bold }) editorialTheme({ font, bold, italic }) // or editorialTheme(font, bold, italic) brutalistTheme({ font, bold }) // courier regular + bold
standardFonts(pdf, family) takes "helvetica" (default), "times", or "courier" and returns { font, bold, italic, boldItalic }. Every theme exposes the same shape: colors, spacing, radii, type, card, hr.
vstack(style, ...children). Vertical layout.hstack(style, ...children). Horizontal layout.keepTogether({ gap?, margin? }, ...children). Paginates atomically.Container style:
| Field | Type | Notes | |||||
|---|---|---|---|---|---|---|---|
width / height | number | Fixed dimensions; otherwise size to content. | |||||
padding / margin | number \ | { top, right, bottom, left } | Shorthand or per-side. | ||||
background | RGB | Solid fill. | |||||
backgroundImage | { image, width, height, offsetX?, offsetY?, repeat? } | Image painted behind children and clipped to the box. | |||||
border | { color, width } | 1pt+ stroke around the box. | |||||
borderSides | { top?, right?, bottom?, left? } | Per-side strokes using { color, width }. | |||||
borderRadius | number | Corner radius. | |||||
overflow | "visible" \ | "hidden" | Clips stack children and absolute descendants to the box rectangle. | ||||
position | "relative" \ | "absolute" | CSS-like positioning for boxes. | ||||
top / right / bottom / left | number | Absolute offsets in points. | |||||
zIndex | number | Paint order for positioned boxes; higher values render later. | |||||
rotate | number | Clockwise paint rotation in degrees around the box center; layout is unchanged. | |||||
transform | BoxTransform[] | Ordered paint transforms: translate, scale, rotate, skew, and matrix. | |||||
transformOrigin | { x, y } | Pivot using { length, percent } components; defaults to the box center. | |||||
grow | number | Flex grow weight along the parent's main axis. | |||||
shrink | number | Flex shrink weight. | |||||
breakInside | "auto" \ | "avoid" | Fragmentation hint under renderFlow; avoid keeps the box atomic. | ||||
gap | number | Spacing between children. | |||||
justify | "start" \ | "center" \ | "end" \ | "between" \ | "around" \ | "evenly" | Main-axis distribution. |
align | "start" \ | "center" \ | "end" \ | "stretch" \ | "baseline" | Cross-axis alignment. baseline is intended for hstack rows. |
text(content, { size, font, color?, align?, width?, lineHeight?, maxLines?, underline?, strikethrough?, margin? }). Word-wraps when width is set. Truncates with ellipsis when maxLines is set. Default lineHeight uses the font's full height, including descenders.paragraph({ width?, align?, lineHeight?, margin?, paddingLeft?, textIndent?, wrap?, floats? }, ...runs). Mixed inline text runs and atomic inline nodes that wrap together as one paragraph. Use run(text, style), linkRun(text, style, href), and inlineNode(node, { verticalAlign?, href? }). Newlines in runs create hard breaks; wrap: false disables soft wrapping.image(pdfImage, { width, height, margin? }). Takes an already-embedded PDFImage.imageFit(pdfImage, { width, height, fit?, margin? }). Draws an image centered in a fixed rectangle, scaled to contain (default) or cover with clipping.spacer(size, { grow? }) / flex(weight = 1). Fixed or growing gap.hline({ color, thickness?, width?, margin? }).vline({ color, thickness?, height?, margin? }).link({ href }, child). Wraps a child and registers a PDF Link annotation over its rendered bounding box.table({ columns, rows, ... }). Fixed / auto / fractional columns with header/footer rows, dividers, styled cells, and row-level page fragmentation under renderFlow. Cells can be plain nodes or { content, colSpan?, padding?, background?, border?, borderSides?, borderRadius?, align?, valign? }.Form widgets are atomic layout nodes, so they work inside stacks, tables, pagination, and streamed documents without manual page coordinates.
import {
checkbox, dropdown, flowToPdf, standardFonts, text, textField, vstack } from "@boxpdf/writer";
const bytes = await flowToPdf(async (pdf) => { const { font } = await standardFonts(pdf); return [ vstack({ gap: 10 }, text("Registration", { size: 18, font }), textField({ name: "person.name", width: 260, height: 26, font, fontSize: 11, required: true }), dropdown({ name: "person.state", width: 140, height: 26, font, options: ["CA", "NY", "WA"] }), checkbox({ name: "terms.accepted", width: 16, height: 16, required: true }) ) ]; });
textField({ name, width, height, ... }). Supports an initial value, multiline, password, maxLength, combed, alignment, and shared field flags and appearance options. Password text fields are non-exportable by default unless exported: true is explicitly set.checkbox({ name, width, height, checked? }).radioOption({ name, option, width, height, selected? }). Nodes with the same name form one radio group.dropdown({ name, options, width, height, selected?, editable?, sorted? }). Kept single-select for consistent viewer behavior.optionList({ name, options, width, height, selected?, multiselect?, sorted? }).button({ name, label, width, height, ... }). Creates a portable push-button widget and appearance; BoxPDF does not attach PDF JavaScript or submit actions. Standard SubmitForm actions are reader-dependent and browser viewers may block submissions from local PDFs by origin policy.All fields accept margin, alignSelf, readOnly, required, exported, hidden, backgroundColor, borderColor, and borderWidth. Text-bearing fields also accept font, fontSize, and textColor. Field names are document-global. Reusing a name adds another widget for the same logical field; reusing it for a different field type throws. Password text fields default to exported: false, so mark exported: true to permit submission/export intentionally. Forms work with ordinary, streamed, and encrypted output; use the encryption fillForms permission to control whether conforming readers allow changes. For shared logical fields, text, dropdown, and option-list initialization state (value, options, and initial selected) is fixed by the first node. Radio-group flags (offToggleable, mutuallyExclusive) are also first-node-only. selected: true on a radioOption marks that option, while selected: false does not clear any existing selection.
Use getFormValues(pdf), setFormValues(pdf, values), and flattenForm(pdf) when working with a caller-owned PDFDocument. When updating non-WinAnsi text, pass the embedded font as { font } to setFormValues or flattenForm so pdf-lib regenerates the appearances with that font.
AcroForm widgets are PDF annotations rather than page drawing operations. They therefore cannot be placed inside transformed BoxPDF ancestors; BoxPDF throws instead of emitting a misplaced widget. XFA, signature fields, PDF JavaScript, and cryptographic signing are outside the core form layer.
flowToPdf(build, options?). The shortest path to bytes. Creates a PDFDocument, hands it to your build(pdf) callback (embed fonts/images there and ret只显示了开头部分;其余内容请在仓库中阅读