Skip to main content
Glama
blakeyoder

TypeScript Definitions MCP Server

by blakeyoder
types.ts1.5 kB
export interface TypeDefinition { name: string; kind: "interface" | "type" | "class" | "enum" | "function" | "variable"; file: string; line: number; definition: string; properties?: PropertyDefinition[]; methods?: MethodDefinition[]; extends?: string[]; implements?: string[]; generics?: string[]; jsDoc?: string; packageName?: string; } export interface PropertyDefinition { name: string; type: string; optional: boolean; readonly: boolean; jsDoc?: string; } export interface MethodDefinition { name: string; parameters: ParameterDefinition[]; returnType: string; optional: boolean; jsDoc?: string; } export interface ParameterDefinition { name: string; type: string; optional: boolean; defaultValue?: string; } export interface ValidationResult { valid: boolean; errors: ValidationError[]; warnings: ValidationWarning[]; } export interface ValidationError { message: string; line?: number; column?: number; code?: string; } export interface ValidationWarning { message: string; line?: number; column?: number; code?: string; } export interface ProjectConfig { rootPath: string; tsconfigPath?: string; includeNodeModules: boolean; includeDevDependencies: boolean; excludePatterns: string[]; cacheEnabled: boolean; maxCacheAge: number; // in milliseconds } export interface PackageInfo { name: string; version: string; path: string; hasTypes: boolean; typesPath?: string; mainTypes?: 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/blakeyoder/typescript-definitions-mcp'

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