Skip to main content
Glama

SpiderFoot MCP Server

test-client.js785 B
// Simple test script for MCP client import MCPClient from './mcp-client-enhanced.js'; async function testClient() { const client = new MCPClient(); try { console.log('1. Initializing MCP session...'); await client.initialize(); console.log('\n2. Listing available tools...'); const tools = await client.listTools(); console.log('Available tools:', JSON.stringify(tools, null, 2)); console.log('\n3. Testing spiderfoot_ping...'); const ping = await client.callTool('spiderfoot_ping'); console.log('Ping response:', JSON.stringify(ping, null, 2)); console.log('\n✅ All tests completed successfully!'); } catch (error) { console.error('\n❌ Test failed:', error.message); process.exit(1); } } testClient();

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/CorbettCajun/Spiderfoot-MCP-Server'

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