BREAKING CHANGE: GET /sse and POST /messages now answer 404. Every client
connects over Streamable HTTP at /mcp. The sse remote is removed from
server.json.
- Add unauthenticated GET /health ({status, version}); no session, no
rate-limit touch.
- Add any-origin CORS across the whole HTTP surface, incl. OPTIONS
preflight and error responses; mcp-session-id exposed to browsers.
- Unify every version string at 2.0.0; both McpServer identities now read
the version from package.json at build time instead of hardcoding it.
- Raise @modelcontextprotocol/sdk floor to ^1.30.0 and sync the local
install with the lockfile.
- Tests: retire the SSE-shaped auth-gating suite (its unique
process-liveness test is ported to streamable-http-gating), move the
shared harness and rate-limit suite to StreamableHTTPClientTransport,
and add http-surface.test.ts for CORS//health//sse-404 coverage.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
20 lines
395 B
JSON
20 lines
395 B
JSON
{
|
|
"name": "@apexfusion/vector-mcp-shared",
|
|
"version": "2.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"exports": {
|
|
"./tx": "./src/tx.ts",
|
|
"./types": "./src/types.ts",
|
|
"./config": "./src/config.ts",
|
|
"./provider": "./src/provider.ts"
|
|
},
|
|
"dependencies": {
|
|
"@lucid-evolution/lucid": "^0.4.29",
|
|
"@noble/hashes": "^1.7.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
}
|
|
}
|