Skip to main content
Glama
haasonsaas

Deep Code Reasoning MCP Server

by haasonsaas
basic.test.ts891 B
import { describe, it, expect } from '@jest/globals'; import { z } from 'zod'; describe('Deep Code Reasoning MCP Server', () => { it('should export valid tool schemas', () => { // Test that we can create valid Zod schemas const testSchema = z.object({ test: z.string(), }); const validData = { test: 'hello' }; const result = testSchema.safeParse(validData); expect(result.success).toBe(true); }); it('should handle environment variables', () => { // Test environment variable handling const originalEnv = process.env.GEMINI_API_KEY; // Test with API key set process.env.GEMINI_API_KEY = 'test-key'; expect(process.env.GEMINI_API_KEY).toBe('test-key'); // Restore original if (originalEnv) { process.env.GEMINI_API_KEY = originalEnv; } else { delete process.env.GEMINI_API_KEY; } }); });

Latest Blog Posts

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/haasonsaas/deep-code-reasoning-mcp'

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