Skip to main content
Glama

SpiderFoot MCP Server

Dockerfile880 B
# syntax=docker/dockerfile:1 # ---------- Build stage ---------- FROM node:20-alpine AS builder WORKDIR /app # Install deps COPY package.json package-lock.json* ./ RUN npm ci || npm install # Copy sources COPY tsconfig.json ./ COPY src ./src # Build to dist (compile TS) RUN npx tsc -p tsconfig.json # ---------- Runtime stage ---------- FROM node:20-alpine AS runtime WORKDIR /app # Copy only runtime artifacts COPY --from=builder /app/package.json ./package.json COPY --from=builder /app/node_modules ./node_modules COPY --from=builder /app/dist ./dist COPY .env.example ./.env.example # Environment defaults ENV NODE_ENV=production \ MCP_HTTP_PORT=3000 \ SPIDERFOOT_BASE_URL=http://host.docker.internal:5001 \ ALLOW_START_SCAN=true # Expose HTTP port for Streamable HTTP transport EXPOSE 3000 # Start the HTTP MCP server CMD ["node", "dist/index-http.js"]

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