// Simple test script to demonstrate the MCP server
// This would typically be called by an MCP client
const testUrl = "https://example.com"
console.log(`Testing MCP server with URL: ${testUrl}`)
console.log("The server should now be running and ready to accept requests.")
console.log("Use an MCP client to call the 'generateLocator' tool with a URL parameter.")
console.log("Example tool call:")
console.log(`{
"method": "tools/call",
"params": {
"name": "generateLocator",
"arguments": {
"url": "${testUrl}"
}
}
}`)
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/jprealini/cypress-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server