Prerequisites
- Python: Install Meshagent CLI
pip install 'meshagent[all]'
- Sign up and authenticate with Meshagent CLI.
Required Environment Variables
SCRAPEZY_API_KEY
: Your Scrapezy API key.
Steps
-
Start the MCP server in a Meshagent Room as an agent:
- This command creates a Meshagent Room named
test
and adds a Scrapezy MCP server agent. The service, tools, and chatbot are cleaned up once the room is closed or becomes inactive.
- This command creates a Meshagent Room named
-
Start the chatbot with Scrapezy tool access in the same room:
- This launches a chatbot in the
test
room, using the Scrapezy toolkit. Multiple toolkits can be specified if desired. - A Room link will be provided in the output.
- This launches a chatbot in the
-
Interact with the MCP tools:
- Visit the Room link in your browser and send a message to the agent to use the Scrapezy MCP Server tools.
Project Level Deployment
For production deployments, create persistent MCP server and chatbot services at the Meshagent project level. These services will automatically join every new Room created in the project, making setup seamless and eliminating the need for local servers or chatbots.Steps
-
Deploy the Scrapezy MCP server as a project-level agent:
-
Deploy the chatbot (with toolkit) as a project-level service:
Tools Available
Tools Provided by this Server
Tools | Short Description |
---|---|
extract-structured-data | Extract structured data from a website. |
Tools Details
Tool: extract-structured-data
- Description: Extract structured data from a website.
-
Parameters:
Parameter Type Description prompt
string Prompt to extract data from the website url
string URL of the website to extract data from