Skip to main content
Glama

MCP Bridge Server

jest.config.js1.26 kB
/** @type {import('ts-jest').JestConfigWithTsJest} */ export default { preset: 'ts-jest/presets/js-with-ts-esm', // Try this preset testEnvironment: 'node', extensionsToTreatAsEsm: ['.ts'], moduleNameMapper: { '^(\\.{1,2}/.*)\\.js$': '$1', }, transformIgnorePatterns: [ '/node_modules/' // Ignore all node_modules ], transform: { '^.+\\.tsx?$': [ 'ts-jest', { useESM: true, tsconfig: 'tsconfig.test.json' // Explicitly use test config }, ], }, moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], testMatch: ['**/tests/**/*.test.ts'], collectCoverage: true, coverageDirectory: 'test-output/coverage', coverageReporters: ['text', 'lcov', 'json'], reporters: [ 'default', ['jest-junit', { outputDirectory: 'test-output', outputName: 'junit.xml', classNameTemplate: '{filepath}', titleTemplate: '{title}' }], ['./node_modules/jest-html-reporter', { pageTitle: 'MCP Bridge Server Test Report', outputPath: 'test-output/test-report.html', includeFailureMsg: true, includeSuiteFailure: true }] ], coveragePathIgnorePatterns: [ '/node_modules/', '/tests/', '/build/' ], verbose: true };

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/glassBead-tc/SubspaceDomain'

If you have feedback or need assistance with the MCP directory API, please join our Discord server