We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab3ccae commit 0817688Copy full SHA for 0817688
tests/integration/tools/mongodb/create/createIndex.test.ts
@@ -315,9 +315,7 @@ describeWithMongoDB(
315
it("fails to create a vector search index", async () => {
316
await integration.connectMcpClient();
317
const collection = new ObjectId().toString();
318
- await integration
319
- .mcpServer()
320
- .session.serviceProvider.createCollection(integration.randomDbName(), collection);
+ await integration.mongoClient().db(integration.randomDbName()).createCollection(collection);
321
322
const response = await integration.mcpClient().callTool({
323
name: "create-index",
0 commit comments