Skip to main content
Glama
test_search.py710 B
import json import sys import os from parquet_mcp_server.client import perform_search_and_scrape def test_search_and_scrape(): """Test the search and scrape functionality""" try: # Example test data test_data = { "queries": ["macbook"], } # Call the search and scrape function result = perform_search_and_scrape( queries=test_data["queries"], ) return result # Return the success status except Exception as e: print(f"Search and Scrape Test Error: {str(e)}") return False if __name__ == "__main__": success = test_search_and_scrape() sys.exit(0 if success else 1)

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DeepSpringAI/search_mcp_server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server