How to integrate Scrapegraph ai MCP with Codex

Codex is one of the most popular coding harnesses out there. And MCP makes the experience even better. With Scrapegraph ai MCP integration, you can draft, triage, summarise emails, and much more, all without leaving the terminal or the app, whichever you prefer.

Scrapegraph ai logoScrapegraph ai
Api Key

Scrapegraph ai is an AI-powered web scraping API that lets you extract structured data from any website using natural language prompts. Easily turn web pages into ready-to-use data for your apps and agents.

27 Tools

Introduction

Codex is one of the most popular coding harnesses out there. And MCP makes the experience even better. With Scrapegraph ai MCP integration, you can draft, triage, summarise emails, and much more, all without leaving the terminal or the app, whichever you prefer.

Also integrate Scrapegraph ai with

Why use Composio?

Apart from a managed and hosted MCP server, you will get:

  • CodeAct: A dedicated workbench that allows GPT to write its code to handle complex tool chaining. Reduces to-and-fro with LLMs for frequent tool calling.
  • Large tool responses: Handle them to minimise context rot.
  • Dynamic just-in-time access to 20,000 tools across 1000+ other Apps for cross-app workflows. It loads the tools you need, so GPTs aren't overwhelmed by tools you don't need.

How to install Scrapegraph ai MCP in Codex

Run the setup command

Run this command in your terminal to add the Composio MCP server to Codex.

Terminal

It will initiate the authentication in a browser window, authorize Codex to access your Composio account.

Composio authentication page

(Optional) Authenticate with OAuth

To authenticate manually, run the login command to open a browser window and authorize Codex to access your Composio account.

bash
codex mcp login composio

Verify the connection

Run codex mcp list to confirm Composio appears as a registered MCP server.

bash
codex mcp list

Codex App

Codex App follows the same approach as VS Code.

  1. Click ⚙️ on the bottom left → MCP Servers → + Add servers → Streamable HTTP:
  2. Fill the header and Key fields with { "x-consumer-api-key" = "ck_*******" }.
  3. The Key is the Composio API key, that you can find on dashboard.composio.dev
  4. Click on Authenticate and authorize Codex to your Composio account and you're all set.
Codex App MCP setup
  1. Restart and verify if it's there in .codex/config.toml
bash
[mcp_servers.composio]
url = "https://connect.composio.dev/mcp"
http_headers = { "x-consumer-api-key" = "ck_*******" }

What is the Scrapegraph ai MCP server, and what's possible with it?

The Scrapegraph ai MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Scrapegraph ai account. It provides structured and secure access to powerful web scraping and data extraction tools, so your agent can perform actions like running AI-powered scrapers, converting webpages to markdown, monitoring job statuses, and managing your account usage with ease.

  • AI-powered web scraping and search: Instruct your agent to extract structured data from any website or perform detailed web searches with parsed, organized results.
  • Webpage to markdown conversion: Let your agent instantly convert any webpage into clean, readable markdown for easy documentation or analysis.
  • Automated job status tracking: Check on the progress and results of ongoing scraping, crawling, or conversion jobs to stay updated without manual effort.
  • Smart multi-page crawling: Direct the agent to launch intelligent crawlers that gather data across multiple linked pages in a single workflow.
  • Account usage monitoring and feedback: Retrieve your remaining credits, track API usage, and submit feedback on completed tasks—all through your AI agent.

Conclusion

You've successfully integrated Scrapegraph ai with Codex using Composio's MCP server. Now you can interact with Scrapegraph ai directly from your terminal, VS Code, or the Codex App using natural language commands.

Key benefits of this setup:

  • Seamless integration across CLI, VS Code, and standalone app
  • Natural language commands for Scrapegraph ai operations
  • Managed authentication through Composio
  • Access to 20,000+ tools across 1000+ apps for cross-app workflows
  • CodeAct workbench for complex tool chaining

Next steps:

  • Try asking Codex to perform various Scrapegraph ai operations
  • Explore cross-app workflows by connecting more toolkits
  • Build automation scripts that leverage Codex's AI capabilities
TOOLS

Supported Tools

Every Scrapegraph ai action and event your agent gets out of the box.

Convert Webpage to Markdown (V2)

Tool to convert any webpage into clean, well-formatted Markdown with full parameter control.

Generate Schema

Generate or modify a JSON schema based on a search query for structured data extraction.

Get Agentic Scraper History

Retrieve paginated history of agentic scraper jobs.

Get Crawler History

Retrieve the history of crawler jobs for your account.

Get Credits

Retrieve remaining and used credits for your ScrapeGraphAI account.

Get Endpoint Suggestions

Tool to get AI-powered suggestions for creating scraping endpoints.

Get Live Session URL

Tool to get a URL for a live browser session.

Get Markdownify History

Tool to retrieve the history of markdownify webpage-to-Markdown conversion jobs.

Get Scrape History

Retrieve the history of scrape jobs from your ScrapeGraphAI account.

Get Searchscraper History

Get the history of searchscraper jobs with pagination support.

Get Sitemap History

Tool to retrieve the history of sitemap extraction jobs.

Get Smartscraper History

Tool to retrieve the history of smartscraper jobs.

Get Usage Timeline

Tool to retrieve usage timeline statistics for your ScrapeGraphAI account.

Get Webhook Logs

Tool to retrieve webhook delivery logs for a crawler job.

List Scheduled Jobs

Retrieve a paginated list of all scheduled scraping jobs for your account.

Markdownify Status

Check the status and retrieve results of a Markdownify webpage-to-Markdown conversion job.

Save Endpoint Configuration

Tool to save custom scraping endpoint configurations to ScrapeGraphAI.

Search Scraper

Perform AI-powered web searches with structured, parsed results.

Check SearchScraper Status

Check the status and results of an asynchronous SearchScraper job.

SmartCrawler Status

Check the status and retrieve results of a SmartCrawler web crawling job.

Start Smart Scraper

Start AI-powered web scraping with natural language extraction prompts.

SmartScraper Status

Check the status and retrieve results of a SmartScraper web scraping job.

Start Smart Crawler (Async)

Tool to start a multi-page web crawl using SmartCrawler for AI-powered data extraction.

Submit Feedback

Submit feedback and ratings for completed ScrapeGraphAI requests.

Submit Product Feedback

Submit product feedback for ScrapeGraphAI.

Convert JSON to TOON Format

Tool to convert JSON data to TOON (Token-Oriented Object Notation) format.

Validate API Key

Validate your ScrapeGraphAI API key to ensure it is active and authorized.

FAQ

Frequently asked questions

With a standalone Scrapegraph ai MCP server, the agents and LLMs can only access a fixed set of Scrapegraph ai tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Scrapegraph ai and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Codex fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Scrapegraph ai tools.

Yes, absolutely. You can configure which Scrapegraph ai scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Scrapegraph ai data and credentials are handled as safely as possible.

Start with Scrapegraph ai.It takes 30 seconds.

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

Start building