1// Load a paginated board, then extract each posting as JSON2const board = await mcp.scrape_with_actions({3 url: "https://boards.example.com/jobs?team=engineering",4 actions: [5 { type: "wait", selector: ".job-card", condition: "visible" },6 { type: "click", selector: "button.load-more", clickCount: 3 },7 { type: "scroll", direction: "down", distance: 4000 },8 ],9 formats: ["json", "markdown"],10});11 12// One schema, any board layout13const posting = await mcp.extract_structured({14 url: "https://boards.example.com/jobs/senior-backend-engineer",15 schema: {16 type: "object",17 properties: {18 title: { type: "string" },19 location: { type: "string" },20 salaryRange: { type: "string" },21 remote: { type: "boolean" },22 postedAt: { type: "string" },23 },24 required: ["title"],25 },26});27 28console.log(posting.data);