UNPKG

docwriter-mcp-server

Version:

A Model Context Protocol (MCP) server for programmatic creation, modification, and compilation of structured LaTeX documents. Enables AI agents and automated workflows to generate reports, articles, and papers from templates, with secure, structured conte

106 lines (105 loc) 3.17 kB
{ "name": "docwriter-mcp-server", "version": "1.0.3", "description": "A Model Context Protocol (MCP) server for programmatic creation, modification, and compilation of structured LaTeX documents. Enables AI agents and automated workflows to generate reports, articles, and papers from templates, with secure, structured content updates and robust PDF compilation using LuaLaTeX and Biber.", "main": "dist/index.js", "files": [ "dist" ], "bin": { "docwriter-mcp-server": "dist/index.js" }, "exports": "./dist/index.js", "types": "dist/index.d.ts", "type": "module", "repository": { "type": "git", "url": "git+https://github.com/cyanheads/docwriter-mcp-server.git" }, "bugs": { "url": "https://github.com/cyanheads/docwriter-mcp-server/issues" }, "homepage": "https://github.com/cyanheads/docwriter-mcp-server#readme", "scripts": { "build": "tsc && node --loader ts-node/esm scripts/make-executable.ts dist/index.js", "start": "node dist/index.js", "start:stdio": "MCP_LOG_LEVEL=debug MCP_TRANSPORT_TYPE=stdio node dist/index.js", "start:http": "MCP_LOG_LEVEL=debug MCP_TRANSPORT_TYPE=http node dist/index.js", "rebuild": "ts-node --esm scripts/clean.ts && npm run build", "docs:generate": "typedoc --tsconfig ./tsconfig.typedoc.json", "depcheck": "npx depcheck", "tree": "ts-node --esm scripts/tree.ts", "fetch-spec": "ts-node --esm scripts/fetch-openapi-spec.ts", "format": "prettier --write \"**/*.{ts,js,json,md,html,css}\"", "inspector": "npx mcp-inspector --config mcp.json --server docwriter-mcp-server" }, "dependencies": { "@hono/node-server": "^1.14.4", "@modelcontextprotocol/sdk": "^1.13.0", "@types/node": "^24.0.3", "@types/sanitize-html": "^2.16.0", "chrono-node": "^2.8.3", "dotenv": "^16.5.0", "hono": "^4.8.0", "ignore": "^7.0.5", "jose": "^6.0.11", "jsonwebtoken": "^9.0.2", "openai": "^5.5.1", "partial-json": "^0.1.7", "sanitize-html": "^2.17.0", "tiktoken": "^1.0.21", "ts-node": "^10.9.2", "typescript": "^5.8.3", "validator": "13.15.15", "winston": "^3.17.0", "winston-transport": "^4.9.0", "zod": "^3.25.67" }, "keywords": [ "ai-agent", "automation", "bibliography", "biber", "document-generation", "hono", "http", "latex", "lualatex", "mcp", "mcp-server", "mcp-tool", "model-context-protocol", "pdf", "report-generation", "scientific-writing", "stdio", "structured-data", "tex", "typescript" ], "author": "cyanheads <casey@caseyjhand.com>", "license": "Apache-2.0", "funding": [ { "type": "github", "url": "https://github.com/sponsors/cyanheads" }, { "type": "buy_me_a_coffee", "url": "https://www.buymeacoffee.com/cyanheads" } ], "engines": { "node": ">=20.0.0" }, "devDependencies": { "@types/js-yaml": "^4.0.9", "@types/jsonwebtoken": "^9.0.10", "@types/validator": "^13.15.2", "axios": "^1.10.0", "depcheck": "^1.4.7", "js-yaml": "^4.1.0", "prettier": "^3.5.3", "typedoc": "^0.28.5" } }