We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mongodb-js/mongodb-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { defaultTestConfig, setupIntegrationTest, type IntegrationTest } from "../../helpers.js";
import { describe } from "vitest";
const isMacOSInGitHubActions = process.platform === "darwin" && process.env.GITHUB_ACTIONS === "true";
export type IntegrationTestFunction = (integration: IntegrationTest) => void;
/**
* Helper function to setup integration tests for Atlas Local tools.
* Automatically skips tests on macOS in GitHub Actions where Docker is not available.
*/
export function describeWithAtlasLocal(name: string, fn: IntegrationTestFunction): void {
describe.skipIf(isMacOSInGitHubActions)(name, () => {
const integration = setupIntegrationTest(() => defaultTestConfig);
fn(integration);
});
}
/**
* Helper function to describe tests that should only run on macOS in GitHub Actions.
* Used for testing that Atlas Local tools are properly disabled on unsupported platforms.
*/
export function describeWithAtlasLocalDisabled(name: string, fn: IntegrationTestFunction): void {
describe.skipIf(!isMacOSInGitHubActions)(name, () => {
const integration = setupIntegrationTest(() => defaultTestConfig);
fn(integration);
});
}