Skip to main content
Glama

GitMCP

schema.ts615 B
// Message role enum type export enum MessageRole { USER = "user", ASSISTANT = "assistant", TOOL = "tool", } // Types for structured message content export type MessagePart = { type: string; text?: string; toolCallId?: string; toolName?: string; args?: any; result?: any; [key: string]: any; }; export type Attachment = { type: string; [key: string]: any; }; export type Chat = { id: string; userId: string; title: string; createdAt: Date; updatedAt: Date; }; export type Message = { id: string; chatId: string; role: string; parts: MessagePart[]; createdAt: Date; };

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/idosal/git-mcp'

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