Skip to main content
Glama
base.ts441 B
/** * Base interface for code chunkers */ import type { CodeChunk } from "../types.js"; export interface CodeChunker { /** * Split code into semantic chunks */ chunk(code: string, filePath: string, language: string): Promise<CodeChunk[]>; /** * Check if language is supported by this chunker */ supportsLanguage(language: string): boolean; /** * Get chunking strategy name */ getStrategyName(): string; }

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/mhalder/qdrant-mcp-server'

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