---
canonical_url: "https://docs.composio.dev/toolkits/agenty_mcp"
markdown_url: "https://docs.composio.dev/toolkits/agenty_mcp.md"
product: "platform"
version: null
last_updated: null
---

# Agenty MCP

Agenty is a web scraping and automation platform. Its MCP server scrapes, crawls and extracts data from websites, captures screenshots and PDFs, converts pages to Markdown, searches marketplace datasets and brand locations, and manages scraping agents and jobs.

- **Category:** web scraping & browser
- **Auth:** DCR_OAUTH
- **Composio-managed OAuth available?** No
- **Tools:** 25
- **Triggers:** 0
- **Slug:** `AGENTY_MCP`
- **Version:** 00000000_00

## Tools

### Capture screenshot

**Slug:** `AGENTY_MCP_CAPTURE_SCREENSHOT`

Capture a full-page or clipped screenshot of a URL or HTML content and return a hosted PNG/JPEG image URL. Supports custom viewport, device emulation, wait conditions, cookies, and image manipulation (resize, rotate, flip).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No |  |
| `html` | string | No |  |
| `device` | string | No |  |
| `cookies` | array | No |  |
| `options` | object | No |  |
| `waitFor` | string | No |  |
| `blockAds` | boolean | No |  |
| `viewport` | object | No |  |
| `anonymous` | object | No |  |
| `userAgent` | string | No |  |
| `manipulate` | object | No |  |
| `addStyleTag` | array | No |  |
| `goToOptions` | object | No |  |
| `addScriptTag` | array | No |  |
| `authenticate` | object | No |  |
| `responseType` | string ("buffer" | "url") | No |  |
| `blockTrackers` | boolean | No |  |
| `rejectResourceTypes` | array | No |  |
| `requestInterceptors` | array | No |  |
| `setExtraHTTPHeaders` | object | No |  |
| `rejectRequestPattern` | array | No |  |
| `setJavaScriptEnabled` | boolean | No |  |

### Create change detection agent

**Slug:** `AGENTY_MCP_CREATE_CHANGE_DETECTION_AGENT`

Create a change detection agent in the Agenty account that monitors part of a webpage (by CSS selector) on a schedule and alerts by email when the content changes, or when given keywords are added or removed. Runs once a day at the time it was created unless another schedule is given. Creates a new agent each time it is called.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | Page to monitor |
| `name` | string | Yes |  |
| `start` | boolean | No | Start a job right after creating the agent. Running a job uses page credits. |
| `emails` | array | No | Email addresses to alert, defaults to the account email |
| `extract` | string ("TEXT" | "HTML" | "ATTR") | No |  |
| `keywords` | array | No | Only alert when these keywords change |
| `schedule` | object | No | Defaults to once a day at the current time (UTC) |
| `selector` | string | No | CSS selector of the content to watch, e.g. ".price" |
| `attribute` | string | No | Attribute name when extract is ATTR |
| `keywords_change` | string ("added" | "removed") | No |  |

### Create crawling agent

**Slug:** `AGENTY_MCP_CREATE_CRAWLING_AGENT`

Create a web crawling agent in the Agenty account that starts at a URL, follows internal links and sitemaps, and extracts the given fields with CSS selectors from every page it finds. Creates a new agent each time it is called.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | Start URL to crawl from |
| `name` | string | Yes |  |
| `start` | boolean | No | Start a job right after creating the agent. Running a job uses page credits. |
| `fields` | array | Yes |  |
| `max_depth` | integer | No | Maximum link depth from the start URL |
| `max_pages` | integer | No | Maximum pages to crawl |
| `crawl_rules` | array | No | Only follow URLs matching these regex patterns, e.g. "/blog/" |
| `description` | string | No |  |
| `process_rules` | array | No | Only extract data from URLs matching these regex patterns, e.g. "/product/" |
| `follow_sitemaps` | boolean | No |  |

### Create scraping agent

**Slug:** `AGENTY_MCP_CREATE_SCRAPING_AGENT`

Create a reusable web scraping agent in the Agenty account that extracts the given fields with CSS selectors from a page, optionally across more URLs and paginated pages. Use extract_data or scrape_page first to test selectors. Creates a new agent each time it is called.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | Page to scrape |
| `name` | string | Yes |  |
| `urls` | array | No | More pages with the same layout to scrape in each job |
| `start` | boolean | No | Start a job right after creating the agent. Running a job uses page credits. |
| `fields` | array | Yes |  |
| `pagination` | object | No | Follow pagination on each page |
| `description` | string | No |  |

### Extract data

**Slug:** `AGENTY_MCP_EXTRACT_DATA`

Extract structured data from a single webpage using CSS selectors or XPath, such as product prices, headlines, or tables. For repeated or multi-page extraction, use create_scraping_agent instead.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No |  |
| `html` | string | No |  |
| `proxy` | string | No | Route through a residential proxy. Pass true or a 2-letter country code. |
| `device` | string | No |  |
| `fields` | array | No |  |
| `render` | boolean | No | Render JavaScript in a real browser. Set false for faster static HTML fetch. |
| `cookies` | array | No |  |
| `waitFor` | string | No |  |
| `blockAds` | boolean | No |  |
| `viewport` | object | No |  |
| `anonymous` | object | No |  |
| `selectors` | object | No | Shorthand for fields: { name: "css selector" } |
| `userAgent` | string | No |  |
| `addStyleTag` | array | No |  |
| `goToOptions` | object | No |  |
| `addScriptTag` | array | No |  |
| `authenticate` | object | No |  |
| `blockTrackers` | boolean | No |  |
| `rejectResourceTypes` | array | No |  |
| `requestInterceptors` | array | No |  |
| `setExtraHTTPHeaders` | object | No |  |
| `rejectRequestPattern` | array | No |  |
| `setJavaScriptEnabled` | boolean | No |  |

### Extract links

**Slug:** `AGENTY_MCP_EXTRACT_LINKS`

Extract all hyperlinks from a webpage after JavaScript rendering. Use for crawling, sitemap building, and link auditing.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No |  |
| `html` | string | No |  |
| `device` | string | No |  |
| `cookies` | array | No |  |
| `waitFor` | string | No |  |
| `blockAds` | boolean | No |  |
| `viewport` | object | No |  |
| `anonymous` | object | No |  |
| `userAgent` | string | No |  |
| `addStyleTag` | array | No |  |
| `goToOptions` | object | No |  |
| `addScriptTag` | array | No |  |
| `authenticate` | object | No |  |
| `blockTrackers` | boolean | No |  |
| `rejectResourceTypes` | array | No |  |
| `requestInterceptors` | array | No |  |
| `setExtraHTTPHeaders` | object | No |  |
| `rejectRequestPattern` | array | No |  |
| `setJavaScriptEnabled` | boolean | No |  |

### Find emails

**Slug:** `AGENTY_MCP_FIND_EMAILS`

Find visible and obfuscated email addresses on up to 10 webpages. Use for contact discovery and lead research.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No |  |
| `urls` | array | No |  |

### Find locations

**Slug:** `AGENTY_MCP_FIND_LOCATIONS`

Find all locations (points of interest) of a brand or chain: stores, restaurants, cafes, hotels, banks, gas stations, pharmacies, and more. Use FIRST whenever the user asks for the locations, stores, branches, outlets, or addresses of a brand, or how many locations it has in a country, state, or city; do not scrape the brand website or its sitemap for this. Returns the best matching ready-made dataset with total locations, counts by state and city, sample rows (address, coordinates, phone, hours), and a link to download all records.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `brand` | string | Yes | Brand name or website, e.g. "Culver's", "starbucks", "culvers.com" |
| `country` | string | No | ISO country code, e.g. "US", "GB", "IN" |

### Generate pdf

**Slug:** `AGENTY_MCP_GENERATE_PDF`

Generate a PDF from a URL or HTML content and return a hosted PDF URL. Supports page formats (A4, Letter, etc.), margins, headers/footers, landscape orientation, and print media emulation.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No |  |
| `html` | string | No |  |
| `device` | string | No |  |
| `rotate` | string ("90" | "180" | "-90") | No |  |
| `cookies` | array | No |  |
| `options` | object | No |  |
| `waitFor` | string | No |  |
| `blockAds` | boolean | No |  |
| `viewport` | object | No |  |
| `anonymous` | object | No |  |
| `userAgent` | string | No |  |
| `addStyleTag` | array | No |  |
| `goToOptions` | object | No |  |
| `addScriptTag` | array | No |  |
| `authenticate` | object | No |  |
| `emulateMedia` | string ("screen" | "print") | No |  |
| `responseType` | string ("buffer" | "url") | No |  |
| `blockTrackers` | boolean | No |  |
| `rejectResourceTypes` | array | No |  |
| `requestInterceptors` | array | No |  |
| `setExtraHTTPHeaders` | object | No |  |
| `rejectRequestPattern` | array | No |  |
| `setJavaScriptEnabled` | boolean | No |  |

### Get accessibility snapshot

**Slug:** `AGENTY_MCP_GET_ACCESSIBILITY_SNAPSHOT`

Capture the accessibility tree of a webpage: a structured list of its interactive and readable elements. Use for automated testing, page navigation, and accessibility audits.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes |  |

### Get agent

**Slug:** `AGENTY_MCP_GET_AGENT`

Get an agent by id, including its full configuration, fields, and schedule.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `agent_id` | string | Yes | Agent id, 10 characters |

### Get dataset

**Slug:** `AGENTY_MCP_GET_DATASET`

Get details of a marketplace dataset by slug (from search_datasets): description, total records, price, sample rows, and record counts by state and city. Use it to answer questions such as how many stores a brand has in each state. Only a few sample rows are included; share buy_url with the user to purchase full access and download all records.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `slug` | string | Yes | Dataset slug from search_datasets |

### Get job

**Slug:** `AGENTY_MCP_GET_JOB`

Get the status and progress of a job by id. A job is finished when completed_at or stopped_at is set.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `job_id` | integer | Yes |  |

### Get job result

**Slug:** `AGENTY_MCP_GET_JOB_RESULT`

Get the data scraped by a job as JSON rows, paged with limit and offset.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No |  |
| `job_id` | integer | Yes |  |
| `offset` | integer | No |  |

### Get page html

**Slug:** `AGENTY_MCP_GET_PAGE_HTML`

Get the rendered HTML of a page after JavaScript execution. Use for single-page applications and dynamically loaded content.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No |  |
| `html` | string | No |  |
| `device` | string | No |  |
| `cookies` | array | No |  |
| `waitFor` | string | No |  |
| `blockAds` | boolean | No |  |
| `viewport` | object | No |  |
| `anonymous` | object | No |  |
| `userAgent` | string | No |  |
| `addStyleTag` | array | No |  |
| `goToOptions` | object | No |  |
| `addScriptTag` | array | No |  |
| `authenticate` | object | No |  |
| `blockTrackers` | boolean | No |  |
| `rejectResourceTypes` | array | No |  |
| `requestInterceptors` | array | No |  |
| `setExtraHTTPHeaders` | object | No |  |
| `rejectRequestPattern` | array | No |  |
| `setJavaScriptEnabled` | boolean | No |  |

### Get page markdown

**Slug:** `AGENTY_MCP_GET_PAGE_MARKDOWN`

Convert a webpage or HTML into clean Markdown, removing navigation, footers, scripts, and other boilerplate. Best choice for reading or summarizing a page. Can strip chosen HTML tags and resolve relative links to absolute URLs.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No |  |
| `html` | string | No |  |
| `device` | string | No |  |
| `cookies` | array | No |  |
| `waitFor` | string | No |  |
| `blockAds` | boolean | No |  |
| `viewport` | object | No |  |
| `anonymous` | object | No |  |
| `userAgent` | string | No |  |
| `ignoreTags` | array | No |  |
| `addStyleTag` | array | No |  |
| `goToOptions` | object | No |  |
| `addScriptTag` | array | No |  |
| `authenticate` | object | No |  |
| `blockTrackers` | boolean | No |  |
| `removeDataImages` | boolean | No |  |
| `rejectResourceTypes` | array | No |  |
| `removeExternalLinks` | boolean | No |  |
| `requestInterceptors` | array | No |  |
| `setExtraHTTPHeaders` | object | No |  |
| `rejectRequestPattern` | array | No |  |
| `setJavaScriptEnabled` | boolean | No |  |
| `relativeToAbsoluteLinks` | boolean | No |  |

### Get sitemap urls

**Slug:** `AGENTY_MCP_GET_SITEMAP_URLS`

Discover and parse the sitemaps of a website (sitemap.xml, sitemap indexes, and linked sub-sitemaps) and return the list of URLs. Supports URL exclusion patterns.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes |  |
| `exclusions` | array | No |  |
| `findSitemaps` | boolean | No |  |

### List agents

**Slug:** `AGENTY_MCP_LIST_AGENTS`

List the scraping, crawling, and change detection agents in the Agenty account, newest first.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No |  |
| `offset` | integer | No |  |
| `search` | string | No | Filter agents by name |

### List jobs

**Slug:** `AGENTY_MCP_LIST_JOBS`

List recent jobs in the Agenty account with status, pages processed, and run time, newest first.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No |  |
| `offset` | integer | No |  |

### Schedule agent

**Slug:** `AGENTY_MCP_SCHEDULE_AGENT`

Set or replace the schedule of an agent so it runs automatically, using a cron expression in UTC.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `cron` | string | Yes | Cron expression in UTC, e.g. "0 9 * * *" for daily at 9 AM |
| `enabled` | boolean | No | Set false to pause the schedule |
| `agent_id` | string | Yes |  |
| `description` | string | No | Human readable schedule, e.g. "Every day at 9 AM" |

### Scrape page

**Slug:** `AGENTY_MCP_SCRAPE_PAGE`

Scrape a URL or HTML string after full page load and return the HTML, or specific fields when `fields` or `selectors` are given. Supports JavaScript rendering, cookies, request blocking, and wait conditions for dynamic pages.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No |  |
| `html` | string | No |  |
| `proxy` | string | No | Route through a residential proxy. Pass true or a 2-letter country code. |
| `device` | string | No |  |
| `fields` | array | No |  |
| `render` | boolean | No | Render JavaScript in a real browser. Set false for faster static HTML fetch. |
| `cookies` | array | No |  |
| `waitFor` | string | No |  |
| `blockAds` | boolean | No |  |
| `viewport` | object | No |  |
| `anonymous` | object | No |  |
| `selectors` | object | No | Shorthand for fields: { name: "css selector" } |
| `userAgent` | string | No |  |
| `addStyleTag` | array | No |  |
| `goToOptions` | object | No |  |
| `addScriptTag` | array | No |  |
| `authenticate` | object | No |  |
| `blockTrackers` | boolean | No |  |
| `rejectResourceTypes` | array | No |  |
| `requestInterceptors` | array | No |  |
| `setExtraHTTPHeaders` | object | No |  |
| `rejectRequestPattern` | array | No |  |
| `setJavaScriptEnabled` | boolean | No |  |

### Search datasets

**Slug:** `AGENTY_MCP_SEARCH_DATASETS`

Search ready-made datasets in the Agenty marketplace: lists of companies, startups, investors, jobs, and software, or store, restaurant, and hotel locations of brands (prefer find_locations for a brand's locations). Search by brand name, keyword, or website domain/URL (e.g. "starbucks.com"), and filter by country. Returns dataset ids, slugs, record counts, prices, and links. Use get_dataset with a slug for sample rows and location counts.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No |  |
| `offset` | integer | No |  |
| `search` | string | Yes | Brand name, keyword, domain, or URL, e.g. "starbucks", "walmart stores", "starbucks.com" |
| `country` | string | No | ISO country code, e.g. "US", "GB", "IN" |

### Start job

**Slug:** `AGENTY_MCP_START_JOB`

Run an agent in the cloud and return the job id to track it. Uses page credits. Only one job can run per agent at a time.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `agent_id` | string | Yes |  |

### Stop job

**Slug:** `AGENTY_MCP_STOP_JOB`

Stop a running job by id. Data already scraped is kept.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `job_id` | integer | Yes |  |

### Trace redirects

**Slug:** `AGENTY_MCP_TRACE_REDIRECTS`

Trace all HTTP redirects for a URL and return the full chain with status codes and the final destination. Use for debugging redirect loops, verifying canonical URLs, and auditing link health.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No |  |
| `html` | string | No |  |
| `device` | string | No |  |
| `cookies` | array | No |  |
| `waitFor` | string | No |  |
| `blockAds` | boolean | No |  |
| `viewport` | object | No |  |
| `anonymous` | object | No |  |
| `userAgent` | string | No |  |
| `addStyleTag` | array | No |  |
| `goToOptions` | object | No |  |
| `addScriptTag` | array | No |  |
| `authenticate` | object | No |  |
| `blockTrackers` | boolean | No |  |
| `rejectResourceTypes` | array | No |  |
| `requestInterceptors` | array | No |  |
| `setExtraHTTPHeaders` | object | No |  |
| `rejectRequestPattern` | array | No |  |
| `setJavaScriptEnabled` | boolean | No |  |
