Skip to main content
Glama

SpiderFoot MCP Server

test-direct-client.js993 B
// Test script for direct SpiderFoot client import SpiderFootClient from './spiderfoot-direct-client.js'; async function testDirectClient() { const client = new SpiderFootClient(); try { console.log('=== Testing Direct SpiderFoot Client ==='); // 1. Ping the server console.log('\n1. Pinging server...'); const ping = await client.ping(); console.log('Server response:', ping); // 2. List available modules console.log('\n2. Fetching available modules...'); const modules = await client.listModules(); console.log(`Found ${Object.keys(modules).length} modules`); // 3. List existing scans console.log('\n3. Listing existing scans...'); const scans = await client.listScans(); console.log('Existing scans:', scans); console.log('\n✅ Direct client test completed successfully!'); } catch (error) { console.error('\n❌ Test failed:', error.message); process.exit(1); } } testDirectClient();

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