Skip to main content
Glama
mwRestApiContentFormat.ts316 B
export enum ContentFormat { source = 'source', html = 'html', none = 'none' } export function getSubEndpoint( content: ContentFormat ): string { switch ( content ) { case ContentFormat.none: return '/bare'; case ContentFormat.source: return ''; case ContentFormat.html: return '/with_html'; } }

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/ProfessionalWiki/MediaWiki-MCP-Server'

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