We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TheLunarCompany/lunar'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
export type Permission = "allow" | "block";
export interface PermissionsConfig {
default: ConsumerConfig;
consumers: Record<string, ConsumerConfig>;
}
export type ConsumerConfig =
| DefaultAllowConsumerConfig
| DefaultBlockConsumerConfig;
export interface DefaultAllowConsumerConfig {
_type?: "default-allow";
consumerGroupKey?: string; // e.g. "claude-desktop"
block: string[];
}
export interface DefaultBlockConsumerConfig {
_type?: "default-block";
consumerGroupKey?: string; // e.g. "claude-desktop"
allow: string[];
}
export interface ToolGroup {
name: string;
services: Record<string, ServiceToolGroup>;
}
export type ServiceToolGroup = string[] | "*";