Skip to main content
Glama
sample.ts540 B
// Sample TypeScript file for testing interface TestInterface { id: number; name: string; } export class TestClass { private data: TestInterface; constructor(data: TestInterface) { this.data = data; } public getData(): TestInterface { return this.data; } public updateName(newName: string): void { this.data.name = newName; } } export function helperFunction(input: string): string { return input.trim().toLowerCase(); } export const CONFIG = { apiUrl: 'https://api.example.com', timeout: 5000, };

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/myuon/refactor-mcp'

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