Skip to main content
Glama
types.ts860 B
/** * Types for docs.rs integration */ export interface CrateInfo { name: string; version: string; description?: string; } export interface CrateSearchResult { crates: CrateInfo[]; totalCount: number; } export interface RustType { name: string; kind: | "struct" | "enum" | "trait" | "function" | "macro" | "type" | "module" | "other"; path: string; description?: string; sourceUrl?: string; documentationUrl: string; } export interface FeatureFlag { name: string; description?: string; enabled: boolean; } export interface CrateVersion { version: string; isYanked: boolean; releaseDate?: string; } export interface SymbolDefinition { name: string; kind: string; path: string; sourceCode?: string; documentationHtml?: string; } export interface SearchOptions { query: string; page?: number; perPage?: number; }

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/laptou/rust-docs-mcp-server'

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