Skip to main content
Glama

AI Code Toolkit

by AgiFlow
TemplateService.ts348 B
import { vi } from 'vitest'; import type { ITemplateService } from '../../src/types/interfaces'; export const createMockTemplateService = (): ITemplateService => ({ render: vi.fn().mockResolvedValue('rendered content'), renderString: vi .fn() .mockImplementation((template: string) => template.replace(/\{\{(\w+)\}\}/g, 'value')), });

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/AgiFlow/aicode-toolkit'

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