Oleafly is a live collaborative LaTeX, Typst and Markdown editor for research that offers a local MCP server and an oleafly mcp stdio command so outside AI clients can use its project tools.

MCP server for auto-fitting a resume onto one page
An MCP server that renders a Markdown resume to PDF and returns layout facts so an AI agent can edit content to fit one A4 page.
WHAT IT DOES
- •Renders a Markdown resume to a PDF written next to the source file, also producing a structured JSON summary.
- •Detects page height with Playwright and reports how much content overflows the page.
- •Provides line-level feedback so the agent can edit the Markdown in place and re-render through a feedback loop.
- •Flags lines that do not follow the canonical resume format, with the expected form for rewriting.
BEST FOR
- •Generating a single-page resume from Markdown content for job applications.
- •AI agents iterating on resume content until it fits one page without changing facts.
ABOUT RESUME-ONEPAGE-AUTOFIT-MCP
MCP server for auto-fitting a resume onto one page is cataloged as an MCP server attributed to seriserendipia. An MCP server that renders a Markdown resume to PDF and returns layout facts so an AI agent can edit content to fit one A4 page. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
HOW TO INSTALL
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
LICENSE
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力检查器
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
Tools (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Resources (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Prompts (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Newsletter subscriptions are not open yet
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Community Reviews
Reviews for MCP server for auto-fitting a resume onto one page are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
FREQUENTLY ASKED QUESTIONS
Does the tool decide what content to cut to fit the page?
No. It reports layout facts only; deciding what to cut is left to the agent.
Where is the generated PDF saved?
By default it is written next to the Markdown file with the same name, or to an absolute output_path if provided.
上游原版 README
README.md · e0f12db14ef2 · 采集于 2026-11-13 13:51:00 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
AI Resume Auto-Fitting System
🌐 中文 | English
🤖 Tired of copying between AI and Word, tweaking formats, and adjusting to fit one page? What if AI could handle that feedback loop for you? This MCP lets AI render PDFs and auto-adjust content to perfectly fit one page with clean formatting.
🎯 How It Works
User: Please generate a single-page resume from my experience
AI Agent:
1. 📝 Write the resume to resume.md
2. 🔍 Call render_resume_pdf with its path
3. ⚠️ Failed: overflows by 6% (about 4 body lines); the bullet on line 58 ends with a 6-character line
4. 🔧 Edit only those lines in resume.md
5. ✅ Success! PDF generated
🚀 Quick Start
1. Install MCP Server
# Enter MCP Server directory and install dependencies
cd mcp_server
pip install -r requirements.txt
# ⚡ Or using uv (recommended): uv pip install -r requirements.txt
# Install Chromium browser (first time only, ~150MB)
playwright install chromium
2. Configure Claude Desktop
Edit %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"resume-onepage-autofit-mcp": {
"command": "python",
"args": ["<your-path>/myresumebuilder/mcp_server/mcp_server.py"]
}
}
}
Replace
<your-path>with your actual project path.⚡ If you prefer using uv:
"resume-onepage-autofit-mcp": { "command": "uv", "args": [ "run", "--directory", "<your-path>/myresumebuilder", "mcp_server/mcp_server.py" ] }
3. Prepare Your Resume Content
Write your resume content in myexperience.md (refer to example_resume.md for format).
4. Start Using
Restart Claude Desktop, then simply tell the AI: "Please generate a single-page resume from my experience"
The agent writes the resume to a .md file and passes the tool that file's absolute path (markdown_path), on Linux/macOS (/home/you/resume.md) or Windows (C:\Users\you\resume.md). Between renders it edits the file in place instead of resending the whole resume. See mcp_server/README.md for details.
The PDF is written next to the Markdown file with the same name (resume.md → resume.pdf). Next to each PDF (for example resume.pdf) the renderer also writes resume.structured.json: the summary, skills, experience and projects split into fields (company, title, location, start and end month). The tool result lists, under "Format warnings", any lines that do not follow the canonical resume format, each with the form to rewrite it to.
💡 Custom Output Path: pass an absolute
output_pathto save the PDF anywhere else.
✨ Core Features
- 🎯 Smart Fitting: Automatically adjusts content to fit resume perfectly on one A4 page
- 🔍 Precise Detection: Pixel-accurate page height detection based on Playwright
- 📏 Line-level Feedback: Reports how many lines each section and bullet takes, how many characters sit on its last line, and how many lines overflow. The tool states facts only; what to cut is the agent's call
- 🔄 Feedback Loop: The agent edits the Markdown file in place and re-renders
- 🚀 MCP Integration: Supports direct calls from Claude Desktop and other AI clients
📸 Workflow
User provides experience → AI generates Markdown resume
↓
MCP Server renders & validates
↓
┌─────── Detect page height ───────┐
│ │
Success Failure
(within one page) (overflow X%)
│ │
Generate PDF Return per-block line counts
│ ↓
│ AI edits the lines it chooses
│ │
└──────────── Re-render ←──────────┘
🧭 Agent Prompt
The tool reports layout facts and never says what to cut. Give your agent a prompt like this one (adapt it to your workflow):
You build a one-page resume with the render_resume_pdf tool.
1. Write the resume to a Markdown file, e.g. /home/you/resumes/acme/resume.md, in the
canonical forms described in the tool's markdown_path parameter. Write the file once.
2. Call render_resume_pdf with the file's absolute path.
3. After each render, change only the lines that need it with your edit tool and render
again with the same path. Never rewrite the whole file or paste the resume into the call.
- Start with the paragraph under pdf_path: it says whether the render succeeded, why not,
and what the next render must achieve.
- overflow: "Page fit" gives overflow_percent and overflow_body_lines. The table "Space by
section and entry" shows how many lines each section, job, project and school takes. Its
"wrapped items" column lists items that wrap, as "source line: characters on last line";
"58: 6" means 6 characters on line 58 cost a whole line, so trimming them saves it. Cut
what is least relevant to the target job first.
- success with a large empty_space_percent: there is room; add relevant detail or stop.
- layout_error: each line under "Layout warnings" is an entry header that wrapped. It must
fit on one line.
- Format warnings: in the same edit, rewrite each listed line to its expected form. If a
month is missing, ask the user; never invent one.
4. Stop when status is success and there are no format warnings. If it still does not fit
after 5 renders, tell the user what you would cut and ask.
Never change facts (numbers, dates, company names, titles) to make the page fit.
🔧 Visual Preview (Optional)
To manually adjust default style parameters, use the control panel (pure frontend, no Python needed):
# Use VS Code Live Server extension (recommended)
# Right-click control_panel.html -> "Open with Live Server"
# Or Python simple server
python -m http.server 8080
# Visit http://localhost:8080/control_panel.html
💡 The control panel is primarily for manually debugging style limits (e.g., font size ranges, line spacing). For daily use, rely on the AI Agent, which automatically adapts layout within optimal ranges based on content. For technical details, see DEVELOPMENT.md.
📚 Documentation
- DEVELOPMENT.md: Technical architecture & development guide
- mcp_server/README.md: MCP Server API documentation
🐛 Known Limitations
- Browser Dependency: Requires Chromium (~150MB first time)
- Content Length: Very long resumes (10+ pages) may need several render rounds
- Special Characters: Some emoji may affect layout
🔄 Development Roadmap
v0.2.0 (Planned)
- Custom templates
🤝 Contributing
Issues and Pull Requests welcome!
Development Setup
# Clone repository
git clone https://github.com/seriserendipia/resume-onepage-autofit-mcp.git
cd resume-onepage-autofit-mcp
# Create virtual environment
conda create -n agent_env python=3.10
conda activate agent_env
# Install dependencies
pip install -r mcp_server/requirements.txt
playwright install chromium
Commit Convention
feat:New featurefix:Bug fixdocs:Documentation updatetest:Test related
📄 License
MIT License - See LICENSE
🙏 Acknowledgments
- Playwright - Powerful browser automation
- Source Sans 3 - bundled body typeface (SIL OFL 1.1, see
fonts/OFL.txt) - MCP - Unified AI tool protocol
- Markdown-it - Reliable Markdown parser
- Paged.js - PDF pagination in the browser
📧 Contact
- 🐛 Issues: GitHub Issues
- 💬 Discussions: GitHub Discussions
⭐ If this project helps you, please give it a Star!
⭐ 如果这个项目对你有帮助,请给一个 Star!
Install configuration
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for auto-fitting a resume onto one page from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/resume-onepage-autofit-mcp)REPOSITORY STATS
Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
下载与拉取统计
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Related productivity work MCP Servers
Alternative and complementary servers in the same category
Buddy is an Android app that offers its phone tools through a local MCP server to Claude Code, Codex, OpenCode, Antigravity, and Grok sessions.

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

