We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/debugg-ai/debugg-ai-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
/**
* Mock configuration for testing
*/
import { Config } from '../../config/index.js';
export const createMockConfig = (overrides: Partial<Config> = {}): Config => {
return {
server: {
name: 'DebuggAI MCP Server',
version: '0.1.1',
},
api: {
key: 'test-api-key-for-testing',
baseUrl: undefined,
},
auth: {
testUsername: 'test@example.com',
testPassword: 'test-password',
},
defaults: {
localPort: 3000,
repoName: 'test-repo',
branchName: 'test-branch',
repoPath: '/test/repo/path',
filePath: '/test/file/path',
},
logging: {
level: 'error',
format: 'simple',
},
...overrides,
};
};
export const mockValidConfig = createMockConfig();
export const mockConfigWithApiKey = createMockConfig({
api: {
key: 'valid-api-key-12345',
},
});