Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore(deps): bump mcp to 1.28 (#12884)

Nimarc1759cbc1aa2
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 4756c9e533..af174ca50a 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -63,7 +63,7 @@ importers:
next-auth:
specifier: ^4.24.13
- version: 4.24.13(patch_hash=7b301d2607ee3cd8bba4f6978ba8cdd7a616b59d6e414191da3b38950ce08e66)([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])
+ version: 4.24.13(patch_hash=7b301d2607ee3cd8bba4f6978ba8cdd7a616b59d6e414191da3b38950ce08e66)([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])
zod:
specifier: 4.3.6
version: 4.3.6
@@ -231,10 +231,10 @@ importers:
version: 10.3.0
langchain:
specifier: ^1.2.15
langfuse-langchain:
specifier: 3.38.6
lodash:
specifier: ^4.17.23
version: 4.17.23
@@ -243,7 +243,7 @@ importers:
version: 4.1.1
next-auth:
specifier: ^4.24.13
- version: 4.24.13(patch_hash=7b301d2607ee3cd8bba4f6978ba8cdd7a616b59d6e414191da3b38950ce08e66)([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])
+ version: 4.24.13(patch_hash=7b301d2607ee3cd8bba4f6978ba8cdd7a616b59d6e414191da3b38950ce08e66)([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])
nodemailer:
specifier: ^7.0.11
version: 7.0.11
@@ -375,8 +375,8 @@ importers:
specifier: ^1.2.3
version: 1.2.3
'@modelcontextprotocol/sdk':
- specifier: 1.27.1
- version: 1.27.1(@cfworker/[email protected])([email protected])
+ specifier: 1.28.0
+ version: 1.28.0(@cfworker/[email protected])([email protected])
'@mui/material':
specifier: ^7.3.1
@@ -610,7 +610,7 @@ importers:
version: 0.5.9
langchain:
specifier: ^1.2.15
langfuse:
specifier: 3.38.4
version: 3.38.4
@@ -628,7 +628,7 @@ importers:
next-auth:
specifier: ^4.24.13
- version: 4.24.13(patch_hash=7b301d2607ee3cd8bba4f6978ba8cdd7a616b59d6e414191da3b38950ce08e66)([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])
+ version: 4.24.13(patch_hash=7b301d2607ee3cd8bba4f6978ba8cdd7a616b59d6e414191da3b38950ce08e66)([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])
next-query-params:
specifier: ^5.1.0
@@ -2310,8 +2310,8 @@ packages:
peerDependencies:
react: '>= 16'
- resolution: {integrity: sha512-dr8/3zEaB+p0D2n/IUrlPF1HZm586qgJNXK1a9fhg/PzdtkK7Ksd5l312tJX2yBuALqDYBlG20QEbayqPyxn+g==}
+ resolution: {integrity: sha512-txsUW4SQ1iilgE0l9/e9VQWmELXifEFvmdA1j6WFh/aFPj99hIntrSsq/if0UWyGVkmrRPKA1wCeP+UCr1B9Uw==}
engines: {node: '>=18.14.1'}
peerDependencies:
hono: ^4
@@ -2901,8 +2901,8 @@ packages:
'@marijn/[email protected]':
resolution: {integrity: sha512-l0h88YhZFyKdXIFNfSWpyjStDjGHwZ/U7iobcK1cQQD8sejsONdQtTVU+1wVN1PBw40PiiHB1vA5S7VTfQiP9g==}
- '@modelcontextprotocol/[email protected]':
- resolution: {integrity: sha512-sr6GbP+4edBwFndLbM60gf07z0FQ79gaExpnsjMGePXqFcSSb7t6iscpjk9DhFhwd+mTEQrzNafGP8/iGGFYaA==}
+ '@modelcontextprotocol/[email protected]':
+ resolution: {integrity: sha512-gmloF+i+flI8ouQK7MWW4mOwuMh4RePBuPFAEPC6+pdqyWOUMDOixb6qZ69owLJpz6XmyllCouc4t8YWO+E2Nw==}
engines: {node: '>=18'}
peerDependencies:
'@cfworker/json-schema': ^4.1.1
@@ -4590,139 +4590,277 @@ packages:
cpu: [arm]
os: [android]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-d6FinEBLdIiK+1uACUttJKfgZREXrF0Qc2SmLII7W2AD8FfiZ9Wjd+rD/iRuf5s5dWrr1GgwXCvPqOuDquOowA==}
+ cpu: [arm]
+ os: [android]
+
'@rollup/[email protected]':
resolution: {integrity: sha512-u6JHLll5QKRvjciE78bQXDmqRqNs5M/3GVqZeMwvmjaNODJih/WIrJlFVEihvV0MiYFmd+ZyPr9wxOVbPAG2Iw==}
cpu: [arm64]
os: [android]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-YjG/EwIDvvYI1YvYbHvDz/BYHtkY4ygUIXHnTdLhG+hKIQFBiosfWiACWortsKPKU/+dUwQQCKQM3qrDe8c9BA==}
+ cpu: [arm64]
+ os: [android]
+
'@rollup/[email protected]':
resolution: {integrity: sha512-qEF7CsKKzSRc20Ciu2Zw1wRrBz4g56F7r/vRwY430UPp/nt1x21Q/fpJ9N5l47WWvJlkNCPJz3QRVw008fi7yA==}
cpu: [arm64]
os: [darwin]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-mjCpF7GmkRtSJwon+Rq1N8+pI+8l7w5g9Z3vWj4T7abguC4Czwi3Yu/pFaLvA3TTeMVjnu3ctigusqWUfjZzvw==}
+ cpu: [arm64]
+ os: [darwin]
+
'@rollup/[email protected]':
resolution: {integrity: sha512-WADYozJ4QCnXCH4wPB+3FuGmDPoFseVCUrANmA5LWwGmC6FL14BWC7pcq+FstOZv3baGX65tZ378uT6WG8ynTw==}
cpu: [x64]
os: [darwin]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-haZ7hJ1JT4e9hqkoT9R/19XW2QKqjfJVv+i5AGg57S+nLk9lQnJ1F/eZloRO3o9Scy9CM3wQ9l+dkXtcBgN5Ew==}
+ cpu: [x64]
+ os: [darwin]
+
'@rollup/[email protected]':
resolution: {integrity: sha512-6b8wGHJlDrGeSE3aH5mGNHBjA0TTkxdoNHik5EkvPHCt351XnigA4pS7Wsj/Eo9Y8RBU6f35cjN9SYmCFBtzxw==}
cpu: [arm64]
os: [freebsd]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-czw90wpQq3ZsAVBlinZjAYTKduOjTywlG7fEeWKUA7oCmpA8xdTkxZZlwNJKWqILlq0wehoZcJYfBvOyhPTQ6w==}
+ cpu: [arm64]
+ os: [freebsd]
+
'@rollup/[email protected]':
resolution: {integrity: sha512-h25Ga0t4jaylMB8M/JKAyrvvfxGRjnPQIR8lnCayyzEjEOx2EJIlIiMbhpWxDRKGKF8jbNH01NnN663dH638mA==}
cpu: [x64]
os: [freebsd]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-KVB2rqsxTHuBtfOeySEyzEOB7ltlB/ux38iu2rBQzkjbwRVlkhAGIEDiiYnO2kFOkJp+Z7pUXKyrRRFuFUKt+g==}
+ cpu: [x64]
+ os: [freebsd]
+
'@rollup/[email protected]':
resolution: {integrity: sha512-RzeBwv0B3qtVBWtcuABtSuCzToo2IEAIQrcyB/b2zMvBWVbjo8bZDjACUpnaafaxhTw2W+imQbP2BD1usasK4g==}
cpu: [arm]
os: [linux]
libc: [glibc]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-L+34Qqil+v5uC0zEubW7uByo78WOCIrBvci69E7sFASRl0X7b/MB6Cqd1lky/CtcSVTydWa2WZwFuWexjS5o6g==}
+ cpu: [arm]
+ os: [linux]
+ libc: [glibc]
+
'@rollup/[email protected]':
resolution: {integrity: sha512-Sf7zusNI2CIU1HLzuu9Tc5YGAHEZs5Lu7N1ssJG4Tkw6e0MEsN7NdjUDDfGNHy2IU+ENyWT+L2obgWiguWibWQ==}
cpu: [arm]
os: [linux]
libc: [musl]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-n83O8rt4v34hgFzlkb1ycniJh7IR5RCIqt6mz1VRJD6pmhRi0CXdmfnLu9dIUS6buzh60IvACM842Ffb3xd6Gg==}
+ cpu: [arm]
+ os: [linux]
+ libc: [musl]
+
'@rollup/[email protected]':
resolution: {integrity: sha512-DX2x7CMcrJzsE91q7/O02IJQ5/aLkVtYFryqCjduJhUfGKG6yJV8hxaw8pZa93lLEpPTP/ohdN4wFz7yp/ry9A==}
cpu: [arm64]
os: [linux]
libc: [glibc]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-Nql7sTeAzhTAja3QXeAI48+/+GjBJ+QmAH13snn0AJSNL50JsDqotyudHyMbO2RbJkskbMbFJfIJKWA6R1LCJQ==}
+ cpu: [arm64]
+ os: [linux]
+ libc: [glibc]
+
'@rollup/[email protected]':
resolution: {integrity: sha512-09EL+yFVbJZlhcQfShpswwRZ0Rg+z/CsSELFCnPt3iK+iqwGsI4zht3secj5vLEs957QvFFXnzAT0FFPIxSrkQ==}
cpu: [arm64]
os: [linux]
libc: [musl]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-+pUymDhd0ys9GcKZPPWlFiZ67sTWV5UU6zOJat02M1+PiuSGDziyRuI/pPue3hoUwm2uGfxdL+trT6Z9rxnlMA==}
+ cpu: [arm64]
+ os: [linux]
+ libc: [musl]
+
'@rollup/[email protected]':
resolution: {integrity: sha512-i9IcCMPr3EXm8EQg5jnja0Zyc1iFxJjZWlb4wr7U2Wx/GrddOuEafxRdMPRYVaXjgbhvqalp6np07hN1w9kAKw==}
cpu: [loong64]
os: [linux]
libc: [glibc]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-VSvgvQeIcsEvY4bKDHEDWcpW4Yw7BtlKG1GUT4FzBUlEKQK0rWHYBqQt6Fm2taXS+1bXvJT6kICu5ZwqKCnvlQ==}
+ cpu: [loong64]
+ os: [linux]
+ libc: [glibc]
+
'@rollup/[email protected]':
resolution: {integrity: sha512-DGzdJK9kyJ+B78MCkWeGnpXJ91tK/iKA6HwHxF4TAlPIY7GXEvMe8hBFRgdrR9Ly4qebR/7gfUs9y2IoaVEyog==}
cpu: [loong64]
os: [linux]
libc: [musl]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-4LqhUomJqwe641gsPp6xLfhqWMbQV04KtPp7/dIp0nzPxAkNY1AbwL5W0MQpcalLYk07vaW9Kp1PBhdpZYYcEw==}
+ cpu: [loong64]
+ os: [linux]
+ libc: [musl]
+
'@rollup/[email protected]':
resolution: {integrity: sha512-RwpnLsqC8qbS8z1H1AxBA1H6qknR4YpPR9w2XX0vo2Sz10miu57PkNcnHVaZkbqyw/kUWfKMI73jhmfi9BRMUQ==}
cpu: [ppc64]
os: [linux]
libc: [glibc]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-tLQQ9aPvkBxOc/EUT6j3pyeMD6Hb8QF2BTBnCQWP/uu1lhc9AIrIjKnLYMEroIz/JvtGYgI9dF3AxHZNaEH0rw==}
+ cpu: [ppc64]
+ os: [linux]
+ libc: [glibc]
+
'@rollup/[email protected]':
resolution: {integrity: sha512-Z8pPf54Ly3aqtdWC3G4rFigZgNvd+qJlOE52fmko3KST9SoGfAdSRCwyoyG05q1HrrAblLbk1/PSIV+80/pxLg==}
cpu: [ppc64]
os: [linux]
libc: [musl]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-RMxFhJwc9fSXP6PqmAz4cbv3kAyvD1etJFjTx4ONqFP9DkTkXsAMU4v3Vyc5BgzC+anz7nS/9tp4obsKfqkDHg==}
+ cpu: [ppc64]
+ os: [linux]
+ libc: [musl]
+
'@rollup/[email protected]':
resolution: {integrity: sha512-3a3qQustp3COCGvnP4SvrMHnPQ9d1vzCakQVRTliaz8cIp/wULGjiGpbcqrkv0WrHTEp8bQD/B3HBjzujVWLOA==}
cpu: [riscv64]
os: [linux]
libc: [glibc]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-QKgFl+Yc1eEk6MmOBfRHYF6lTxiiiV3/z/BRrbSiW2I7AFTXoBFvdMEyglohPj//2mZS4hDOqeB0H1ACh3sBbg==}
+ cpu: [riscv64]
+ os: [linux]
+ libc: [glibc]
+
'@rollup/[email protected]':
resolution: {integrity: sha512-pjZDsVH/1VsghMJ2/kAaxt6dL0psT6ZexQVrijczOf+PeP2BUqTHYejk3l6TlPRydggINOeNRhvpLa0AYpCWSQ==}
cpu: [riscv64]
os: [linux]
libc: [musl]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-RAjXjP/8c6ZtzatZcA1RaQr6O1TRhzC+adn8YZDnChliZHviqIjmvFwHcxi4JKPSDAt6Uhf/7vqcBzQJy0PDJg==}
+ cpu: [riscv64]
+ os: [linux]
+ libc: [musl]
+
'@rollup/[email protected]':
resolution: {integrity: sha512-3ObQs0BhvPgiUVZrN7gqCSvmFuMWvWvsjG5ayJ3Lraqv+2KhOsp+pUbigqbeWqueGIsnn+09HBw27rJ+gYK4VQ==}
cpu: [s390x]
os: [linux]
libc: [glibc]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-wcuocpaOlaL1COBYiA89O6yfjlp3RwKDeTIA0hM7OpmhR1Bjo9j31G1uQVpDlTvwxGn2nQs65fBFL5UFd76FcQ==}
+ cpu: [s390x]
+ os: [linux]
+ libc: [glibc]
+
'@rollup/[email protected]':
resolution: {integrity: sha512-EtylprDtQPdS5rXvAayrNDYoJhIz1/vzN2fEubo3yLE7tfAw+948dO0g4M0vkTVFhKojnF+n6C8bDNe+gDRdTg==}
cpu: [x64]
os: [linux]
libc: [glibc]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-77PpsFQUCOiZR9+LQEFg9GClyfkNXj1MP6wRnzYs0EeWbPcHs02AXu4xuUbM1zhwn3wqaizle3AEYg5aeoohhg==}
+ cpu: [x64]
+ os: [linux]
+ libc: [glibc]
+
'@rollup/[email protected]':
resolution: {integrity: sha512-k09oiRCi/bHU9UVFqD17r3eJR9bn03TyKraCrlz5ULFJGdJGi7VOmm9jl44vOJvRJ6P7WuBi/s2A97LxxHGIdw==}
cpu: [x64]
os: [linux]
libc: [musl]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-5cIATbk5vynAjqqmyBjlciMJl1+R/CwX9oLk/EyiFXDWd95KpHdrOJT//rnUl4cUcskrd0jCCw3wpZnhIHdD9w==}
+ cpu: [x64]
+ os: [linux]
+ libc: [musl]
+
'@rollup/[email protected]':
resolution: {integrity: sha512-1o/0/pIhozoSaDJoDcec+IVLbnRtQmHwPV730+AOD29lHEEo4F5BEUB24H0OBdhbBBDwIOSuf7vgg0Ywxdfiiw==}
cpu: [x64]
os: [openbsd]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-cl0w09WsCi17mcmWqqglez9Gk8isgeWvoUZ3WiJFYSR3zjBQc2J5/ihSjpl+VLjPqjQ/1hJRcqBfLjssREQILw==}
+ cpu: [x64]
+ os: [openbsd]
+
'@rollup/[email protected]':
resolution: {integrity: sha512-pESDkos/PDzYwtyzB5p/UoNU/8fJo68vcXM9ZW2V0kjYayj1KaaUfi1NmTUTUpMn4UhU4gTuK8gIaFO4UGuMbA==}
cpu: [arm64]
os: [openharmony]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-4Cv23ZrONRbNtbZa37mLSueXUCtN7MXccChtKpUnQNgF010rjrjfHx3QxkS2PI7LqGT5xXyYs1a7LbzAwT0iCA==}
+ cpu: [arm64]
+ os: [openharmony]
+
'@rollup/[email protected]':
resolution: {integrity: sha512-hj1wFStD7B1YBeYmvY+lWXZ7ey73YGPcViMShYikqKT1GtstIKQAtfUI6yrzPjAy/O7pO0VLXGmUVWXQMaYgTQ==}
cpu: [arm64]
os: [win32]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-i1okWYkA4FJICtr7KpYzFpRTHgy5jdDbZiWfvny21iIKky5YExiDXP+zbXzm3dUcFpkEeYNHgQ5fuG236JPq0g==}
+ cpu: [arm64]
+ os: [win32]
+
'@rollup/[email protected]':
resolution: {integrity: sha512-SyaIPFoxmUPlNDq5EHkTbiKzmSEmq/gOYFI/3HHJ8iS/v1mbugVa7dXUzcJGQfoytp9DJFLhHH4U3/eTy2Bq4w==}
cpu: [ia32]
os: [win32]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-u09m3CuwLzShA0EYKMNiFgcjjzwqtUMLmuCJLeZWjjOYA3IT2Di09KaxGBTP9xVztWyIWjVdsB2E9goMjZvTQg==}
+ cpu: [ia32]
+ os: [win32]
+
'@rollup/[email protected]':
resolution: {integrity: sha512-RdcryEfzZr+lAr5kRm2ucN9aVlCCa2QNq4hXelZxb8GG0NJSazq44Z3PCCc8wISRuCVnGs0lQJVX5Vp6fKA+IA==}
cpu: [x64]
os: [win32]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-k+600V9Zl1CM7eZxJgMyTUzmrmhB/0XZnF4pRypKAlAgxmedUA+1v9R+XOFv56W4SlHEzfeMtzujLJD22Uz5zg==}
+ cpu: [x64]
+ os: [win32]
+
'@rollup/[email protected]':
resolution: {integrity: sha512-PrsWNQ8BuE00O3Xsx3ALh2Df8fAj9+cvvX9AIA6o4KpATR98c9mud4XtDWVvsEuyia5U4tVSTKygawyJkjm60w==}
cpu: [x64]
os: [win32]
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-lWMnixq/QzxyhTV6NjQJ4SFo1J6PvOX8vUx5Wb4bBPsEb+8xZ89Bz6kOXpfXj9ak9AHTQVQzlgzBEc1SyM27xQ==}
+ cpu: [x64]
+ os: [win32]
+
resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==}
@@ -7882,8 +8020,8 @@ packages:
resolution: {integrity: sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==}
- resolution: {integrity: sha512-VJCEvtrezO1IAR+kqEYnxUOoStaQPGrCmX3j4wDTNOcD1uRPFpGlwQUIW8niPuvHXaTUxeOUl5MMDGrl+tmO9A==}
+ resolution: {integrity: sha512-wy3T8Zm2bsEvxKZM5w21VdHDDcwVS1yUFFY6i8UobSsKfFceT7TOwhbhfKsDyx7tYQlmRM5FLpIuYvNFyjctiA==}
engines: {node: '>=16.9.0'}
@@ -7952,10 +8090,6 @@ packages:
resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==}
engines: {node: '>=0.10.0'}
- resolution: {integrity: sha512-2Tth85cXwGFHfvRgZWszZSvdo+0Xsqmw8k8ZwxScfcBneNUraK+dxRxRm24nszx80Y0TVio8kKLt5sLE7ZCLlw==}
- engines: {node: '>=0.10.0'}
-
resolution: {integrity: sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==}
engines: {node: '>=0.10.0'}
@@ -8462,8 +8596,8 @@ packages:
resolution: {integrity: sha512-1vUQX+IdDMVPj4k8kOxgUqlcK518yluMuGZwqlr44FS1ppZB/5GWh4rZG89erpOBOJjU/OBsnCVFfapsRz6nEA==}
- resolution: {integrity: sha512-0TpaTfihd4QMNwrz/ob2Bp7X04yuxJkjRGi4aKmOqwhov54i6u79oCv7T+C7lo70MKH6BesI3vscD1yb/yzKXQ==}
+ resolution: {integrity: sha512-d7kPDd34KO/YnzaDOlikGpOurfF0ByC2sEV4cANCtdqLlTfBlw2p14O/5d/zv40gJPbIQxfES3nSx1/oYNyuZQ==}
resolution: {integrity: sha512-nbp/6jN2Ftxgw0VwoVnOg0m5qYM1rVcfvij+MZx99Z5IK13eGve9FJoCwGv+17JvVthTjhSmNtT5e1coJnr6aw==}
@@ -10329,6 +10463,11 @@ packages:
engines: {node: '>=18.0.0', npm: '>=8.0.0'}
hasBin: true
+ resolution: {integrity: sha512-VmtB2rFU/GroZ4oL8+ZqXgSA38O6GR8KSIvWmEFv63pQ0G6KaBH9s07PO8XTXP4vI+3UJUEypOfjkGfmSBBR0w==}
+ engines: {node: '>=18.0.0', npm: '>=8.0.0'}
+ hasBin: true
+
resolution: {integrity: sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==}
engines: {node: '>= 18'}
@@ -11540,8 +11679,8 @@ packages:
peerDependencies:
zod: 4.3.6
- resolution: {integrity: sha512-pM/SU9d3YAggzi6MtR4h7ruuQlqKtad8e9S0fmxcMi+ueAK5Korys/aWcV9LIIHTVbj01NdzxcnXSN+O74ZIVA==}
+ resolution: {integrity: sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA==}
peerDependencies:
zod: 4.3.6
@@ -13411,9 +13550,9 @@ snapshots:
dependencies:
react: 19.2.4
dependencies:
- hono: 4.12.8
+ hono: 4.12.9
dependencies:
@@ -14066,7 +14205,7 @@ snapshots:
react: 19.2.4
react-dom: 19.2.4([email protected])
dependencies:
'@langchain/core': 1.1.34(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected])
'@langchain/langgraph-checkpoint': 1.0.0(@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected]))
@@ -14075,12 +14214,12 @@ snapshots:
uuid: 10.0.0
zod: 4.3.6
optionalDependencies:
- zod-to-json-schema: 3.25.1([email protected])
+ zod-to-json-schema: 3.25.2([email protected])
transitivePeerDependencies:
- react
- react-dom
dependencies:
'@langchain/core': 1.1.34(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected])
'@langchain/langgraph-checkpoint': 1.0.0(@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected]))
@@ -14089,7 +14228,7 @@ snapshots:
uuid: 10.0.0
zod: 4.3.6
optionalDependencies:
- zod-to-json-schema: 3.25.1([email protected])
+ zod-to-json-schema: 3.25.2([email protected])
transitivePeerDependencies:
- react
- react-dom
@@ -14121,9 +14260,9 @@ snapshots:
'@marijn/[email protected]': {}
- '@modelcontextprotocol/[email protected](@cfworker/[email protected])([email protected])':
+ '@modelcontextprotocol/[email protected](@cfworker/[email protected])([email protected])':
dependencies:
- '@hono/node-server': 1.19.11([email protected])
+ '@hono/node-server': 1.19.12([email protected])
ajv: 8.18.0
ajv-formats: 3.0.1([email protected])
content-type: 1.0.5
@@ -14133,13 +14272,13 @@ snapshots:
eventsource-parser: 3.0.6
express: 5.2.1
express-rate-limit: 8.3.1([email protected])
- hono: 4.12.8
- jose: 6.1.3
+ hono: 4.12.9
+ jose: 6.2.2
json-schema-typed: 8.0.2
pkce-challenge: 5.0.1
raw-body: 3.0.2
zod: 4.3.6
- zod-to-json-schema: 3.25.1([email protected])
+ zod-to-json-schema: 3.25.2([email protected])
optionalDependencies:
'@cfworker/json-schema': 4.1.1
transitivePeerDependencies:
@@ -14309,7 +14448,7 @@ snapshots:
dependencies:
- next-auth: 4.24.13(patch_hash=7b301d2607ee3cd8bba4f6978ba8cdd7a616b59d6e414191da3b38950ce08e66)([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])
+ next-auth: 4.24.13(patch_hash=7b301d2607ee3cd8bba4f6978ba8cdd7a616b59d6e414191da3b38950ce08e66)([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])
'@next/[email protected]': {}
@@ -15934,78 +16073,153 @@ snapshots:
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rollup/[email protected]':
optional: true
+ '@rollup/[email protected]':
+ optional: true
+
'@rtsao/[email protected]': {}
'@selderee/[email protected]':
@@ -17965,7 +18179,7 @@ snapshots:
content-type: 1.0.5
debug: 4.4.3
http-errors: 2.0.1
- iconv-lite: 0.7.1
+ iconv-lite: 0.7.2
on-finished: 2.4.1
qs: 6.14.1
raw-body: 3.0.2
@@ -18976,7 +19190,7 @@ snapshots:
tinyglobby: 0.2.15
unrs-resolver: 1.11.1
optionalDependencies:
+ eslint-plugin-import: 2.32.0([email protected])([email protected]([email protected]))
transitivePeerDependencies:
- supports-color
@@ -19782,7 +19996,7 @@ snapshots:
react-is: 16.13.1
optional: true
dependencies:
@@ -19870,10 +20084,6 @@ snapshots:
dependencies:
safer-buffer: 2.1.2
- dependencies:
- safer-buffer: 2.1.2
-
dependencies:
safer-buffer: 2.1.2
@@ -20601,7 +20811,7 @@ snapshots:
optionalDependencies:
@@ -20759,10 +20969,10 @@ snapshots:
dependencies:
'@langchain/core': 1.1.34(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected])
'@langchain/langgraph-checkpoint': 1.0.0(@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected]))
langsmith: 0.4.12(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))
uuid: 10.0.0
@@ -20776,10 +20986,10 @@ snapshots:
- react-dom
- zod-to-json-schema
dependencies:
'@langchain/core': 1.1.34(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected])
'@langchain/langgraph-checkpoint': 1.0.0(@langchain/[email protected](@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))([email protected]))
langsmith: 0.4.12(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected]([email protected])([email protected]))
uuid: 10.0.0
@@ -20801,9 +21011,9 @@ snapshots:
dependencies:
mustache: 4.2.0
dependencies:
langfuse: 3.38.6
langfuse-core: 3.38.6
@@ -21653,7 +21863,7 @@ snapshots:
dependencies:
type-fest: 2.19.0
dependencies:
'@babel/runtime': 7.28.4
'@panva/hkdf': 1.2.1
@@ -22803,6 +23013,37 @@ snapshots:
'@rollup/rollup-win32-x64-msvc': 4.60.0
fsevents: 2.3.3
+ dependencies:
+ '@types/estree': 1.0.8
+ optionalDependencies:
+ '@rollup/rollup-android-arm-eabi': 4.60.1
+ '@rollup/rollup-android-arm64': 4.60.1
+ '@rollup/rollup-darwin-arm64': 4.60.1
+ '@rollup/rollup-darwin-x64': 4.60.1
+ '@rollup/rollup-freebsd-arm64': 4.60.1
+ '@rollup/rollup-freebsd-x64': 4.60.1
+ '@rollup/rollup-linux-arm-gnueabihf': 4.60.1
+ '@rollup/rollup-linux-arm-musleabihf': 4.60.1
+ '@rollup/rollup-linux-arm64-gnu': 4.60.1
+ '@rollup/rollup-linux-arm64-musl': 4.60.1
+ '@rollup/rollup-linux-loong64-gnu': 4.60.1
+ '@rollup/rollup-linux-loong64-musl': 4.60.1
+ '@rollup/rollup-linux-ppc64-gnu': 4.60.1
+ '@rollup/rollup-linux-ppc64-musl': 4.60.1
+ '@rollup/rollup-linux-riscv64-gnu': 4.60.1
+ '@rollup/rollup-linux-riscv64-musl': 4.60.1
+ '@rollup/rollup-linux-s390x-gnu': 4.60.1
+ '@rollup/rollup-linux-x64-gnu': 4.60.1
+ '@rollup/rollup-linux-x64-musl': 4.60.1
+ '@rollup/rollup-openbsd-x64': 4.60.1
+ '@rollup/rollup-openharmony-arm64': 4.60.1
+ '@rollup/rollup-win32-arm64-msvc': 4.60.1
+ '@rollup/rollup-win32-ia32-msvc': 4.60.1
+ '@rollup/rollup-win32-x64-gnu': 4.60.1
+ '@rollup/rollup-win32-x64-msvc': 4.60.1
+ fsevents: 2.3.3
+
dependencies:
debug: 4.4.3
@@ -23822,7 +24063,7 @@ snapshots:
fdir: 6.5.0([email protected])
picomatch: 4.0.4
postcss: 8.5.8
- rollup: 4.60.0
+ rollup: 4.60.1
tinyglobby: 0.2.15
optionalDependencies:
'@types/node': 24.3.0
@@ -24101,7 +24342,7 @@ snapshots:
dependencies:
zod: 4.3.6
dependencies:
zod: 4.3.6
diff --git a/web/package.json b/web/package.json
index 0ea95b5c77..3c734cddda 100644
--- a/web/package.json
+++ b/web/package.json
@@ -47,7 +47,7 @@
"@langfuse/ee": "workspace:*",
"@langfuse/shared": "workspace:*",
"@lezer/highlight": "^1.2.3",
- "@modelcontextprotocol/sdk": "1.27.1",
+ "@modelcontextprotocol/sdk": "1.28.0",
"@mui/material": "^7.3.1",
"@mui/x-tree-view": "^8.17.0",
"@next-auth/prisma-adapter": "^1.0.7",
diff --git a/web/src/features/mcp/server/security.ts b/web/src/features/mcp/server/security.ts
new file mode 100644
index 0000000000..91bb34694e
--- /dev/null
+++ b/web/src/features/mcp/server/security.ts
@@ -0,0 +1,92 @@
+import { env } from "@/src/env.mjs";
+import { ForbiddenError } from "@langfuse/shared";
+import { type NextApiRequest, type NextApiResponse } from "next";
+
+const LOCALHOST_HOSTNAMES = ["localhost", "127.0.0.1", "[::1]"] as const;
+const LOCALHOST_HOST_PATTERN = /^(localhost|127\.0\.0\.1|\[::1\])(?::|\/|$)/i;
+
+function getAllowedMcpOriginsAndHostnames() {
+ const rawBaseUrl = env.NEXTAUTH_URL;
+ const baseUrl = new URL(
+ /^https?:\/\//i.test(rawBaseUrl)
+ ? rawBaseUrl
+ : `${LOCALHOST_HOST_PATTERN.test(rawBaseUrl) ? "http" : "https"}://${rawBaseUrl}`,
+ );
+ const allowedHostnames = new Set([baseUrl.hostname.toLowerCase()]);
+ const allowedOrigins = new Set([baseUrl.origin.toLowerCase()]);
+
+ if (env.NODE_ENV !== "production") {
+ const localPort =
+ baseUrl.port ||
+ process.env.PORT ||
+ (baseUrl.protocol === "https:" ? "443" : "80");
+
+ for (const hostname of LOCALHOST_HOSTNAMES) {
+ allowedHostnames.add(hostname.toLowerCase());
+ allowedOrigins.add(`http://${hostname}:${localPort}`);
+ allowedOrigins.add(`https://${hostname}:${localPort}`);
+ }
+ }
+
+ return { allowedHostnames, allowedOrigins };
+}
+
+export function validateMcpRequestSecurity(req: NextApiRequest): string | null {
+ const { allowedHostnames, allowedOrigins } =
+ getAllowedMcpOriginsAndHostnames();
+
+ const hostHeader = Array.isArray(req.headers.host)
+ ? req.headers.host[0]
+ : req.headers.host;
+ if (!hostHeader) {
+ throw new ForbiddenError("Missing Host header");
+ }
+
+ let hostname: string;
+ try {
+ hostname = new URL(`http://${hostHeader}`).hostname.toLowerCase();
+ } catch {
+ throw new ForbiddenError(`Invalid Host header: ${hostHeader}`);
+ }
+
+ if (!allowedHostnames.has(hostname)) {
+ throw new ForbiddenError(`Invalid Host header: ${hostHeader}`);
+ }
+
+ const originHeader = Array.isArray(req.headers.origin)
+ ? req.headers.origin[0]
+ : req.headers.origin;
+ if (!originHeader) {
+ return null;
+ }
+
+ let origin: string;
+ try {
+ origin = new URL(originHeader).origin.toLowerCase();
+ } catch {
+ throw new ForbiddenError(`Invalid Origin header: ${originHeader}`);
+ }
+
+ if (!allowedOrigins.has(origin)) {
+ throw new ForbiddenError(`Invalid Origin header: ${originHeader}`);
+ }
+
+ return origin;
+}
+
+export function applyMcpCorsHeaders(
+ res: NextApiResponse,
+ allowedOrigin: string | null,
+): void {
+ if (allowedOrigin) {
+ res.setHeader("Access-Control-Allow-Origin", allowedOrigin);
+ res.setHeader("Vary", "Origin");
+ }
+
+ res.setHeader("Access-Control-Allow-Methods", "GET, POST, DELETE, OPTIONS");
+ res.setHeader(
+ "Access-Control-Allow-Headers",
+ "Content-Type, Authorization, Accept, Mcp-Session-Id, Last-Event-ID",
+ );
+ res.setHeader("Access-Control-Expose-Headers", "Mcp-Session-Id");
+}
diff --git a/web/src/features/mcp/server/transport.ts b/web/src/features/mcp/server/transport.ts
index a2c0d31e37..22763f0807 100644
--- a/web/src/features/mcp/server/transport.ts
+++ b/web/src/features/mcp/server/transport.ts
@@ -16,7 +16,7 @@ import { logger } from "@langfuse/shared/src/server";
* Handle MCP request using Streamable HTTP transport.
*
* This function:
- * 1. Sets CORS headers for MCP clients
+ * 1. Validates request headers
* 2. Creates a StreamableHTTPServerTransport (stateless mode)
* 3. Connects the server to the transport
* 4. Routes the request to the transport handler
@@ -38,7 +38,7 @@ export async function handleMcpRequest(
res: NextApiResponse,
): Promise<void> {
try {
- // Note: CORS headers and OPTIONS handling are now in index.ts (before authentication)
+ // Note: request validation, CORS headers, and OPTIONS handling happen in index.ts
// Validate Accept header for POST requests (per spec)
if (req.method === "POST") {
@@ -65,7 +65,6 @@ export async function handleMcpRequest(
const transport = new StreamableHTTPServerTransport({
sessionIdGenerator: undefined, // Stateless mode
enableJsonResponse: true, // Use JSON response (simpler for stateless mode)
- enableDnsRebindingProtection: true, // CVE-2025-66414: Protect against DNS rebinding attacks
});
try {
diff --git a/web/src/pages/api/public/mcp/index.ts b/web/src/pages/api/public/mcp/index.ts
index 819414301d..7c89145c13 100644
--- a/web/src/pages/api/public/mcp/index.ts
+++ b/web/src/pages/api/public/mcp/index.ts
@@ -17,7 +17,7 @@
*
* Note: This endpoint does NOT use withMiddlewares() like other public APIs because
* the transport layer needs direct response control for both JSON and SSE responses.
- * Error handling and CORS are implemented directly in the transport layer.
+ * Error handling, header validation, and CORS are implemented in this route layer.
*
* Authentication: BasicAuth (Public Key:Secret Key) - LF-1927
* Resources: Added in LF-1928
@@ -27,6 +27,10 @@
import { type NextApiRequest, type NextApiResponse } from "next";
import { createMcpServer } from "@/src/features/mcp/server/mcpServer";
import { handleMcpRequest } from "@/src/features/mcp/server/transport";
+import {
+ applyMcpCorsHeaders,
+ validateMcpRequestSecurity,
+} from "@/src/features/mcp/server/security";
import { formatErrorForUser } from "@/src/features/mcp/core/error-formatting";
import { type ServerContext } from "@/src/features/mcp/types";
import { logger, redis } from "@langfuse/shared/src/server";
@@ -46,13 +50,14 @@ import "@/src/features/mcp/server/bootstrap";
* Handles MCP protocol requests using Streamable HTTP (SSE) transport.
*
* Request flow:
- * 1. Authenticate request using BasicAuth (Public Key:Secret Key)
- * 2. Check rate limits
- * 3. Extract ServerContext from authenticated API key
- * 4. Create fresh MCP server instance with context in closures
- * 5. Connect to SSE transport
- * 6. Handle MCP protocol communication
- * 7. Discard server instance after request
+ * 1. Validate Host/Origin headers and handle CORS
+ * 2. Authenticate request using BasicAuth (Public Key:Secret Key)
+ * 3. Check rate limits
+ * 4. Extract ServerContext from authenticated API key
+ * 5. Create fresh MCP server instance with context in closures
+ * 6. Connect to SSE transport
+ * 7. Handle MCP protocol communication
+ * 8. Discard server instance after request
*
* @param req - Next.js API request
* @param res - Next.js API response
@@ -62,16 +67,10 @@ export default async function handler(
res: NextApiResponse,
) {
try {
- // CORS headers for MCP clients (must be set before authentication)
- res.setHeader("Access-Control-Allow-Origin", "*");
- res.setHeader("Access-Control-Allow-Methods", "GET, POST, DELETE, OPTIONS");
- res.setHeader(
- "Access-Control-Allow-Headers",
- "Content-Type, Authorization, Accept, Mcp-Session-Id, Last-Event-ID",
- );
- res.setHeader("Access-Control-Expose-Headers", "Mcp-Session-Id");
-
- // Handle preflight OPTIONS request (before authentication)
+ const allowedOrigin = validateMcpRequestSecurity(req);
+ applyMcpCorsHeaders(res, allowedOrigin);
+
+ // Handle preflight OPTIONS request after request validation
if (req.method === "OPTIONS") {
res.status(200).end();
return;