Agenty MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Agenty MCP or direct API to scrape websites, crawl pages, extract structured data, and capture screenshots through natural language.

Agenty MCP logoAgenty MCP
Dcr Oauth

Agenty is a web scraping and automation platform for extracting data from websites. Its MCP server gives AI agents direct access to scraping, crawling, and data automation tools.

25 Tools

Try Agenty MCP now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Agenty MCP
Try asking
TOOLS

Supported Tools

Every Agenty MCP action and event your agent gets out of the box.

Capture screenshot

Capture a full-page or clipped screenshot of a URL or HTML content and return a hosted PNG/JPEG image URL.

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.

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.

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.

Extract data

Extract structured data from a single webpage using CSS selectors or XPath, such as product prices, headlines, or tables.

Extract links

Extract all hyperlinks from a webpage after JavaScript rendering.

Find emails

Find visible and obfuscated email addresses on up to 10 webpages.

Find locations

Find all locations (points of interest) of a brand or chain: stores, restaurants, cafes, hotels, banks, gas stations, pharmacies, and more.

Generate pdf

Generate a PDF from a URL or HTML content and return a hosted PDF URL.

Get accessibility snapshot

Capture the accessibility tree of a webpage: a structured list of its interactive and readable elements.

Get agent

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

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.

Get job

Get the status and progress of a job by id.

Get job result

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

Get page html

Get the rendered HTML of a page after JavaScript execution.

Get page markdown

Convert a webpage or HTML into clean Markdown, removing navigation, footers, scripts, and other boilerplate.

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.

List agents

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

List jobs

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

Schedule agent

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

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.

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).

Start job

Run an agent in the cloud and return the job id to track it.

Stop job

Stop a running job by id.

Trace redirects

Trace all HTTP redirects for a URL and return the full chain with status codes and the final destination.

SETUP GUIDE

Connect Agenty MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["agenty_mcp"],
  mcp: true,
});
Create a session scoped to Agenty MCP and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Scrape product prices from https://example.com and return the results as a table.",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a Agenty MCP request
SETUP GUIDE

Connect Agenty MCP API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["agenty_mcp"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Agenty MCP
3

Run Agenty MCP tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Scrape product prices from https://example.com and return the results as a table." }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the Agenty MCP tool calls through the session, and print the final answer

Why Use Composio?

AI Native Agenty MCP Integration

  • Supports both Agenty MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable scraping and extraction workflows
  • Rich coverage for crawling sites, capturing pages, converting content, and managing scraping jobs

Managed Auth

  • Supports DCR OAuth connections for secure Agenty MCP access
  • Central place to manage, scope, and revoke Agenty MCP access
  • Per user and per environment credentials instead of hard-coded secrets

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve scraping reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Agenty MCP
  • Scoped, least privilege access to Agenty MCP resources and scraping jobs
  • Full audit trail of agent actions to support review and compliance
FRAMEWORKS

Use Agenty MCP with any AI Agent Framework

Choose a Framework you want to connect Agenty MCP with

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with Agenty MCP.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Agenty MCP tool your agent needs.Free to start.

Start building