Discover MCPs & agents
Loading MCPs and agentsβ¦
Loading MCPs and agentsβ¦
π€ AI agent using mastra.ai with Apify MCP Server. π Runs queries via OpenAI models, taps Apify Actors for web data, and outputs to datasets. π οΈ
GitHub checked 796h ago - refresh overdue
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.
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..."
}
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..."
}
Tweak the input and create your own AI agent to tackle your use case! π
gpt-4o, gpt-4o-mini).clockworks/free-tiktok-scraper and more.π₯ Input
gpt-4o or gpt-4o-mini)["clockworks/free-tiktok-scraper"]) - list of Apify Actors to be served by the MCP server for the agentπ€ Processing with Mastra
π€ Output
This Actor uses the Pay Per Event (PPE) model for cost-effective, usage-based pricing.
| Event | Price (USD) |
|---|---|
| Actor start | $0.10 |
| Task completion | $0.40 |
{
"prompt": "Analyze the posts of @openai and summarize current trends in AI.",
"agentName": "Social Media Analyst",
"agentInstructions": "You are a social media analyst who specializes in analyzing posts from various social media platforms.",
"modelName": "gpt-4o-mini",
"actors": ["clockworks/free-tiktok-scraper"]
}
Dataset entry:
{
"prompt": "Analyze the posts of @openai and summarize current trends in AI.",
"response": "Hereβs a summary of the recent posts from OpenAI's account, highlighting current trends in AI..."
}
This Actor uses the mastra.ai framework to create a generic AI agent that interacts with the Apify ecosystem:
Expandable to any Apify Actor from the Apify Store via the MCP Server configuration.
apify push
OPENAI_API_KEY environment variable.npm install
OPENAI_API_KEY=<your-openai-api-key> apify run -i '{"prompt": "Show me latest post from @openai TikTok profile", "actors": ["clockworks/free-tiktok-scraper"]}'
Ready to build your own AI agent? Deploy this Actor on Apify, tweak the input, and explore the possibilities of mastra.ai and MCP! π€β¨
This Actor is open-source, hosted on GitHub. Want to add features? Open an issue or submit a pull request!
GitHub checked 16h ago - refresh overdue. Recently viewed repositories target hourly refresh.