Skip to main content
Glama

SourceSage MCP

validation.ts445 B
import { GenerateStructureArgs } from '../types/types.js'; /** * GenerateStructureArgsの型チェックを行う */ export const isGenerateStructureArgs = (args: unknown): args is GenerateStructureArgs => { if (typeof args !== 'object' || args === null) return false; const obj = args as Record<string, unknown>; return typeof obj.path === 'string' && (obj.ignorePath === undefined || typeof obj.ignorePath === 'string'); };

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/Sunwood-ai-labs/source-sage-mcp-server'

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