Skip to main content
Glama

documcp

by tosin2013
jest.config.js1.75 kB
export default { preset: "ts-jest/presets/default-esm", testEnvironment: "node", roots: ["<rootDir>/tests"], testMatch: ["**/?(*.)+(spec|test).ts"], testPathIgnorePatterns: [ "<rootDir>/tests/memory/enhanced-manager.test.ts", "<rootDir>/tests/performance/memory-stress-testing.test.ts", "<rootDir>/tests/performance/memory-load-testing.test.ts", ], transform: { "^.+\\.ts$": [ "ts-jest", { useESM: true, tsconfig: { module: "esnext", target: "es2020", }, }, ], }, collectCoverageFrom: [ "src/**/*.ts", "!src/**/*.d.ts", "!src/index.ts", // Exclude low-coverage experimental memory system files "!src/memory/enhanced-manager.ts", "!src/memory/multi-agent-sharing.ts", "!src/memory/pruning.ts", "!src/memory/visualization.ts", "!src/memory/integration.ts", "!src/memory/index.ts", "!src/memory/contextual-retrieval.ts", "!src/memory/export-import.ts", "!src/memory/knowledge-graph.ts", "!src/memory/learning.ts", "!src/memory/temporal-analysis.ts", ], coverageThreshold: { global: { branches: 80, functions: 80, lines: 80, statements: 80, }, // Lower threshold for complex tools "./src/tools/recommend-ssg.ts": { statements: 60, branches: 60, functions: 60, lines: 60, }, // Lower threshold for storage layer with extensive error handling "./src/memory/kg-storage.ts": { branches: 45, statements: 80, functions: 85, lines: 80, }, }, extensionsToTreatAsEsm: [".ts"], moduleNameMapper: { "^(\\.{1,2}/.*)\\.js$": "$1", }, setupFilesAfterEnv: ["<rootDir>/tests/setup.ts"], };

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/tosin2013/documcp'

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