恢复生成器MCP服务器
使用LaTeX模板生成专业PDF简历的模型上下文协议(MCP)服务器。与Claude Desktop无缝集成,利用先进的文件夹管理和组织功能,从结构化数据中创建精美的简历。
特性
- 🎨 9个专业模板 -采用高品质LaTeX设计
- 📄 PDF生成 -通过LaTeX Resume API提供专业级输出
- 🔧 MCP集成 -直接与Claude Desktop配合使用
- 📝 结构化数据 -易于使用的JSON模式用于简历数据
- 🎯 可定制的 -自定义标题、章节和模板选择
- 💼 专业素质 -基于LaTeX的渲染,可获得清晰、专业的效果
- 🤖 AI驱动 -通过克劳德创作自然语言简历
- 📁 文件夹管理 -创建自定义文件夹,并按职位、公司或类别组织简历
- 🗂️ 目录导航 -使用内置文件资源管理器列出并浏览您的简历集
- 🛡️ 安全路径 -内置的路径清理可防止安全问题
概述
此MCP服务器充当Claude Desktop和专业简历生成之间的桥梁。只需用自然语言向Claude描述您的简历要求,它就会使用LaTeX模板生成格式精美的PDF简历。现在,借助先进的组织功能,您的简历可以完美组织!
先决条件
- Node.js(v16或更高版本)
- Claude桌面应用程序
- 互联网连接(用于LaTeX Resume API)
安装
- 克隆存储库:
git clone https://github.com/yourusername/resume-generator-mcp.git
cd resume-generator-mcp- 安装依赖项:
npm install- 配置Claude桌面:
将以下内容添加到您的Claude Desktop MCP设置文件中:
窗户: %APPDATA%\Claude\claude_desktop_config.json macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"resume-generator": {
"command": "node",
"args": ["path/to/resume-generator-mcp/server.js"]
}
}
}- 重新启动克劳德桌面 加载MCP服务器。
用法
配置后,您可以直接在Claude Desktop中使用自然语言的简历生成器。该工具设计灵活智能,您可以提供完整的工作经历,让克劳德为任何情况制作完美的简历。
运作原理
- 分享您的经验 -为克劳德提供您的完整专业背景、教育、技能和成就
- 指定您的目标 -可选地包括职位描述或提及您所针对的角色类型
- 整理你的简历 -使用自定义文件夹结构选择保存每份简历的位置
- 获得量身定制的结果 -Claude将自动选择并突出显示与您的特定目标最相关的体验
请求示例
基本简历生成
Create a resume for a software engineer with 5 years experience in React and Node.js使用自定义文件夹组织简历
Generate a resume for a Senior Developer position at Google and save it in a "FAANG-applications/google" folder个人历史+目标职位+组织
Here's my background:
- 8 years as a software developer
- Worked at: Microsoft (2018-2021), Google (2021-2023), startup CTO (2023-present)
- Skills: Python, JavaScript, AWS, team leadership, architecture design
- Education: MS Computer Science from MIT
- Led teams of 5-15 people, built systems serving millions of users
I'm applying for this Senior Engineering Manager position at Netflix:
[paste job description here]
Generate a resume that highlights my most relevant experience for this role and save it in "streaming-companies/netflix" folder.文件夹管理
Create a folder structure for organizing my job applications: "job-search-2024/tech-companies" and "job-search-2024/startups"Show me what resumes I have in my "tech-companies" folder模板特定生成与组织
Generate a resume using template 3 for John Doe and save it in the "personal/drafts" folder with the filename "john-doe-senior-dev"组织中的职业转型场景
I have 10 years in finance but want to transition to product management. Here's my experience:
[detailed background]
Create a resume that emphasizes my transferable skills for a Product Manager role at a tech company and save it in "career-transition/product-management" folder.智能组织功能
- 🗂️ 自动创建文件夹 -生成简历时会自动创建文件夹
- 📁 自定义目录结构 -按公司、角色类型、行业或任何适合您的系统进行组织
- 🔍 目录浏览器 -列出任何文件夹的内容以查看您的简历集
- 📊 文件信息 -查看文件大小、创建日期,并按元数据进行组织
- 🛡️ 路径安全 -内置的清理功能可防止目录遍历和无效字符
组织示例
按公司分类:
applications/google/applications/microsoft/applications/amazon/
按角色类型:
roles/senior-engineer/roles/tech-lead/roles/manager/
按行业分类:
industries/fintech/industries/healthcare/industries/gaming/
按状态:
drafts/submitted/2024/archived/old-versions/
智能定制功能
- 🎯 相关性优化 -自动优先考虑与目标角色匹配的体验
- 📈 成就突出 -强调可量化的成果和成绩
- 🔄 技能对齐 -在提供时,将您的技能与工作要求相匹配
- 📝 专业格式化 -确保一致、ATS友好的格式
- 🎨 模板选择 -为您的行业/角色推荐最佳模板
Claude会自动组织您的信息,并根据您的特定目标生成专业的PDF简历,将其保存在您想要的地方。
api参考
可用工具
generate_resume
从具有可选文件夹组织的结构化数据生成PDF简历。
参数:
resumeData(object):完整的简历信息filename(字符串,可选):PDF的自定义文件名folderPath(字符串,可选):在生成的简历目录中自定义文件夹路径
例子:
{
"resumeData": {
/* resume data */
},
"filename": "john-doe-senior-engineer",
"folderPath": "job-applications/tech-companies/google"
}create_folder
在生成的简历目录中创建一个新文件夹。
参数:
folderPath(string):要创建的文件夹路径(支持嵌套文件夹)
例子:
{
"folderPath": "applications/2024/q1"
}list_folders
列出生成的简历目录中的所有文件夹和文件。
参数:
path(字符串,可选):要列出的特定子目录
例子:
{
"path": "applications/tech-companies"
}create_resume_template
使用占位符数据创建模板结构。
参数:
templateNumber(整数,1-9):用作基数的模板
简历数据结构
{
"selectedTemplate": 1,
"basics": {
"name": "John Doe",
"email": "john.doe@example.com",
"phone": "+1-555-0123",
"website": "https://johndoe.dev",
"location": {
"address": "San Francisco, CA"
}
},
"work": [
{
"company": "Tech Corp",
"position": "Software Engineer",
"location": "San Francisco, CA",
"startDate": "2022",
"endDate": "Present",
"highlights": [
"Developed web applications using React and Node.js",
"Led team of 3 developers on key projects"
]
}
],
"education": [
{
"institution": "University of California",
"area": "Computer Science",
"studyType": "Bachelor of Science",
"startDate": "2018",
"endDate": "2022",
"location": "Berkeley, CA"
}
],
"skills": [
{
"name": "Frontend",
"keywords": ["React", "TypeScript", "HTML5", "CSS3"]
}
],
"projects": [
{
"name": "Portfolio Website",
"description": "Personal portfolio built with Next.js",
"url": "https://johndoe.dev",
"keywords": ["Next.js", "React", "Tailwind CSS"]
}
]
}配置
文件存储
生成的PDF将保存到以下目录中的有序目录中:
- 窗户:
%LOCALAPPDATA%\AnthropicClaude\app-{version}\generated-resumes\ - macOS:
~/Library/Application Support/AnthropicClaude/app-{version}/generated-resumes/ - Linux:
~/.local/share/AnthropicClaude/app-{version}/generated-resumes/
目录结构示例
generated-resumes/
├── applications/
│ ├── google/
│ │ ├── john-doe-swe-2024-06-30.pdf
│ │ └── john-doe-senior-2024-06-30.pdf
│ ├── microsoft/
│ └── startups/
├── drafts/
│ └── work-in-progress-2024-06-30.pdf
└── templates/
└── base-template-2024-06-30.pdf故障排除
常见问题
- “找不到方法”错误:
- 确保配置后重新启动Claude Desktop - 检查路径是否正确 claude_desktop_config.json 是正确的
- 连接错误:
- 验证互联网连接 - 检查LaTeX Resume API是否可访问
- 未生成PDF:
- 检查生成的简历目录权限 - 确保目录存在并且可写
- 文件夹创建错误:
- 验证生成的简历目录中的写入权限 - 检查文件夹路径是否不包含无效字符
- 路径相关问题:
- 文件夹路径会自动进行安全清理 - 无效字符被下划线替换 - 目录遍历尝试(../)被自动阻止
调试模式
通过设置环境变量启用调试日志记录:
DEBUG=resume-generator node server.js发展
项目结构
resume-generator-mcp/
├── server.js # Main MCP server with folder management
├── package.json # Dependencies and scripts
├── README.md # This file
└── generated-resumes/ # Output directory (created automatically)
└── [organized folders] # Custom folder structure依赖项
@modelcontextprotocol/sdk:用于服务器实现的MCP SDKnode-fetch:API请求的HTTP客户端fs/promises:文件夹管理的文件系统操作
安全功能
- 路径消毒:防止目录遍历攻击
- 输入验证:验证文件夹路径和文件名
- 范围限制:所有操作仅限于生成的简历目录
- 字符过滤:删除或替换无效的文件系统字符
贡献
- 分叉存储库
- 创建要素分支:
git checkout -b feature-name - 进行更改并彻底测试
- 提交一个带有明确描述的拉取请求
鸣谢
这个项目建立在几个令人惊叹的开源项目和服务之上:
LaTeX简历API
- 服务: 网站 latexresu.me -专业LaTeX简历生成API
- 信用: 感谢LaTeX Resume API团队提供支持PDF生成的后端服务
LaTeX模板
这些漂亮的简历模板是基于以下设计的 简历.io 以及更广泛的LaTeX社区:
- 伦斯勒职业发展中心
- Byungjin公园 -很棒的简历模板
- 斯科特·克拉克 -干净专业的设计
- Debarghya 这 -现代简历模板
- 泽维尔·达诺 -经典LaTeX简历风格
- 萨哈 国王 -当代设计
- 丹尼尔·别利亚科夫 -极简主义模板
- 弗里茨·温尼克 -专业简历模板
技术栈
- MCP(模型上下文协议) - Anthropic 对于协议规范
- 克劳德桌面 -人工智能工具集成平台
- Node.js -用于文件夹管理和文件操作的运行时环境
- 乳胶 -高质量排版的文件准备系统
许可证
麻省理工学院©安德烈·卡多纳
支持
- 🐛 Bug报告:
- 💡 功能请求:
- 📧 联系人: andrea.cadonna@gmail.com
更新日志
v2.0.0-文件夹管理更新
- ✨ 新 在生成的简历目录中自定义文件夹组织
- ✨ 新
create_folder创建有组织目录结构的工具 - ✨ 新
list_folders浏览和管理简历集的工具 - ✨ 新 增强
generate_resume随着folderPath参数 - 🛡️ 新 路径净化和安全功能
- 📊 新 目录列表中的文件元数据显示(大小、日期)
- 🗂️ 新 生成简历时自动创建文件夹路径
- 📁 新 支持嵌套文件夹结构
- 🔍 新 目录导航和文件组织工具
v1.0.0
- 初始版本
- 通过LaTeX Resume API支持9个LaTeX模板
- 通过Claude Desktop生成自然语言简历
- 支持结构化数据的MCP服务器实现
- 具有可定制模板的专业PDF输出
______________________________________________________________________
由以下材料制成❤️ 克劳德桌面和MCP社区
