Skip to main content
Glama

Learning Hour MCP

by SDiamante13
tech-stack-analysis.test.ts856 B
import { describe, it, expect, beforeEach } from 'vitest'; import { TechStackAnalyzer } from '../src/TechStackAnalyzer'; import { GitHubMCPClient } from '../src/GitHubMCPClient'; describe('Technology Stack Adaptation', () => { let analyzer: TechStackAnalyzer; let mockGitHubClient: GitHubMCPClient; beforeEach(() => { mockGitHubClient = new GitHubMCPClient(); analyzer = new TechStackAnalyzer(mockGitHubClient); }); it('should validate repository URL format', async () => { await expect( analyzer.analyzeTechStack('invalid-url') ).rejects.toThrow('Invalid GitHub URL format'); }); it('should throw error when GitHub client not connected', async () => { await expect( analyzer.analyzeTechStack('https://github.com/test/node-express-app') ).rejects.toThrow('GitHub integration not configured'); }); });

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/SDiamante13/learning-hour-mcp'

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