Skip to main content
Glama

Deepwiki MCP Server

by regenrek
sanitizeSchema.ts576 B
import type { Options as SanitizeOptions } from 'rehype-sanitize' import { defaultSchema } from 'hast-util-sanitize' // Custom schema: drop img, script, style, header, footer, nav, ads export const sanitizeSchema: SanitizeOptions = { ...defaultSchema, tagNames: (defaultSchema.tagNames ?? []).filter( t => !['img', 'script', 'style', 'header', 'footer', 'nav'].includes(t), ), attributes: { ...defaultSchema.attributes, '*': (defaultSchema.attributes?.['*'] ?? []).filter( attr => !['style', 'onload', 'onclick'].includes(attr), ), }, }

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/regenrek/deepwiki-mcp'

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