VOOZH about

URL: https://apify.com/clever_fashion/mcp-website-tool

โ‡ฑ MCP Web Browser Tool โ€“ Instant AI Tools from Any Website ยท Apify


๐Ÿ‘ MCP tools โ€“ Turn Any Website into an AI Tool in 60 Seconds avatar

MCP tools โ€“ Turn Any Website into an AI Tool in 60 Seconds

Pricing

from $20.00 / 1,000 results

Go to Apify Store

MCP tools โ€“ Turn Any Website into an AI Tool in 60 Seconds

Automatically extract buttons, inputs & forms from any site and get ready-to-use MCP (Model Context Protocol) tools for Cursor, Claude, Claude Desktop, Windsurf, Cline, and any MCP-compatible AI.

Pricing

from $20.00 / 1,000 results

Rating

0.0

(0)

Developer

๐Ÿ‘ Data Farming Team

Data Farming Team

Maintained by Community

Actor stats

1

Bookmarked

8

Total users

0

Monthly active users

2 months ago

Last modified

Share

MCP.tools Actor โ€“ Turn any site into an AI tool

๐Ÿ‘ Price
๐Ÿ‘ Python 3.11
๐Ÿ‘ Apify
๐Ÿ‘ Playwright
๐Ÿ‘ License

Transform any website into an AI tool with MCP (Model Context Protocol) tools. This Apify Actor automatically extracts interactive elements from web pages and generates MCP-compatible tool definitions that can be used with Cursor, Claude, and other AI assistants.

๐Ÿ‘ Demo GIF

๐Ÿš€ Features

  • ๐ŸŽฏ Interactive Element Extraction: Automatically finds buttons, inputs, dropdowns, and links
  • ๐Ÿช Cookie Banner Removal: Removes OneTrust, Cookiebot, and other common cookie banners
  • ๐Ÿ”ง MCP Tools Generation: Creates MCP-compatible tool definitions with safe names and descriptions
  • ๐Ÿ“ธ Visual Preview: Generates beautiful preview pages with one-click integration buttons
  • ๐Ÿ›ก๏ธ Error Handling: Automatic screenshot capture and error logging
  • ๐Ÿ“Š Structured Output: Clean JSON format ready for MCP integration

๐Ÿ“‹ Example Input

{
"url":"https://example.com",
"cookies":[
{"name":"session_id","value":"abc123"}
],
"removeBanners":true,
"maxActions":50
}

Input Parameters

  • url (required): The website URL to process
  • cookies (optional): List of cookies to set for authenticated pages
  • removeBanners (default: true): Automatically remove cookie consent banners
  • maxActions (default: 50, min: 5, max: 200): Maximum number of interactive elements to extract

๐Ÿ“ค Example Output

The actor generates three outputs:

1. MCP Tools JSON (mcp-{id}.json)

{
"tools":[
{
"name":"button_submit_form",
"description":"Click the Submit Form button",
"input_schema":{
"type":"object",
"properties":{
"selector":{
"type":"string",
"description":"CSS selector for the Submit Form button",
"default":"#submit-btn"
}
},
"required":["selector"]
}
},
{
"name":"input_username",
"description":"Enter text in the Enter username input field",
"input_schema":{
"type":"object",
"properties":{
"selector":{
"type":"string",
"description":"CSS selector for the Enter username input field",
"default":"#username"
}
},
"required":["selector"]
}
}
]
}

2. Dataset Record

{
"mcpJsonUrl":"https://api.apify.com/v2/key-value-stores/.../records/mcp-abc123.json",
"previewUrl":"https://api.apify.com/v2/key-value-stores/.../records/preview-abc123.html",
"screenshotUrl":"https://api.apify.com/v2/key-value-stores/.../records/screenshot-abc123.png",
"toolCount":12,
"url":"https://example.com",
"runId":"abc123",
"actionsCount":12
}

3. Preview HTML Page

A beautiful preview page with:

  • ๐Ÿ“Š Statistics dashboard (tools count, actions count, run ID)
  • ๐Ÿš€ One-click buttons for Cursor and Claude integration
  • ๐Ÿ“‹ Visual action cards showing all extracted elements
  • ๐Ÿ”ง Pretty-printed MCP JSON for easy inspection

๐Ÿ’ฐ Pricing

$0.03 per run - Affordable pricing for transforming websites into AI tools.

๐Ÿ› ๏ธ Installation

Local Development

  1. Clone the repository:
git clone <repository-url>
cd mcp-website-tool
  1. Install dependencies:
$pip install-e".[dev]"
  1. Install Playwright browsers:
$playwright install chromium

Running Tests

$pytest

๐Ÿ“– Usage

Via Apify Platform

  1. Go to Apify Console
  2. Find the MCP.tools Actor
  3. Configure input with your target URL
  4. Run and get your MCP tools JSON!

Via API

curl-X POST "https://api.apify.com/v2/acts/YOUR_ACTOR_ID/run-sync"\
-H"Authorization: Bearer YOUR_API_TOKEN"\
-H"Content-Type: application/json"\
-d'{
"url": "https://example.com",
"maxActions": 50
}'

๐Ÿ—๏ธ Project Structure

โ”œโ”€โ”€ src/
โ”‚ โ”œโ”€โ”€ main.py # Main Actor entry point
โ”‚ โ”œโ”€โ”€ types.py # Pydantic models for validation
โ”‚ โ”œโ”€โ”€ browser.py # Playwright browser management
โ”‚ โ”œโ”€โ”€ extractor.py # Interactive element extraction
โ”‚ โ”œโ”€โ”€ mcp_generator.py # MCP tools generation
โ”‚ โ””โ”€โ”€ utils.py # Utility functions
โ”œโ”€โ”€ tests/ # Comprehensive test suite
โ”œโ”€โ”€ input_schema.json # Apify input schema
โ”œโ”€โ”€ apify.json # Apify actor configuration
โ””โ”€โ”€ README.md # This file

๐Ÿ”ง Development

Code Quality

black src tests
ruff check src tests
mypy src
pytest

Test-Driven Development

This project follows TDD principles:

  1. Write failing tests (red)
  2. Implement minimal code (green)
  3. Refactor while keeping tests passing

๐Ÿ“ฆ Dependencies

  • apify: Apify SDK for actor development
  • playwright: Browser automation framework
  • pydantic: Data validation using Python type annotations
  • structlog: Structured logging

๐Ÿ“ License

MIT License - see LICENSE file for details

๐Ÿค Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch
  3. Write tests first (TDD)
  4. Implement the feature
  5. Ensure all tests pass
  6. Submit a pull request

๐Ÿ“ž Support

For issues and questions, please open an issue on the repository.


Made with โค๏ธ for the AI community

You might also like

Web Scraper Mcp

loom-stack/web-scraper-mcp

Batch scrape any website via Model Context Protocol. Works with Claude Desktop, Cursor, Cline, and all MCP-compatible AI clients. Smart retries, JS rendering, clean Markdown output, and async crawling for large batches.

๐Ÿ‘ User avatar

The Loom Stack

6

Airbnb MCP Server โ€” Claude, Cursor & AI Agents

makework36/airbnb-mcp-server

Plug-and-play Airbnb MCP server for Claude Desktop, Cursor and any MCP-compatible AI agent. Search listings, compare prices across cities, pull ratings, photos and coordinates โ€” no login, no API key.

๐Ÿ‘ User avatar

deusex machine

18

Actor-to-MCP Bridge โ€” Expose Any Apify Actor as an AI Tool

busy_donkey/actor-mcp-bridge

Wraps any Apify actor as an MCP (Model Context Protocol) server. Connect Claude, GPT, or any AI agent to run Apify scrapers as native tools.

Docs MCP Server Starter โ€” Live Docs: Claude, Cursor & AI Agents

joeslade/docs-mcp-server-starter

Persistent MCP server that gives Claude, Cursor, and any MCP-compatible AI assistant queryable access to technical documentation. Indexes any docs site, exposes search and fetch tools over MCP, caches pages for speed. Ships with templates for Next.js, Tailwind, React, TypeScript, Prisma.

Lead Generation MCP Server โ€” AI Agent Tools

samstorm/lead-gen-mcp-server

MCP server for AI agents. Connect Claude, GPT, or any MCP client to find business leads, hiring companies, building permits, and Amazon product research. One endpoint, 13 lead gen tools.

1

Related articles

Best MCP servers for developers
Read more
How to use MCP with Apify Actors
Read more