We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/systeminit/si'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
check-modules.cy.ts•861 B
// @ts-check
///<reference path="../global.d.ts"/>
describe('module_index', () => {
it('more_than_40_modules', () => {
cy.request('https://module-index.systeminit.com/builtins').then((response) => {
// Ensure that the response status is 200
expect(response.status).to.eq(200);
// Parse the response body as JSON
const responseBody = response.body;
// Ensure that the response body contains a 'modules' property
expect(responseBody).to.have.property('modules');
// Get the number of modules
const numberOfModules = responseBody.modules.length;
// Log the number of modules
cy.log(`Number of modules found to be: ${numberOfModules}`);
// Ensure that there are at least 50 modules
expect(numberOfModules).to.be.at.least(40);
});
});
});