
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
🤖 AI agent using mastra.ai with Apify MCP Server. 🚀 Runs queries via OpenAI models, taps Apify Actors for web data, and outputs to datasets. 🛠️
개요
The is a generic AI agent designed to demonstrate the power of the mastra.ai framework when paired with the Apify MCP Server. This Actor leverages the Model Context Protocol (MCP) to connect AI-driven workflows with Apify’s extensive library of Actors, enabling seamless data extraction, web scraping, and task automation. Built with TypeScript and the Apify SDK, this Actor serves as a flexible starting point for developers looking to create custom AI agents that tap into real-time web data and tools. Scrape TikTok posts from a specific account and summarize key trends. Search the web for a topic and distill top findings. Tweak the input and create your own AI agent to tackle your use case! 🚀 - 🤖 : Uses the mastra.ai framework to process prompts with OpenAI models (e.g., gpt-4o, gpt-4o-mini). - 🌐 : Connects to the Apify MCP Server to access tools like clockworks/free-tiktok-scraper and more. - 💰 : Flexible, usage-based billing for Actor runs and task completions. 1.
README
원문 README의 일부입니다. 원문 보기.
Mastra AI Agent with Apify MCP Server
The Mastra AI Agent with Apify MCP Server is a generic AI agent designed to demonstrate the power of the mastra.ai framework when paired with the Apify MCP Server. This Actor leverages the Model Context Protocol (MCP) to connect AI-driven workflows with Apify’s extensive library of Actors, enabling seamless data extraction, web scraping, and task automation.
Built with TypeScript and the Apify SDK, this Actor serves as a flexible starting point for developers looking to create custom AI agents that tap into real-time web data and tools.
🛠️ Use cases
TikTok trend analysis
Scrape TikTok posts from a specific account and summarize key trends.
Example input:
{
"prompt": "Scrape the latest 10 posts from @techcrunch on TikTok and summarize key tech topics.",
"agentName": "TikTok Tech Analyzer",
"agentInstructions": "You are a tech analyst scraping TikTok posts to identify trends.",
"modelName": "gpt-4o-mini",
"actors": ["clockworks/free-tiktok-scraper"]
}
Example output:
{
"prompt": "Scrape the latest 10 posts from @techcrunch on TikTok and summarize key tech topics.",
"response": "Here are the latest 10 posts from TechCrunch on TikTok, along with key tech topics summarized..."
}
Web research synthesis
Search the web for a topic and distill top findings.
Example input:
{
"prompt": "Search the web for recent advances in quantum computing and explain the top 3 breakthroughs.",
"agentName": "Quantum Research Bot",
"agentInstructions": "You are a research assistant that scours the web for technical info.",
"modelName": "gpt-4o",
"actors": ["apify/rag-web-browser"]
}
Example output:
{
"prompt": "Search the web for recent advances in quantum computing and explain the top 3 breakthroughs.",
"response": "Here are the top three recent advances in quantum computing as of 2025..."
}
Your use case 💡
Tweak the input and create your own AI agent to tackle your use case! 🚀
🎯 Features
- 🤖 AI-powered assistance: Uses the mastra.ai framework to process prompts with OpenAI models (e.g.,
gpt-4o,gpt-4o-mini). - 🌐 Apify MCP integration: Connects to the Apify MCP Server to access tools like
clockworks/free-tiktok-scraperand more. - 💰 Pay-per-event pricing: Flexible, usage-based billing for Actor runs and task completions.
🔄 How it works
- 📥 Input
- Prompt (e.g., “Analyze posts from @openai and summarize AI trends”)
- Agent name (e.g., “Helpful Assistant Agent”) - name for the agent
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →