Skip to content

chore: add developer guide and code examples to extend MCP server via library exports MCP-299 #776

chore: add developer guide and code examples to extend MCP server via library exports MCP-299

chore: add developer guide and code examples to extend MCP server via library exports MCP-299 #776

Triggered via pull request December 1, 2025 16:23
Status Failure
Total duration 5m 36s
Artifacts 6

code-health.yml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 35s
Run Atlas tests
Run Atlas Local tests
2m 52s
Run Atlas Local tests
Run git secrets
1m 21s
Run git secrets
Report Coverage
19s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
Run MongoDB tests (macos-latest)
Process completed with exit code 1.
tests/integration/build.test.ts > Build Test > should have matching exports between CommonJS and ESM tools modules: tests/integration/build.test.ts#L73
AssertionError: expected [ 'AggregateTool', 'AllTools', …(40) ] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - "MongoDbTools", - "AtlasTools", - "AtlasLocalTools", + [ + "AggregateTool", "AllTools", + "CollectionIndexesTool", + "CollectionSchemaTool", + "CollectionStorageSizeTool", + "ConnectClusterTool", + "ConnectDeploymentTool", + "ConnectTool", + "CountTool", + "CreateAccessListTool", + "CreateCollectionTool", + "CreateDBUserTool", + "CreateDeploymentTool", + "CreateFreeClusterTool", + "CreateIndexTool", + "CreateProjectTool", + "DbStatsTool", + "DeleteDeploymentTool", + "DeleteManyTool", + "DropCollectionTool", + "DropDatabaseTool", + "DropIndexTool", + "ExplainTool", + "ExportTool", + "FindTool", + "GetPerformanceAdvisorTool", + "InsertManyTool", + "InspectAccessListTool", + "InspectClusterTool", + "ListAlertsTool", + "ListClustersTool", + "ListCollectionsTool", + "ListDBUsersTool", + "ListDatabasesTool", + "ListDeploymentsTool", + "ListOrganizationsTool", + "ListProjectsTool", + "LogsTool", + "RenameCollectionTool", + "SwitchConnectionTool", + "ToolBase", + "UpdateManyTool", ] ❯ tests/integration/build.test.ts:73:25
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
tests/integration/build.test.ts > Build Test > should have matching exports between CommonJS and ESM tools modules: tests/integration/build.test.ts#L73
AssertionError: expected [ 'AggregateTool', 'AllTools', …(40) ] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - "MongoDbTools", - "AtlasTools", - "AtlasLocalTools", + [ + "AggregateTool", "AllTools", + "CollectionIndexesTool", + "CollectionSchemaTool", + "CollectionStorageSizeTool", + "ConnectClusterTool", + "ConnectDeploymentTool", + "ConnectTool", + "CountTool", + "CreateAccessListTool", + "CreateCollectionTool", + "CreateDBUserTool", + "CreateDeploymentTool", + "CreateFreeClusterTool", + "CreateIndexTool", + "CreateProjectTool", + "DbStatsTool", + "DeleteDeploymentTool", + "DeleteManyTool", + "DropCollectionTool", + "DropDatabaseTool", + "DropIndexTool", + "ExplainTool", + "ExportTool", + "FindTool", + "GetPerformanceAdvisorTool", + "InsertManyTool", + "InspectAccessListTool", + "InspectClusterTool", + "ListAlertsTool", + "ListClustersTool", + "ListCollectionsTool", + "ListDBUsersTool", + "ListDatabasesTool", + "ListDeploymentsTool", + "ListOrganizationsTool", + "ListProjectsTool", + "LogsTool", + "RenameCollectionTool", + "SwitchConnectionTool", + "ToolBase", + "UpdateManyTool", ] ❯ tests/integration/build.test.ts:73:25
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
tests/integration/build.test.ts > Build Test > should have matching exports between CommonJS and ESM tools modules: tests/integration/build.test.ts#L73
AssertionError: expected [ 'AggregateTool', 'AllTools', …(40) ] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - "MongoDbTools", - "AtlasTools", - "AtlasLocalTools", + [ + "AggregateTool", "AllTools", + "CollectionIndexesTool", + "CollectionSchemaTool", + "CollectionStorageSizeTool", + "ConnectClusterTool", + "ConnectDeploymentTool", + "ConnectTool", + "CountTool", + "CreateAccessListTool", + "CreateCollectionTool", + "CreateDBUserTool", + "CreateDeploymentTool", + "CreateFreeClusterTool", + "CreateIndexTool", + "CreateProjectTool", + "DbStatsTool", + "DeleteDeploymentTool", + "DeleteManyTool", + "DropCollectionTool", + "DropDatabaseTool", + "DropIndexTool", + "ExplainTool", + "ExportTool", + "FindTool", + "GetPerformanceAdvisorTool", + "InsertManyTool", + "InspectAccessListTool", + "InspectClusterTool", + "ListAlertsTool", + "ListClustersTool", + "ListCollectionsTool", + "ListDBUsersTool", + "ListDatabasesTool", + "ListDeploymentsTool", + "ListOrganizationsTool", + "ListProjectsTool", + "LogsTool", + "RenameCollectionTool", + "SwitchConnectionTool", + "ToolBase", + "UpdateManyTool", ] ❯ tests/integration/build.test.ts:73:25
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 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-local-test-results
18.7 KB
sha256:d5cd593560ef37a07a849ccf8e52a5152bd53b9cf982985043a42b64b0851c86
atlas-test-results
20.4 KB
sha256:ff65d1d1fa1a46f6cc6a35ff8f33b25fdffae9745b196496db515703ddf48fff
run-atlas-local-tests-permissions-93cca7ea700867eb20a5c7e56656ea02
140 Bytes
sha256:d197b6c813e8444a366d4cee55c79fbd90e65bbc253779428bad251d1ac8727c
run-atlas-tests-permissions-bce3505425f9354997061452be212495
140 Bytes
sha256:92d4406dc6392e9c277809dfaf0341584c0cabfe375e5080b31a54f3564dfbf1
run-git-secrets-permissions-0cb63d55be40b699f537c1b9b90dfaf1
140 Bytes
sha256:228058420782ef043c3e5506a2e2fcc9aaa6aa725c421ca06cc6f29f11b87b7e
run-tests-permissions-4fcc545a85403bfb51431068c8616f7c
140 Bytes
sha256:42284e9b469822013c9bcf252bec2c1b418e0fc5d6fe8c70e3329343b8cd1b98