spiderfoot_scans
List and manage all past and present SpiderFoot OSINT reconnaissance scans to track investigation progress and access historical data.
Instructions
List all scans (past and present).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:60-60 (handler)MCP tool handler for 'spiderfoot_scans': invokes sf.scans() (SpiderfootClient.scans()) and returns the JSON-stringified result as text content.async () => ({ content: [{ type: 'text', text: JSON.stringify(await sf.scans()) }] })
- src/index.ts:57-61 (registration)Registers the 'spiderfoot_scans' tool on the MCP stdio server, with empty input schema and inline handler.server.registerTool( 'spiderfoot_scans', { title: 'Scans', description: 'List all scans (past and present).', inputSchema: {} }, async () => ({ content: [{ type: 'text', text: JSON.stringify(await sf.scans()) }] }) );
- src/spiderfootClient.ts:39-42 (helper)SpiderfootClient.scans() method: performs HTTP GET to '/scanlist' endpoint to retrieve list of scans.async scans() { const { data } = await this.http.get('/scanlist'); return data; }
- src/index-http.ts:41-45 (registration)Registers the 'spiderfoot_scans' tool on the MCP HTTP server, identical to stdio version.server.registerTool( 'spiderfoot_scans', { title: 'Scans', description: 'List all scans (past and present).', inputSchema: {} }, async () => ({ content: [{ type: 'text', text: JSON.stringify(await sf.scans()) }] }) );