Skip to content

chore: bump mcp SDK, refactor tool arguments #806

chore: bump mcp SDK, refactor tool arguments

chore: bump mcp SDK, refactor tool arguments #806

Triggered via pull request December 3, 2025 22:10
@gagikgagik
synchronize #779
gagik/bump-sdk
Status Failure
Total duration 4m 8s
Artifacts 5

code-health.yml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 26s
Run Atlas tests
Run Atlas Local tests
3m 2s
Run Atlas Local tests
Run git secrets
1m 1s
Run git secrets
Report Coverage
29s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

37 errors and 2 warnings
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'maxDocumentsPerQuery' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key maxDocumentsPerQuery is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'maxBytesPerQuery' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key maxBytesPerQuery is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'httpPort' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key httpPort is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'transport' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key transport is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'apiClientSecret' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key apiClientSecret is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'apiClientId' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key apiClientId is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'apiBaseUrl' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key apiBaseUrl is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > override behavior > should not be able tooverride connectionString with header: tests/integration/transports/configOverrides.test.ts#L115
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key connectionString is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:115:39
tests/unit/toolBase.test.ts > ToolBase > resolveTelemetryMetadata > should include custom telemetry metadata: src/tools/tool.ts#L481
TypeError: server.mcpServer.registerTool is not a function ❯ TestTool.register src/tools/tool.ts:481:34 ❯ tests/unit/toolBase.test.ts:148:22
tests/unit/toolBase.test.ts > ToolBase > resolveTelemetryMetadata > should return empty metadata by default: src/tools/tool.ts#L481
TypeError: server.mcpServer.registerTool is not a function ❯ TestTool.register src/tools/tool.ts:481:34 ❯ tests/unit/toolBase.test.ts:148:22
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'maxDocumentsPerQuery' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key maxDocumentsPerQuery is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'maxBytesPerQuery' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key maxBytesPerQuery is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'httpPort' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key httpPort is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'transport' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key transport is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'apiClientSecret' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key apiClientSecret is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'apiClientId' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key apiClientId is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'apiBaseUrl' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key apiBaseUrl is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > override behavior > should not be able tooverride connectionString with header: tests/integration/transports/configOverrides.test.ts#L115
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key connectionString is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:115:39
tests/unit/toolBase.test.ts > ToolBase > resolveTelemetryMetadata > should include custom telemetry metadata: src/tools/tool.ts#L481
TypeError: server.mcpServer.registerTool is not a function ❯ TestTool.register src/tools/tool.ts:481:34 ❯ tests/unit/toolBase.test.ts:148:22
tests/unit/toolBase.test.ts > ToolBase > resolveTelemetryMetadata > should return empty metadata by default: src/tools/tool.ts#L481
TypeError: server.mcpServer.registerTool is not a function ❯ TestTool.register src/tools/tool.ts:481:34 ❯ tests/unit/toolBase.test.ts:148:22
Run Atlas Local tests
Process completed with exit code 1.
tests/integration/tools/atlas-local/listDeployments.test.ts > atlas-local-list-deployments > should not crash when calling the tool: tests/integration/tools/atlas-local/listDeployments.test.ts#L30
AssertionError: expected 'Error running atlas-local-list-deploy…' to contain 'No deployments found.' Expected: "No deployments found." Received: "Error running atlas-local-list-deployments: client.listDeployments is not a function" ❯ tests/integration/tools/atlas-local/listDeployments.test.ts:30:39
tests/integration/tools/atlas-local/deleteDeployment.test.ts > atlas-local-delete-deployment > should delete a deployment when calling the tool: tests/integration/tools/atlas-local/deleteDeployment.test.ts#L50
AssertionError: expected '' to contain 'test-deployment-1764799925752' - Expected + Received - test-deployment-1764799925752 ❯ tests/integration/tools/atlas-local/deleteDeployment.test.ts:50:47
tests/integration/tools/atlas-local/createDeployment.test.ts > atlas-local-create-deployment > should create a deployment when name is not provided: tests/integration/tools/atlas-local/createDeployment.test.ts#L143
AssertionError: expected '' to contain 'local3540' - Expected + Received - local3540 ❯ tests/integration/tools/atlas-local/createDeployment.test.ts:143:41
tests/integration/tools/atlas-local/createDeployment.test.ts > atlas-local-create-deployment > should create a deployment with the correct name: tests/integration/tools/atlas-local/createDeployment.test.ts#L113
AssertionError: expected '' to contain 'test-deployment-1764799980791' - Expected + Received - test-deployment-1764799980791 ❯ tests/integration/tools/atlas-local/createDeployment.test.ts:113:41
tests/integration/tools/atlas-local/createDeployment.test.ts > atlas-local-create-deployment > should create a deployment when calling the tool: tests/integration/tools/atlas-local/createDeployment.test.ts#L64
AssertionError: expected [ { type: 'text', …(1) } ] to have a length of 2 but got 1 - Expected + Received - 2 + 1 ❯ tests/integration/tools/atlas-local/createDeployment.test.ts:64:31
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'maxDocumentsPerQuery' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key maxDocumentsPerQuery is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'maxBytesPerQuery' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key maxBytesPerQuery is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'httpPort' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key httpPort is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'transport' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key transport is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'apiClientSecret' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key apiClientSecret is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'apiClientId' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key apiClientId is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'apiBaseUrl' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key apiBaseUrl is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > override behavior > should not be able tooverride connectionString with header: tests/integration/transports/configOverrides.test.ts#L115
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key connectionString is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:115:39
tests/unit/toolBase.test.ts > ToolBase > resolveTelemetryMetadata > should include custom telemetry metadata: src/tools/tool.ts#L481
TypeError: server.mcpServer.registerTool is not a function ❯ TestTool.register src/tools/tool.ts:481:34 ❯ tests/unit/toolBase.test.ts:148:22
tests/unit/toolBase.test.ts > ToolBase > resolveTelemetryMetadata > should return empty metadata by default: src/tools/tool.ts#L481
TypeError: server.mcpServer.registerTool is not a function ❯ TestTool.register src/tools/tool.ts:481:34 ❯ tests/unit/toolBase.test.ts:148:22
Report Coverage
Unable to download artifact(s): Artifact not found for name: test-results Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact. For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md
Run Atlas Local tests
No files were found with the provided path: coverage/lcov.info. No artifacts will be uploaded.
Run MongoDB tests (ubuntu-latest)
No files were found with the provided path: coverage/lcov.info. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size Digest
atlas-test-results
20.5 KB
sha256:7e906b8331fd03be7463335315d41ce1e4f5f60db51bfd4c52cd7f77155d8c60
run-atlas-local-tests-permissions-b271142515a50475e372eb46b069113a
140 Bytes
sha256:1ad51251b8e7460dc9ec24eb640dda30f16016779f494a1eaeddb325368b499b
run-atlas-tests-permissions-e873f8dd07a57b73381bd6a6e0cf8ff4
140 Bytes
sha256:2b725303b7e713b26c058e1695fcea4a2c8b78d509700dfd7aa5f39f515b7068
run-git-secrets-permissions-3e545b75c16f9bacbeac48b8c81f31ea
140 Bytes
sha256:a19d68eb704cd8f3e942c526e9c375a678dc81a513d3331e4064b9ee8c1e616f
run-tests-permissions-7f4a965059bacc438d6465fb6f406dc0
140 Bytes
sha256:105e33bfd27d5ea9486b2439e840769801861c4bec0f0f88d2c7d3b4bf6c207f