Scrapling MCP Server
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
D4D4Vinci/Scrapling107k1,982 new stars in the last 7 days
FreeScout ticket management with AI-powered analysis, search filters, and structured outputs.
An MCP (Model Context Protocol) server for FreeScout helpdesk ticket management. This server provides tools to interact with FreeScout tickets, analyze issues, and manage customer responses.
buildServer factory serves both 2025-era and 2026 MCP stdio clients@modelcontextprotocol/server 2.x with Zod 4 input schemas.structuredContent for stable analysis and write-operation results without declaring output schemas.204 No Content update responses and records the user ID that initiated a ticket update.The easiest way to use this MCP server is with npx:
Add this to your Claude Desktop settings (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"freescout": {
"command": "npx",
"args": ["@verygoodplugins/mcp-freescout@latest"],
"env": {
"FREESCOUT_URL": "https://your-freescout-domain.com",
"FREESCOUT_API_KEY": "your-api-key-here"
}
}
}
}
Add this to your Cursor MCP settings:
Method 1: Via Cursor Settings UI
Method 2: Manual Configuration
Add this to your Cursor settings.json or create ~/.cursor/mcp.json:
{
"mcp": {
"servers": {
"freescout": {
"command": "npx",
"args": ["@verygoodplugins/mcp-freescout@latest"],
"env": {
"FREESCOUT_URL": "https://your-freescout-domain.com",
"FREESCOUT_API_KEY": "your-api-key-here"
}
}
}
}
}
The server communicates only with the FreeScout instance configured in its environment.
If you prefer to install and run the server locally:
git clone https://github.com/verygoodplugins/mcp-freescout.git
cd mcp-freescout
npm install
npm run build
{
"mcpServers": {
"freescout": {
"command": "node",
"args": ["/path/to/mcp-freescout/dist/index.js"],
"env": {
"FREESCOUT_URL": "https://your-freescout-domain.com",
"FREESCOUT_API_KEY": "your-api-key-here"
}
}
}
}
Run the server directly:
npm start
Or in development mode with auto-reload:
npm run dev
freescout_get_ticketFetch a FreeScout ticket with all its details and conversation threads.
Parameters:
ticket (required): Ticket ID, number, or FreeScout URLincludeThreads (optional): Include conversation threads (default: true). When false, threads are omitted from the result, though FreeScout may still include them in the upstream HTTP response.Natural Language Examples:
Example:
{
"ticket": "12345",
"includeThreads": true
}
Example: Fetching a FreeScout ticket with conversation threads
freescout_analyze_ticketAnalyze a ticket to determine issue type, root cause, and suggested solutions.
Parameters:
ticket (required): Ticket ID, number, or FreeScout URLNatural Language Examples:
Returns:
Example: Intelligent ticket analysis with issue classification
freescout_add_noteAdd an internal note to a ticket for team communication.
Parameters:
ticket (required): Ticket ID, number, or FreeScout URLnote (required): The note contentuserId (optional): User ID for the note (defaults to env setting)Natural Language Examples:
freescout_update_ticketUpdate ticket status and/or assignment.
Parameters:
ticket (required): Ticket ID, number, or FreeScout URLstatus (optional): New status ('active', 'pending', 'closed', 'spam')assignTo (optional): User ID to assign the ticket toNatural Language Examples:
freescout_create_draft_replyCreate a draft reply in FreeScout that can be edited before sending. This tool lets the LLM generate the reply content and saves it directly to FreeScout as a draft. Automatically converts Markdown formatting to HTML for proper display in FreeScout.
Parameters:
ticket (required): Ticket ID, number, or FreeScout URLreplyText (required): The draft reply content (generated by the LLM, supports Markdown formatting)userId (optional): User ID creating the draft (defaults to env setting)to (optional): List of TO recipients. Omit to preserve existing recipients; pass [] to clear.cc (optional): List of CC recipients. Omit to preserve existing recipients; pass [] to clear.bcc (optional): List of BCC recipients. Omit to preserve existing recipients; pass [] to clear.Natural Language Examples:
If recipient fields are omitted, the server preserves the current conversation recipients from FreeScout when available. If FreeScout does not expose existing to recipients on the conversation, its normal default customer recipient behavior is preserved.
The result includes draftId when FreeScout returns the new thread ID. If creation succeeds without an ID, draftId is null; the draft was still created and should not be retried solely to obtain its ID.
Markdown Support:
**text** or __text__ → text*text* or _text_ → textCode: `code` → code1. item → proper ordered lists- item or * item → proper unordered listsWorkflow:
freescout_get_ticket_context to get customer info and ticket detailsfreescout_create_draft_reply to save the draft in FreeScout (Markdown automatically converted to HTML)Example: Draft reply workflow with personalized customer response
freescout_get_ticket_contextGet ticket context and customer information to help craft personalized replies.
Parameters:
ticket (required): Ticket ID, number, or FreeScout URLNatural Language Examples:
Returns:
Thread dates accept FreeScout's createdAt and the legacy created_at spelling. Messages without a usable timestamp remain in context with date: null; teamMessagesOmittedCount reports when the three-message context limit excludes entries. When a search preview encounters undated customer or agent messages, undatedMessageCount indicates that its dated lastMessage may not be the most recent.
freescout_search_ticketsSearch for tickets across your FreeScout instance.
Parameters:
query (required): Search querystatus (optional): Filter by status ('active', 'pending', 'closed', 'spam', 'all')mailboxId (optional): Filter by specific mailbox ID (searches all mailboxes if not specified)Natural Language Examples:
Search Parameters (v2.0+):
textSearch (optional): Plain text search in ticket content/subjectassignee (optional): 'unassigned' | 'any' | user_id (number)status (optional): 'active' | 'pending' | 'closed' | 'spam' | 'all'state (optional): 'published' | 'deleted'mailboxId (optional): Filter by specific mailbox IDupdatedSince (optional): ISO date or relative time like "7d", "24h", "30m"createdSince (optional): ISO date or relative timetag (optional): Filter by a FreeScout tag name (requires the Tags module)page (optional): Page number for pagination (min: 1)pageSize (optional): Results per page (min: 1, max: 100)Search Tips for AI Agents:
assignee: "unassigned" with status: "active"updatedSince: "7d" for last 7 daysassignee: 123 (user ID number){ textSearch: "error", assignee: "unassigned", updatedSince: "24h" }freescout_get_mailboxesGet a list of all available mailboxes in your FreeScout instance.
Parameters: None
Natural Language Examples:
freescout_tagsList tags or manage the tags on a ticket. This tool requires FreeScout's Tags module and is marked as potentially destructive because it can replace or clear tags.
action: list, add, remove, or replace.ticket: ticket ID, number, or URL; required for updates and optional for listing. Without it, list returns global tags.tags: tag names for an update. replace with [] clears the ticket's tags; add and remove require at least one name.page and pageSize: optional for list only; pageSize is at most 100.Add and remove first read every page of the ticket's tags and refuse to write if the list is incomplete. FreeScout replaces the full list without a conditional update, so concurrent changes made between the read and write can still be overwritten. Replacing with an unknown tag name creates that tag in FreeScout.
await mcp.callTool('freescout_tags', { action: 'add', ticket: '12345', tags: ['urgent'] });
await mcp.callTool('freescout_search_tickets', { tag: 'urgent', status: 'active' });
// Analyze a ticket to understand the issue
await mcp.callTool('freescout_analyze_ticket', {
ticket: '12345',
});
// 1. Analyze the ticket to understand the issue
const analysis = await mcp.callTool('freescout_analyze_ticket', {
ticket: '12345',
});
// 2. Get ticket context for personalized reply
const context = await mcp.callTool('freescout_get_ticket_context', {
ticket: '12345',
});
// 3. Create a draft reply directly in FreeScout
await mcp.callTool('freescout_create_draft_reply', {
ticket: '12345',
replyText: `Hi ${context.customer.name},
Thank you for reaching out! Based on my analysis, I can see that ${analysis.issueDescription}.
Here's what I found:
1. **Issue Type**: ${analysis.isBug ? 'Bug' : 'Configuration/Feature Request'}
2. **Root Cause**: ${analysis.rootCause || 'Under investigation'}
I'll look into this and get back to you shortly with a solution.
Best regards,
[Your name]`,
cc: ['[email protected]'],
});
// 4. Update ticket status and assignment
await mcp.callTool('freescout_update_ticket', {
ticket: '12345',
status: 'active',
assignTo: 1,
});
// 5. Add an internal note with findings
await mcp.callTool('freescout_add_note', {
ticket: '12345',
note: `Analysis complete:
- Is Bug: ${analysis.isBug}
- Third-party Issue: ${analysis.isThirdPartyIssue}
- Root Cause: ${analysis.rootCause}`,
});
// 1. Get ticket context for personalized reply
const context = await mcp.callTool('freescout_get_ticket_context', {
ticket: '34811',
});
// 2. Create draft reply in FreeScout (LLM crafts the content)
await mcp.callTool('freescout_create_draft_reply', {
ticket: '34811',
replyText: `Hi ${context.customer.name},
Thank you for reporting the HighLevel OAuth authorization issue! Your experience with the EngageBay LiveChat plugin conflict has been really valuable.
Based on what we learned from your case, I've added a new plugin conflict detection system to WP Fusion. In the next update (v3.46.7), users will see:
🔍 **Plugin Conflict Detection**
- Automatic detection of known conflicting plugins
- Warning messages before HighLevel authorization
- Clear guidance when conflicts are detected
This should prevent the confusion you experienced and help other users avoid similar issues.
The update should be available within the next few weeks. Thanks for your patience and for helping us improve the plugin!
Best regards,
Jack`,
to: ['[email protected]'],
cc: ['[email protected]'],
});
// The draft is now saved in FreeScout and can be reviewed/edited before sending
// For third-party issues or feature requests
const reply = await mcp.callTool('freescout_create_draft_reply', {
ticket: '12345',
replyText: 'This is a limitation of the Elementor plugin that we cannot override.',
});
FreeScout API Client (freescout-api.ts)
Ticket Analyzer (ticket-analyzer.ts)
MCP Server (index.ts)
MCP client (2025 or 2026) → stdio entry → buildServer → FreeScout API
↓
Ticket analysis
↓
Response to client
npm run dev
npm test
npm run lint
npm run build
| Variable | Description | Example |
|---|---|---|
FREESCOUT_URL | Your FreeScout instance URL | https://support.example.com |
FREESCOUT_API_KEY | FreeScout API key | your-api-key-here |
The server starts and lists its tools without these variables. They are checked when a tool is called, and a call made without them returns an error that names the missing variables.
| Variable | Description | Default |
|---|---|---|
FREESCOUT_DEFAULT_USER_ID | Default user ID for assignments | 1 |
For more control, you can specify additional environment variables:
{
"mcpServers": {
"freescout": {
"command": "npx",
"args": ["@verygoodplugins/mcp-freescout@latest"],
"env": {
"FREESCOUT_URL": "https://support.example.com",
"FREESCOUT_API_KEY": "your-api-key",
"FREESCOUT_DEFAULT_USER_ID": "2"
}
}
}
}
The freescout_search_tickets tool has been redesigned with explicit filter parameters. The old query-string syntax is no longer supported.
Before (v1.x):
{
"query": "assignee:null",
"status": "active"
}
After (v2.0):
{
"assignee": "unassigned",
"status": "active"
}
For text search:
{
"textSearch": "authentication error",
"assignee": "unassigned",
"updatedSince": "7d"
}
"7d", "24h", "30m" instead of calculating ISO datespage and pageSize parameters for large result setsstructuredContent; tools do not declare output schemasThe server now automatically retries failed requests with exponential backoff. No configuration needed - it just works more reliably.
Contributions are welcome! Please:
GPL-3.0 License - see LICENSE file for details
For issues, questions, or suggestions:
Built with 🧡 by Very Good Plugins
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
D4D4Vinci/Scrapling107k1,982 new stars in the last 7 days
Fetches web content and converts it to Markdown for an LLM to read
MOmodelcontextprotocol/servers92k200 new stars in the last 7 days
Keyword research, site audits, rank tracking and AI visibility for your AI agent.
EVevery-app/open-seo29k630 new stars in the last 7 days
Search and discover Agent Skills from the skills.sh registry. Powered by HAPI MCP server.
AGagentskills/agentskills28k208 new stars in the last 7 days
The search engine for AI agents: cited answers from your local code, docs, specs and logs.
XExerj-org/xerj23k2,746 new stars in the last 7 days
Run ready-made Apify scrapers to extract data from social media, maps and e-commerce sites.
APapify/apify-mcp-server19k1,018 new stars in the last 7 days