badda85e60
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>
22 lines
484 B
JSON
22 lines
484 B
JSON
{
|
|
"name": "@shannon/api",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"check": "tsc --noEmit",
|
|
"clean": "rm -rf dist",
|
|
"start": "node dist/index.js"
|
|
},
|
|
"dependencies": {
|
|
"@hono/node-server": "^1.14.0",
|
|
"@kubernetes/client-node": "^1.4.0",
|
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
"@shannon/worker": "workspace:*",
|
|
"@temporalio/client": "^1.11.0",
|
|
"hono": "^4.7.0",
|
|
"zod": "^4.3.6"
|
|
}
|
|
}
|