Skip to content

Latest commit

 

History

History
181 lines (144 loc) · 5.15 KB

File metadata and controls

181 lines (144 loc) · 5.15 KB

Job Application Automator - MCP Server Setup Guide

🎯 MCP Server Summary

Available Tools (5 Total)

Your MCP server provides these powerful automation tools:

  1. simple_form_extraction - Extract form structure from any job application URL
  2. simple_form_filling - Automatically fill forms with your data
  3. create_cover_letter - Generate personalized cover letter files
  4. get_applied_jobs - Display beautiful dashboard of applied jobs
  5. health_check - Check server status and active processes

Performance Specs

  • Form Extraction: ~10 seconds (75% faster than original)
  • 🎯 Iframe Detection: Smart Greenhouse iframe prioritization
  • 🔒 Stealth Mode: Undetected browser automation
  • 📁 File Handling: Automatic cover letter generation and tracking

📁 Essential Files (Cleaned Project Structure)

Core MCP Server Files

job_application_automator/
├── mcp_server.py          # Main MCP server (FastMCP)
├── form_extractor.py      # Optimized form extraction engine
├── form_filler.py         # Form filling automation engine
├── setup_claude.py       # Claude Desktop setup helper
├── __init__.py           # Package initialization
└── mcp/
    └── __init__.py       # MCP subpackage initialization

Configuration Files

├── pyproject.toml         # Package configuration & dependencies
├── requirements.txt       # Python dependencies
├── README.md             # Documentation
├── LICENSE               # MIT License
└── claude_desktop_config.json  # Claude Desktop configuration

Working Directories (Created automatically)

├── cover_letters/         # Generated cover letter files
├── extracted_form_data/   # Form extraction JSON files  
└── applied_jobs.txt      # Job application tracking log

🔧 Claude Desktop Configuration

Add this configuration to your Claude Desktop config.json file:

Config File Location

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Configuration JSON

{
  "mcpServers": {
    "job-application-automator": {
      "command": "C:\\Python313\\python.exe",
      "args": [
        "D:\\Downloads\\job_applier\\form_extractor_project\\job_application_automator\\mcp_server.py"
      ],
      "env": {
        "PYTHONPATH": "D:\\Downloads\\job_applier\\form_extractor_project"
      }
    }
  }
}

🚀 Quick Start Workflow

1. Extract Form Data

Use tool: simple_form_extraction
Input: Job application URL
Output: Structured form data with all fields

2. Fill User Values

Fill the user_input_template array with your personal information

3. Generate Cover Letter (if needed)

Use tool: create_cover_letter  
Input: Company name, job title, cover letter content
Output: File path to generated cover letter

4. Fill Form Automatically

Use tool: simple_form_filling
Input: Complete form data with filled values
Output: Browser opens, form gets filled, ready for review

5. Track Applications

Use tool: get_applied_jobs
Output: Beautiful dashboard of all applications

📋 Dependencies

Required Python Packages

mcp>=1.11.0
playwright>=1.40.0
undetected-playwright>=0.3.0
beautifulsoup4>=4.12.0
lxml>=4.9.0
requests>=2.28.0
geocoder>=1.38.1
pydantic>=2.0.0
typing-extensions>=4.8.0
httpx

Installation

pip install -r requirements.txt
playwright install

✅ Verification

Test MCP Server

python job_application_automator/mcp_server.py

Expected Output

Starting Form Automation MCP Server...
Form Automation Server v1.0.0
Available tools: simple_form_extraction, simple_form_filling, create_cover_letter, get_applied_jobs, health_check
Protocol: Model Context Protocol (MCP)

🔥 Key Features

  • 75% Speed Improvement: Optimized from 45s to 10s extraction time
  • Smart Iframe Handling: Automatically detects and prioritizes Greenhouse iframes
  • Comprehensive Form Filling: Fills almost all form fields with intelligent inference
  • Cover Letter Generation: Creates personalized cover letters automatically
  • Application Tracking: Maintains beautiful dashboard of all applications
  • Stealth Mode: Undetected browser automation to avoid blocking
  • Error Recovery: Robust error handling and logging
  • Cross-Platform: Works on Windows, macOS, and Linux

📝 Usage Notes

  1. Resume Requirement: Always provide resume file path before form filling
  2. Cover Letters: Automatically generated for any cover letter fields found
  3. Browser Behavior: Browser stays open after form filling for manual review
  4. File Organization: All files saved to organized directories automatically
  5. Logging: Comprehensive logging for debugging and monitoring

🤖 Powered by FastMCP & Optimized Form Automation Engine 📊 Performance: 10-second form extraction with 100% field detection accuracy