Skip to main content
Glama

spiderfoot_scans

List and manage all SpiderFoot OSINT reconnaissance scans, both active and completed, to track investigation progress and access collected data.

Instructions

List all scans (past and present).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • src/index.ts:57-61 (registration)
    Registers the 'spiderfoot_scans' MCP tool. Includes empty input schema and an inline handler function that calls sf.scans() to list all scans and returns the JSON-stringified result as text content.
    server.registerTool( 'spiderfoot_scans', { title: 'Scans', description: 'List all scans (past and present).', inputSchema: {} }, async () => ({ content: [{ type: 'text', text: JSON.stringify(await sf.scans()) }] }) );
  • The supporting 'scans()' method in SpiderfootClient class, which performs a GET request to the Spiderfoot API endpoint '/scanlist' to retrieve the list of all scans.
    async scans() { const { data } = await this.http.get('/scanlist'); return data; }
  • Identical registration of the 'spiderfoot_scans' tool in the HTTP server variant of the MCP server.
    server.registerTool( 'spiderfoot_scans', { title: 'Scans', description: 'List all scans (past and present).', inputSchema: {} }, async () => ({ content: [{ type: 'text', text: JSON.stringify(await sf.scans()) }] }) );
  • Factory function to create the SpiderfootClient instance (sf) from environment variables, used by the tool handler.
    export function makeSpiderfootClientFromEnv() { const baseUrl = process.env.SPIDERFOOT_BASE_URL || 'http://127.0.0.1:5001'; const username = process.env.SPIDERFOOT_USER; const password = process.env.SPIDERFOOT_PASS; return new SpiderfootClient({ baseUrl, username, password }); }

Latest Blog Posts

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