We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/krtw00/search-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import type {CodeKeywordDefinition} from "../../types"
import type {KeywordCxt} from "../../compile/validate"
import {validateProperties, error} from "./properties"
const def: CodeKeywordDefinition = {
keyword: "optionalProperties",
schemaType: "object",
error,
code(cxt: KeywordCxt) {
if (cxt.parentSchema.properties) return
validateProperties(cxt)
},
}
export default def