moze c3e657e2a1
All checks were successful
Build and publish Docker image / Build and push CPU image (push) Successful in 2m8s
Build and publish Docker image / Build and push GPU image (push) Successful in 3m1s
fix: return 405 on POST /sse so MCP clients fall back to legacy SSE transport
Modern MCP clients (Claude Code, etc.) probe for Streamable HTTP transport by
POSTing an InitializeRequest to the server URL first. Per MCP spec 2025-11-25,
they fall back to legacy HTTP+SSE only on 400/404/405.

Previously, POST /sse fell through the SPA resource resolver (which had 'sse'
missing from EXCLUDED_PREFIXES) and returned 500, causing clients to abort
instead of retrying with the GET-based SSE handshake.

Fix:
- Add 'sse' to EXCLUDED_PREFIXES so the SPA resolver ignores that path
- Add explicit @PostMapping("/sse") returning 405 Method Not Allowed with
  Allow: GET header — the correct signal for Streamable HTTP probe fallback
2026-05-06 02:08:32 +02:00

trueref

Self-hosted Context7 clone in Java 21 + Spring Boot 3.5: indexes git repositories per tag, exposes a Streamable-HTTP MCP server, REST + Swagger, and a SvelteKit dashboard for ingestion observability and querying.

See:

Quickstart

./mvnw -DskipTests package
java -jar trueref-bootstrap/target/trueref.jar

Browse:

Description
TrueRef — self-hosted documentation retrieval platform for AI coding assistants
Readme 315 KiB
Languages
Java 76.3%
Svelte 11.4%
Python 5.9%
TypeScript 3.4%
Shell 1.6%
Other 1.2%