feat(api): add MCP server for scan management

Add a Model Context Protocol server to apps/api/src/mcp/, exposing
five tools backed by scan-manager.ts:
- start_scan, get_scan, list_scans, cancel_scan, get_report

The MCP server runs on port 3100 (MCP_PORT env var) using
StreamableHTTPServerTransport from @modelcontextprotocol/sdk, alongside
the existing Hono API server.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Test User
2026-04-21 13:13:43 +00:00
parent ec210b3c92
commit badda85e60
5 changed files with 815 additions and 2 deletions
+566
View File
File diff suppressed because it is too large Load Diff