Skip to content

Conversation

@Luke-Sanderson
Copy link
Collaborator

@Luke-Sanderson Luke-Sanderson commented Sep 11, 2025

Proposed changes

Ticket: [MCP-156] [mongodb-mcp-server] Implement createLocalAtlasCluster tool

  • Add createLocalAtlasCluster tool
  • Add integration tests for this new tool

Checklist

@Luke-Sanderson Luke-Sanderson requested a review from a team as a code owner September 11, 2025 11:32
@Luke-Sanderson Luke-Sanderson changed the base branch from main to feat-MCP-40 September 11, 2025 11:32
@Luke-Sanderson
Copy link
Collaborator Author

Test fails due to Windows gh runner. Will be addressed in [MCP-187]
Split Atlas Local tests from Atlas Tests

// Create the deployment
await client.createDeployment(deploymentOptions);

if (deploymentName) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't await client.createDeployment(deploymentOptions); return the name of the deployment?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to return deployment and extracted the name

describe("atlas-local-create-deployment", () => {
let deploymentNamesToCleanup: string[] = [];

afterEach(async () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need to run this on isMacOSInGitHubActions, can we skip it here too?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see a way to do the skipIf(isMacOSInGitHubActions) or similar for an afterEach. This leaves adding something like this in the afterEach function:

if (isMacOSInGitHubActions) {
    return;
}

But since the deploymentToCleanup array will always be empty it will be the same execution time

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to not skip it then!

@Luke-Sanderson Luke-Sanderson merged commit e774083 into feat-MCP-40 Sep 12, 2025
7 of 10 checks passed
@Luke-Sanderson Luke-Sanderson deleted the MCP-156 branch September 12, 2025 13:27
@Luke-Sanderson Luke-Sanderson mentioned this pull request Oct 10, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants