#!/usr/bin/env python3
"""
Demo script showing how to use the Exa Websets MCP Server
"""
print("""
Exa Websets MCP Server Demo
===========================
This MCP server provides the following tools:
1. search_exa - Basic Exa search functionality
2. create_webset - Create custom websets
3. get_webset - Get webset information
4. list_websets - List all websets
5. create_marketing_agencies_webset - Quick template for marketing agencies
6. create_tech_companies_webset - Quick template for tech companies
To test the server:
1. Start the MCP Inspector:
npx @modelcontextprotocol/inspector
2. Connect to this server using STDIO transport:
Server command: python /Users/adamanzuoni/exa-websets-mcp/server.py
3. Try these example function calls:
search_exa:
- query: "AI startups"
- num_results: 5
create_webset:
- query: "Marketing agencies in California"
- count: 10
- entity: "company"
- external_id: "ca-marketing-agencies"
create_tech_companies_webset:
- location: "New York"
- stage: "Series A"
- count: 15
The server is ready to use!
""")
if __name__ == "__main__":
print("Run 'python server.py' to start the MCP server")
print("Or use the MCP Inspector to test interactively")
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/adamanz/exa-websets-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server