Skip to content

chore: bump mcp SDK, refactor tool arguments #807

chore: bump mcp SDK, refactor tool arguments

chore: bump mcp SDK, refactor tool arguments #807

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

code-health.yml

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

Annotations

39 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
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-1764799999914' - Expected + Received - test-deployment-1764799999914 ❯ tests/integration/tools/atlas-local/deleteDeployment.test.ts:50:47
tests/integration/tools/atlas-local/deleteDeployment.test.ts > atlas-local-delete-deployment > should return 'no such container' error when deployment to delete does not exist: tests/integration/tools/atlas-local/deleteDeployment.test.ts#L30
AssertionError: expected 'Cannot use \'in\' operator to search …' to contain 'The Atlas Local deployment "non-exist…' Expected: "The Atlas Local deployment "non-existent" was not found. Please check the deployment name or use "atlas-local-list-deployments" to see available deployments." Received: "Cannot use 'in' operator to search for 'deploymentName' in undefined" ❯ tests/integration/tools/atlas-local/deleteDeployment.test.ts:30:35
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 'local9463' - Expected + Received - local9463 ❯ 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-1764800065757' - Expected + Received - test-deployment-1764800065757 ❯ 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/tools/atlas-local/connectDeployment.test.ts > atlas-local-connect-deployment > should return 'no such container' error when connecting to non-existent deployment: tests/integration/tools/atlas-local/connectDeployment.test.ts#L35
AssertionError: expected 'Cannot use \'in\' operator to search …' to contain 'The Atlas Local deployment "non-exist…' Expected: "The Atlas Local deployment "non-existent" was not found. Please check the deployment name or use "atlas-local-list-deployments" to see available deployments." Received: "Cannot use 'in' operator to search for 'deploymentName' in undefined" ❯ tests/integration/tools/atlas-local/connectDeployment.test.ts:35:35
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
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.6 KB
sha256:1b20b2d3b58978acf48b2c3385ebb1e4af0aad59f90598139c963cf1662f05ca
run-atlas-local-tests-permissions-ca5ad6e317a23fc1ea34b7942dfa964e
140 Bytes
sha256:5d4b87c958d8a9ec3b3b62f9148b8f616e91e22f1cc8780246fadc0b33c3a093
run-atlas-tests-permissions-56e536e605f3b65143064b3f5e853464
140 Bytes
sha256:a15118c2c8c0a475c9c8e454d7d7882c1f68e27a8511bdc7217a35b114c3022d
run-git-secrets-permissions-6e8118afbd9a82ce573d818929f6774c
140 Bytes
sha256:aa246dfccd34e6c5288aa2a2b8da2248f730a0f035fc2e3233f09b741b06634b
run-tests-permissions-fff490148a0cb4977b89634fd5c1f777
140 Bytes
sha256:99b4c90fcb700512baaea40b6b6bce8d8ce5b43eb5503c66be167bce760d41b5