Commit Graph

3 Commits

Author SHA1 Message Date
Kaouani Jaouad ca764b6766 Add MCP Streamable HTTP transport (JSON-RPC 2.0 at /mcp/rpc)
Implements the real MCP transport per spec 2025-03-26 so Smithery/mcp.so/
glama auto-scanners actually recognize Aegis402 as an MCP server.

- src/mcp_rpc.py: stateless JSON-RPC handler with initialize, ping,
  tools/list, tools/call, notifications, batches, Origin validation
- /mcp/rpc routes wired in src/server.py (POST + 405 GET)
- tools/call enforces x402 via the same middleware as /scan; payment
  required is returned as JSON-RPC error -32001 with the full x402
  challenge in the data field
- mcp_manifest + server-card + sitemap + landing all point to /mcp/rpc
- 9/9 in-process tests pass; prod smoke tests confirm initialize,
  tools/list, paid tools/call, and 405 GET all behave per spec
2026-04-13 13:18:31 +02:00
Kaouani Jaouad a12081e536 Phase 4 distribution audit: server-card.json + auth-wall findings
- Add /.well-known/mcp/server-card.json (Smithery auto-scan endpoint)
- Sitemap.xml now lists both well-known endpoints
- JOURNAL.md: full audit of marketplace auth walls (mcpservers.org=$39, mcp.so/smithery/glama=login)
- JAOUAD_TODO.md: updated with concrete copy-paste instructions for the 3 directories
- STATE.md: phase 4 marked blocked by auth walls until human steps in
- deploy/inspect_*.py + submit_mcpservers.py: playwright probes (kept for re-runs)
2026-04-13 11:57:32 +02:00
Aegis402 Agent c08339e547 Initial public release — Aegis402 v0.1.0
Pay-per-call CVE intelligence MCP server.
x402 native USDC settlement on Base mainnet.
GHSA + CISA KEV data sources, refreshed hourly.
Built and deployed autonomously, zero capital.
2026-04-13 11:47:05 +02:00