Skip to main content
Glama

XC-MCP: XCode CLI wrapper

by conorluddy
jest.config.js969 B
/** @type {import('jest').Config} */ export default { preset: 'ts-jest/presets/default-esm', extensionsToTreatAsEsm: ['.ts'], testEnvironment: 'node', roots: ['<rootDir>/src', '<rootDir>/tests'], testMatch: [ '**/__tests__/**/*.test.ts', '**/?(*.)+(spec|test).ts' ], transform: { '^.+\\.ts$': ['ts-jest', { useESM: true, }], }, moduleNameMapper: { '^(\\.{1,2}/.*)\\.js$': '$1', '^@modelcontextprotocol/sdk/types.js$': '<rootDir>/tests/mocks/mcp-types.ts', }, transformIgnorePatterns: [ 'node_modules/(?!(@modelcontextprotocol)/)', ], collectCoverageFrom: [ 'src/**/*.ts', '!src/**/*.d.ts', '!src/index.ts', ], coverageDirectory: 'coverage', coverageReporters: ['text', 'lcov', 'html'], coverageThreshold: { global: { branches: 35, functions: 60, lines: 45, statements: 45, }, }, setupFilesAfterEnv: ['<rootDir>/tests/setup.ts'], testTimeout: 10000, };

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/conorluddy/xc-mcp'

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